Skip to content

Commit 433a2fd

Browse files
committed
Updating readme
1 parent 14db3b7 commit 433a2fd

1 file changed

Lines changed: 47 additions & 3 deletions

File tree

README.md

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1-
# Codecept-Demo
2-
# To run tests
3-
# npx codeceptjs run --steps
1+
# Testing Evo using codeceptjs and testcafe
2+
==========
3+
4+
This example assumes that you have a basic understanding of test automation runners and is intended to probe your knowledge of features, Gherkin syntax and step definitions.
5+
You should aim to spend approximately 2 hours on this exercise.
6+
7+
8+
## Task
9+
10+
Using this Codecept and Testcafe demo project we would like you to add some additional tests as detailed in `Stories`. Tests only need to run on `Chrome` and should all be passing on running `npm run test`.
11+
12+
13+
## Technical details
14+
15+
The project should be executed with the following commands:
16+
17+
`npm install` for project dependencies.
18+
`npm run test` to start the test runner.
19+
20+
21+
## Stories
22+
23+
### News and Reviews
24+
25+
As a user
26+
When I am on the homepage
27+
Then the `news` link should be display within the navigation
28+
29+
As a user
30+
When I am on the homepage
31+
Then the `reviews` link should be display within the navigation
32+
33+
As a user
34+
When I click on the `news` link
35+
Then I should navigate to the `news` index page
36+
37+
### Search
38+
39+
As a user
40+
When I search for `Audi`
41+
I should navigate to the `audi` search results index
42+
43+
### Make / Model
44+
45+
As a user
46+
When I select any `make` and `model` from `Find a car review` selector
47+
I should navigate to the `make/model` review or index page

0 commit comments

Comments
 (0)