robotframework / robotframework/SeleniumLibrary
Add parameter to make Wait Until Page Contains case insensitive
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
It would be great to be able to turn off case sensitivity for keywords like Element Text Should Be, Wait Until Element Contains, Wait Until Element Does Not Contain, Wait Until Page Contains and Wait Until Page Does Not Contain
This feature was already implemented for Element Should Contain and Element Should Not Contain in #849.
I spent lots of time trying to understand why Wait Until Page Contains fails just to find that it is a case sensitive and case on the screen was displayed differently, because of CSS style: text-transform: lowercase
I would vote to make these keywords case insensitive by default and case sensitive via parameter. I think it would make tests faster to write and less brittle.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementations and tests for Element Should Contain and Element Should Not Contain, then compare them with the five Wait Until and Element Text Should Be keywords named in the issue. Review issue #849 and the comment discussion for the intended parameter and default behavior. Done means the named keywords consistently support the agreed case-sensitivity behavior with test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100