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

Enabling several E2E tests that were disabled for the vue3 migration #12354

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

codyrancher
Copy link
Contributor

@codyrancher codyrancher commented Oct 24, 2024

Summary

  • Re-enabling Diagnostics Page e2e test
  • Re-enabling can create an oci repository with basic auth e2e test
  • Re-enabling the Git Repo e2e tests
  • Enabling two more e2e tests in settings-p2

Technical notes summary

$route had a circular reference so I added it to a list of other fields that shouldn't be serialized.

Areas or cases that should be tested

The tests are doing that already

Areas which could experience regressions

None

Screenshot/Video

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@codyrancher codyrancher changed the title E2e 4 Enabling several E2E tests that were disabled for the vue3 migration Oct 28, 2024
@codyrancher codyrancher added this to the v2.10.0 milestone Oct 28, 2024
@codyrancher codyrancher marked this pull request as ready for review October 28, 2024 15:17
const rancherLogo = '/img/rancher-logo.66cf5910.svg';
const suseRancherLogo = '/img/rancher-logo.055089a3.svg';
it('can update ui-brand', { tags: ['@globalSettings', '@adminUser'] }, () => {
// We probably want a better way to distinguish between rancher and suse logos. I'm doing this as part of the vue3 migration and trying to keep things as similar as possible.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hashes were changing between both my localhost instance and the cypress tests. It didn't seem like we could rely on the hashes anymore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I could definitely see how the vue3 migration might be a scenario that could cause the hash to change. It's probably best that we don't rely on the hashes for the test.

Copy link
Member

@rak-phillip rak-phillip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codyrancher codyrancher merged commit 456fc9a into rancher:master Oct 28, 2024
40 checks passed
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.

2 participants