Table of Contents | ||||
---|---|---|---|---|
|
Precondition
...
url setting: e2e-automation-repo\cypress.config.js
info is here:NEW-Project Initialization
credentials setting: e2e-automation-repo\cypress\fixtures\testUsersUtils.js
info is here: NEW-Project Initialization
be aware of concept of automation testing in Cypress and read official documentation
...
for creating a test without commands, use primary elements with data-attributes in html code
data-test-column
data-column-name
data-test
data-test-parent
…..
Example task for you:
...
for data manipulation use API commands
in the file: e2e-automation-repo\cypress\support\externalCommands_API.js
you can find prepared API commands with.
read comments in the code for better understanding
for common action use prepared FE commands
in the support folder, there are plenty of prepared commands for easier cypress implementation
before you will start to do some test, make a little research, if we haven’t had it already prepared as a command
Happy testing with Cypress.