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

Tests #147

Merged
merged 5 commits into from
Dec 31, 2024
Merged

Tests #147

merged 5 commits into from
Dec 31, 2024

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Nov 5, 2024

Sets up cypress to run on github actions, on PRs and weekly on main.

Removes tests related to screens not currently there,
removes most custom data creation helpers,
removes cy.intercept,
replaces cy.visit with cy.ui (which knows about the UI_BASE_PATH prefix),
removes places creating 20 items,
removes extra waits,
and nonexistent calls,
and all other tests too :)

Helpers:

  • cy.assertTitle('text') - assert there's a patternfly title with the desired text
  • cy.ui(path = '') - navigate to UI_BASE_PATH + path
  • cy.login(username = 'admin', password = 'admin') - log in

Add a minimal smoke test.

@himdel himdel marked this pull request as ready for review December 31, 2024 02:45
@himdel himdel merged commit f22a195 into main Dec 31, 2024
3 checks passed
@himdel himdel deleted the tests branch December 31, 2024 03:00
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.

1 participant