Cypress Command: clickCurrentStepActions
Summary
cy.clickCurrentStepActions()
- Perform all the actions on the current step Parameters
none
Example
cy.clickCurrentStepActions();
Waiting
This command will wait until all the actions within the current step are performed.
Verification
This command will verify that all actions within the step are performed successfully.
Only links to within the lab environment will be verified.
Related
-
You must have already called startLab to start the lab
-
Alternatively, call performAllLabActions to test lab that is completely instruction-guided.
-
If your lab contains steps that a human learner would perform outside the lab, such as interacting with a web application running within the lab or the AWS web console, you may substitute for those by running lower-level commands such as terminalType. You may still perform the remaining actions of the step using the instruction-guided commands, such as:
A human learner will be most successful if the lab can be written so that all actions the learner must take are specified within the instructions.
Instruction-Guided
This is an instruction-guided command: By using this command to ask Cypress to click on all actions within the current step, you will avoid having to remember to update your tests every time a new action is added or reviewed from the instructions.