What is your Scenario?
Fresh install of testcafe 1.18.6
trying to run a simple test with npx testcafe
fixture`Getting Started`.page`https://devexpress.github.io/testcafe/example`;
test('My first test', async t => {
console.log('all good')
});
What is the Current behavior?
% npx testcafe
ERROR TypeError: details.family.toLowerCase is not a function
at /Users/dominykasverkauskas/src/hello/node_modules/ip/lib/ip.js:385:39
at Array.filter (<anonymous>)
at /Users/dominykasverkauskas/src/hello/node_modules/ip/lib/ip.js:384:37
at Array.map (<anonymous>)
at ip.address (/Users/dominykasverkauskas/src/hello/node_modules/ip/lib/ip.js:379:37)
at Proxy.getIPAddress (/Users/dominykasverkauskas/Shopify/hello/node_modules/endpoint-utils/index.js:109:15)
at getValidHostname (/Users/dominykasverkauskas/hello/node_modules/testcafe/lib/index.js:26:34)
at Object.createTestCafe [as default] (/Users/dominykasverkauskas/src/github.com/node_modules/testcafe/lib/index.js:71:9)
at async runTests (/Users/dominykasverkauskas/src/hello/node_modules/testcafe/lib/cli/cli.js:63:22)
at async cli (/Users/dominykasverkauskas/src/hello/node_modules/testcafe/lib/cli/cli.js:136:13)
Type "testcafe -h" for help.
What is the Expected behavior?
To start running the test
What is your public website URL? (or attach your complete example)
https://devexpress.github.io/testcafe/example
What is your TestCafe test code?
spec file:
fixture`Getting Started`.page`https://devexpress.github.io/testcafe/example`;
test('My first test', async t => {
console.log('all good')
});
Your complete configuration file
module.exports = {
browsers: 'chrome',
src: "./tests"
}
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
- use node 18.0.0
- fresh install testcafe
- run any test
TestCafe version
1.18.6
Node.js version
18.0.0
Command-line arguments
testcafe chrome -e test.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
What is your Scenario?
Fresh install of testcafe 1.18.6
trying to run a simple test with
npx testcafeWhat is the Current behavior?
What is the Expected behavior?
To start running the test
What is your public website URL? (or attach your complete example)
https://devexpress.github.io/testcafe/example
What is your TestCafe test code?
spec file:
Your complete configuration file
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
TestCafe version
1.18.6
Node.js version
18.0.0
Command-line arguments
testcafe chrome -e test.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response