- 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
.
- Create new tests for the conduit article:
- create an article with required and optional fields;
- create an article without article description;
- create an article without article text;
- create an article without article tag;
- Use as an example createArticleWithoutRequiredFields.spec.js test.
- Please use the POM pattern for new test.
- Make sure to add all the test preconditions to the beforeEach block.
- Please add a
test.step
for each method in the page classes; - Re-run all your tests and make sure they pass after the updates.
- 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.