- 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
.
- Install the
Allure adapter
andcommand-line tool
using the instructions from the topic. - Add allure reporter to the
playwright.config.js
file. - Add
/allure-results/
to the.gitignore
file. - Trigger the tests with
npx playwright test
. - Generate the report using
allure serve allure-results
. - Pay attention to the tests hierarchy in the
Suites
,Behaviours
andPackages
tabs. - Add allure hierarchy attributes:
parentSuite
,suite
andsubSuite
for each test. - Add
severity
attribute to each test. - Delete the
allure-results
folder. - Trigger the tests with
npx playwright test
. - Generate the report using
allure serve allure-results
. - Note that the hierarchy changed in the
Suites
tab, whileBehaviours
andPackages
remains the same. - Add allure hierarchy attributes:
epic
,feature
anduser story
for each test. - Delete the
allure-results
folder. - Trigger the tests with
npx playwright test
. - Generate the report using
allure serve allure-results
. - Note that the hierarchy changed in the
Behaviours
tab, whilePackages
remains the same. - Check that the tests' severities are displayed in the Graphs tab > Severity.
- 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.