Skip to content
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

[Cypress Automation] - Add data-testid to HTML tags. #233

Merged
merged 28 commits into from
Aug 5, 2024

Conversation

usman-deriv
Copy link
Contributor

@usman-deriv usman-deriv commented Aug 1, 2024

Changes:

  • Added data-testid attributes for various elements to ensure they are more resilient to changes in the UI for cypress automation.

Reason for Changes:

The previous locators were high maintenance in Cypress due to frequent changes in the UI structure. By adding the data-testid attributes, we aim to:

  • Reduce test failures caused by dynamic changes in the UI.
  • Enhance the maintainability of the test scripts.
  • Ensure that our test suite accurately reflects user interactions and behaviors.

ClickUp Card -> [For Cypress] Update locators for Automation
Google Sheet for Locators

@coveralls
Copy link

coveralls commented Aug 1, 2024

Pull Request Test Coverage Report for Build 10246380750

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 85.588%

Totals Coverage Status
Change from base Build 10244948373: 0.006%
Covered Lines: 5670
Relevant Lines: 6165

💛 - Coveralls

Copy link

github-actions bot commented Aug 5, 2024

Preview Link: https://P2PS-2596.p2p-standalone.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@farrah-deriv farrah-deriv merged commit 0103ab9 into deriv-com:master Aug 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants