- 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
.
- Add action function for new article creation:
- Create the function structure: src/actions/article/;
- Create the
createNewArticle
function in the new file./src/actions/article/createNewArticle.js
; - Ensure your function covers both cases when creating an article with tags and without;
- Use
signUpUser
function as an example; - Use just created function for the new tests.
- Create new tests for the Conduit
Edit article
feature:
- Edit the article title for the existing article;
- Edit the article description for the existing article;
- Edit the article text for the existing article;
- Add the tag for the existing article without tags;
- Add the tag for the existing article with tags;
- Remove an article tag for the existing article with tag;
- Remove an article title for the existing article;
- Remove an article description for the existing article;
- Remove an article text for the existing article;
- Add a
test.step
for each class method. - Add all the error messages to the
constans
folder. - Use existing
generateNewUserData
&signUpUser
functions for each test precondition. - Think on the extra tests for the
Edit article
feature and add them as well. - 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.