Skip to content

Latest commit

History

History
36 lines (23 loc) 路 1.25 KB

run_a_test_locally.md

File metadata and controls

36 lines (23 loc) 路 1.25 KB
id title
run_a_test_locally
馃弮 Run a Test Locally

In the previous section we created our first browser test for TodoMVC. We will now run our test locally to make sure that it works.

Run a test locally

Let's run our test to confirm it works locally. In the command line, run the following command. If applicable, replace myFirstTest with your test name.

npx qawolf test myFirstTest

A Chromium browser will open and the test will run. See the GIF below for an example.

Run a test locally

If you're having trouble running your test, please chat with us or open an issue on GitHub.

To run all of your tests locally, run:

npx qawolf test

Next steps

Congratulations - you've mastered the basics of creating and running browser tests with QA Wolf! 馃帀

There are a few places you can go from here: