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

fix(tests): not all update e2e tests were run #9362

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

odockal
Copy link
Contributor

@odockal odockal commented Oct 14, 2024

What does this PR do?

Update e2e tests are now run always when spec file is run. After a change in adding tag was introduced, portion of tests was omitted and did not catch electron update dependency that broke the functionality.

Screenshot / video of UI

What issues does this PR fix or reference?

#9361

How to test this PR?

build podman-desktop in version ie. 1.0.0 to initiate an update , also in production version with ELECTRON_ENABLE_INSPECT using pnpm compile:current --win nsis. set PODMAN_DESKTOP_BINARY to point to built Podman Desktop.exe and run pnpm test:e2e:update:run and check that 6 tests being run. If there is a failure, some tests can be skipped, but total is 6.

  • Tests are covering the bug fix or the new feature

@odockal odockal requested review from benoitf and a team as code owners October 14, 2024 10:14
@odockal odockal requested review from jeffmaury, feloy and SoniaSandler and removed request for a team October 14, 2024 10:14
@benoitf
Copy link
Collaborator

benoitf commented Oct 14, 2024

if it's related to the update failure in e2e it's still ❌

@odockal
Copy link
Contributor Author

odockal commented Oct 14, 2024

@benoitf yes and no, it also makes sure to run all e2e update tests. I will make it draft for now.

@odockal odockal marked this pull request as draft October 14, 2024 10:36
@odockal odockal force-pushed the fix-update-e2e-tests branch 2 times, most recently from 9a67277 to ac85ad6 Compare October 14, 2024 11:50
@odockal odockal changed the title fix: change performUpdate in update e2e2 tests to boolean type fix(tests): not all update e2e tests were run Oct 14, 2024
@odockal odockal requested a review from cbr7 October 14, 2024 14:55
@odockal odockal linked an issue Oct 15, 2024 that may be closed by this pull request
@odockal odockal marked this pull request as ready for review October 15, 2024 19:21
@odockal odockal force-pushed the fix-update-e2e-tests branch from e896359 to 89bf5ed Compare October 15, 2024 19:21
Signed-off-by: Ondrej Dockal <odockal@redhat.com>
Signed-off-by: Ondrej Dockal <odockal@redhat.com>
Signed-off-by: Ondrej Dockal <odockal@redhat.com>
@odockal odockal force-pushed the fix-update-e2e-tests branch from 89bf5ed to 3aa4396 Compare October 16, 2024 04:32
@odockal
Copy link
Contributor Author

odockal commented Oct 16, 2024

@benoitf This is ready after #9394 was merged.

@odockal odockal merged commit e84f829 into podman-desktop:main Oct 16, 2024
15 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.14.0 milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make sure to run full e2e update test suite on windows host
4 participants