Skip to content

Validating portion(s) of a dynamic text using assertVisible #1660

Discussion options

You must be logged in to vote

You're currently checking for a full string to match, and as that doesn't exist it's failing.

You can use regex to check partials, e.g.

- assertVisible: Lorem ipsum dolor sit amet.*
# ignore <<dynamic text>>
- assertVisible: .*consectetur adipiscing elit

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rbenitezpagan
Comment options

Answer selected by rbenitezpagan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants