-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce "Try To" step_decorators #176
Comments
This issue is a duplicate of #114 . If you always close something after having opened it, in the same actions block, you can always rely on its state in the next action blocks. |
The errors are seismographs of changes in TYPO3 implementation and i want to see any small change as early as possible and not suppress any error. |
Taking screenshots of Modules where the other Modules sections are close: Really not funny and took me tons of trial and error and it just didnt work without using plain wait:
|
Sometimes I dont know if something is opened or closed. But I only want to open it if it is closed or vice versa.
{"action": "Click", "link": "button#web[aria-expanded=false]"},
Would fail if the Button is already expanded. Just leaving the
aria-expanded=false
would toggle it closed.Now the step_decorator should give me an action
{"action": "TryToClick", "link": "button#web[aria-expanded=false]"},
That will not fail:
https://codeception.com/docs/08-Customization
However I did not manage to make it working...
The text was updated successfully, but these errors were encountered: