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

visitAndWaitForSelector wait selector #256

Open
thomaswinkler opened this issue Feb 26, 2025 · 1 comment
Open

visitAndWaitForSelector wait selector #256

thomaswinkler opened this issue Feb 26, 2025 · 1 comment

Comments

@thomaswinkler
Copy link
Collaborator

The c8y-navigator-outlet c8y-app-icon wait selector used in cy.visitAndWaitForSelector does not work in all cases. Cumulocity UI now uses c8y-drawer-outlet c8y-app-icon .c8y-icon.

Should we support different selectors for different shell versions? Is there a better way to wait for UI to finish loading across different versions?

@thomaswinkler
Copy link
Collaborator Author

@reey @janhommes Any thoughts? Using a single wait selector might not work across different versions of the UI. I could simply update the selector, but might stop working than for compability tests with older versions of the UI. Just reconsidering the wait for finished loading to make it more robust and looking for ideas and options.

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

No branches or pull requests

1 participant