Reputation:
I have started learning testcafe, as our organization wanted to invest time on R & D on getting new e2e tools for angular automation.
I am trying to create an initial small test and facing the following error.
I have installed the testcafe locally using the command
npm install --save-dev testcafe
and have created a spec file with name first-test.spec.ts
import { Selector } from "testcafe";
fixture`Getting Started`.page`http://devexpress.github.io/testcafe/example`;
test("My First Test", async t => {});
when using the following command to run the test
npx testcafe chrome tests/
I am getting the following error
Upvotes: 2
Views: 3186
Reputation: 44
Create test folder and place your spec file in tests, folder and then try to execute the same command
npx testcafe chrome tests/
Upvotes: 2