In this task you will practice using the waitForRequest method.
-
Open the forked repo in VSCode.
-
Create a new branch by running
git checkout -b task_solution. -
Run the installation commands:
npm cinpx playwright install
- Create test
tests/requests/waitForRequest/clickSignInAndCheckRequestSent.spec.
- Use steps defined within the test comments.
- Use as an example 'clickSignUpAndCheckRequestSent.spec`
- Create test
tests/requests/waitForRequest/deleteAddedComment.spec.
- Use steps defined within the test comments.
- Use as an example 'unfollowFollowedArtcile.spec`
- Run the tests and make sure they pass.
- Add and commit all your updates.
- Push the code to the origin.
- Create a PR for your changes.
- Keep implementing suggestions from code review until your PR is approved.