• Home
  • Jobs
  • Courses
  • Questions
  • Teachers
  • For business
  • ES/EN

0

29
Views
Cypress search box testing

I am trying to test a webpage with dynamic ID selectors and no other selectors. I want to to be able the following:

  1. conduct a keyword search by clicking search button
  2. clear text in the search box by clicking the X button
  3. check search result page numbers

These elements on the website all have dynamic selectors or share the same class name. What would be the best approach in handling such test cases.

Searchbox: enter image description here enter image description here

Page Numbers enter image description here enter image description here

about 1 month ago ·

Juan Pablo Isaza

Answer question
Find remote jobs
Loading

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2022 PeakU Inc. All Rights Reserved.