Hey there, this is my automation project for CourseDog's QA Engineer position, hope you like it!
The project is using the cypress.io framework for automation with the cucumber plugin. It also uses Github Actions to run the automation after each push to master.
Clone repo and install node dependencies:
npm install
To start running the e2e automation you do the following:
# runs the automation in headless mode
npm run cypress:run
# you can specify the browser to use [chrome|mozilla|edge]
npm run cypress:run:chrome
# opens the Cypress Test Runner
npm run cypress:open
Most of the code is self-documented and self explanatory, the codebase was kept simple and conscience given the small scope of the project and the requirements.
.
├── cypress # cypress root folder
│ ├── fixtures # main folder for the spec files (not used)
│ └── integrations # main folder for the feature files (cucumber)
│ ├── common # tests shared steps
│ └── tests # main tests definitions folder
│ ├── plugins # used for the cucumber plugin
│ ├── screenshots # test run screenshots storage
│ ├── support # cypress commands folder
│ └── videos # test run video storage
└── ...
The following are the test cases that this automation is currently covering:
- User can search for event given specific date
- User can search and filter by {org} specific events
- User can unfilter search
- User can search for event using a specific query/term
- User can check 'Today's Events' given a specific date
- User can check 'Featured Events' given a specific date
- User can see Event's details
- User can see and use (very important) Footer links
During manual and automation testing a couple of bugs were found:
Details: | |
---|---|
type | bug |
severity | low |
urgency | medium |
Using Google Chrome 96.0.4664.55(x86_64) on MacOs BigSur 16.11
When trying to filter by organization using the dropdown menu, you can see 'Test Name' as an option.
- navigate to the webpage
- click on the filter by organization dropdown
- scroll down on the list
Details: | |
---|---|
type | bug |
severity | medium |
urgency | medium |
Using Google Chrome 96.0.4664.55(x86_64) on MacOs BigSur 16.11
When filtering by organization using "Model UN", you can see 4 events in the filtered results instead of the 3 events expected for this test case.
Video: https://watch.screencastify.com/v/FMzJbsy8CBZx2COGffqz
- navigate to the webpage
- click on the filter by organization dropdown
- scroll down on the list and select "Model UN"
- scroll and verify the number of event cards found by the filter
Details: | |
---|---|
type | bug |
severity | high |
urgency | medium |
Using Google Chrome 96.0.4664.55(x86_64) on MacOs BigSur 16.11
When filtering events by any field, when you remove the filters, the event results gets popullated with the entire list of event instead of the original list.
Video: https://watch.screencastify.com/v/YVf89fywuMW5wL5Q8KLJ
- navigate to the webpage
- click on the filter by organization dropdown
- scroll down on the list and select "Model UN"
- scroll and verify the number of event cards found by the filter
- click on the remove filters button
- scroll and verify the number of event cards shown, it is now larger than it originally was