Skip to content

iron66/cypress-test-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment:

  • Automate 2 test cases for discuss.flarum.org provided bellow using Cypress.io
  • Upload final project to GitHub

Style requirements:

  • JS strict mode
  • Assume there will be more profile and discussion test cases, implement various techniques to make their implementation and maintenance easier (using Cypress best practices)
  • Configurable values like login/password should be placed in a separate file
  • Follow test automation and Cypress best practices

Test 1 Change user profile on frontend only:

Use stubs to avoid changing profile on the actual live forum

Open discuss.flarum.org as a logged in user (using relevant Cypress functions)
Open user profile
Change information about yourself. Verify new information is actually present in the relevant request.
Open forum home page
Open user profile
Verify new information is displayed

Test 2 Post a reply

Open discuss.flarum.org as a logged in user (using relevant Cypress functions)
Open discuss.flarum.org/t/sandbox
Open a discussion with a certain title (should be configurable)
Reply
Refresh page
Verify the reply is displayed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published