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

Webui tests more robust going back and variant agnostic #5331

Conversation

rvykydal
Copy link
Contributor

The first two commits are from this PR: #5310

With this PR, adding

pretend_live_iso(self, i)

(which effectively hides welcome and accounts step in the installer) before open() of all the tests where it makes sense the tests are still passing (except for pixel tests). So they should break less easily when adding some other step in the future (as it happened when I was adding users spoke).

As a follow-up the installer.py helper could be a bit cleaned and re-factored and maybe some tests run in multiple variants.

When going back let's use (in cases where we don't want to test the Back
buttons specifically) sidebar navigation which is independent of hidden
steps when going back.
Make Installer class aware of hidden steps and update the methods
for moving between steps accordingly.
@pep8speaks
Copy link

Hello @rvykydal! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 29:1: E302 expected 2 blank lines, found 1

@rvykydal
Copy link
Contributor Author

Migrated to the new repository: rhinstaller/anaconda-webui#51

@rvykydal rvykydal closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants