-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix - Changed popup text visibility and removed unnecessary code #9611
Fix - Changed popup text visibility and removed unnecessary code #9611
Conversation
cy.waitTextVisible(glossaryTerms.SampleCypressHdfsDataset); | ||
cy.waitTextVisible("of 1"); | ||
cy.waitTextVisible(glossaryTerms.hdfsDataset); | ||
cy.waitTextVisible("Cypress 2"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are you validating that the search actually worked? This could just be checking for the tag itself. To actually validate that the search worked if you do not wish to reply on number of results then you should go into the entity and then validate the tag exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will update the validation, thanks!!
cy.waitTextVisible(glossaryTerms.SampleCypressHdfsDataset); | ||
cy.waitTextVisible("of 1"); | ||
cy.waitTextVisible(glossaryTerms.hdfsDataset); | ||
cy.waitTextVisible("my hdfs"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not validate functionality. It could be checking for visibility of the search term itself on the page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will update it
Checklist