- Open the forked repo in VSCode.
- Create a new branch: git checkout -b added_article_test
- Run the installation commands
npm ci
&npx playwright install
.
- Review the
addAllureTestHierarchy
fixture under thetests/_fixtures/fixturesGeneric.ts
file. Make sure you understand how it works. - Trigger the tests with
npx playwright test
. - Generate the report using
allure serve allure-results
. - Check that hierarchy in the
Suites
tab. Not that all theparentSuite
andsuite
are automatically added to the tests with the help of theaddAllureTestHierarhy
fixture. - Create new tests under the
userSettings
folder, add subfolders if required:
- Update username from settings
- Update email from settings
- Update password from settings
- Add profile picture URL from settings
- Add short bio from settings
- Create new test under the
auth
folder, add subfolders if required:
- Log out user
- Create an
auto worker-scope
fixture to delete theallure-results
folder before test execution. - Trigger the tests with
npx playwright test
. - Generate the report using
allure serve allure-results
. - Check that new tests are automatically placed correctly within the hierarchy in the
Suites
tab.
- Add and commit all your updates.
- Push the code to the origin.
- Create PR for your changes.
- Fix all the suggestions from the Code review until PR is approved.