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

automation: services - external name tests #13152

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

yonasberhe23
Copy link
Contributor

@yonasberhe23 yonasberhe23 commented Jan 18, 2025

Summary

Fixes #rancher/qa-tasks#1581

This PR also includes small fixes to address flaky Extensions tests.

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

@yonasberhe23 yonasberhe23 self-assigned this Jan 18, 2025
@yonasberhe23 yonasberhe23 force-pushed the services_tests_e2e branch 4 times, most recently from bde4b16 to efa6db7 Compare January 22, 2025 19:49
@yonasberhe23 yonasberhe23 requested a review from izaac January 22, 2025 19:50
@yonasberhe23 yonasberhe23 force-pushed the services_tests_e2e branch 3 times, most recently from 9cda750 to e892ba2 Compare January 22, 2025 23:22
@yonasberhe23 yonasberhe23 marked this pull request as ready for review January 22, 2025 23:51
@yonasberhe23 yonasberhe23 added this to the v2.11.0 milestone Jan 23, 2025
@yonasberhe23 yonasberhe23 force-pushed the services_tests_e2e branch 2 times, most recently from 61d53af to cfab139 Compare January 23, 2025 20:41
@izaac izaac requested a review from a-arias January 23, 2025 20:54
@izaac
Copy link
Contributor

izaac commented Jan 23, 2025

@a-arias could you take a look at this too? 👍🏽

@izaac
Copy link
Contributor

izaac commented Jan 24, 2025

@yonasberhe23 Will this only cover external names ? In that case the task can be break down to smaller ones for cluster ip Headless loadBalancer nodePort

Other than that it looks good to me.

@izaac izaac added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label Jan 24, 2025
a-arias
a-arias previously approved these changes Jan 24, 2025
Copy link

@a-arias a-arias left a comment

Choose a reason for hiding this comment

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

great job, I added 2 observations that could be potential improvements.

cypress/e2e/po/edit/services.po.ts Show resolved Hide resolved
cypress/e2e/po/components/growl-manager.po.ts Show resolved Hide resolved
@yonasberhe23
Copy link
Contributor Author

@yonasberhe23 Will this only cover external names ? In that case the task can be break down to smaller ones for cluster ip Headless loadBalancer nodePort

Other than that it looks good to me.

@izaac ah good point. i can create some sub task tickets for those other areas

@yonasberhe23 yonasberhe23 force-pushed the services_tests_e2e branch 2 times, most recently from 1d5525c to 2a21acf Compare January 28, 2025 04:37
@yonasberhe23 yonasberhe23 changed the title automation: services tests automation: services - external name tests Jan 28, 2025
@yonasberhe23 yonasberhe23 requested a review from a-arias January 31, 2025 21:19
Copy link
Contributor

@izaac izaac left a comment

Choose a reason for hiding this comment

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

Just a nit

@@ -17,6 +17,10 @@ export default class TabbedPo extends ComponentPo {
return this.self().get('[data-testid="tabbed-block"] > li');
}

checkSelectedTab(selector: string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the method name should include what's being checked here or move the chai assertion to the spec

Copy link
Contributor Author

@yonasberhe23 yonasberhe23 Jan 31, 2025

Choose a reason for hiding this comment

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

ah that isn't very clear. how about assertTabIsActive?

@yonasberhe23 yonasberhe23 requested a review from izaac January 31, 2025 23:28
Copy link
Contributor

@izaac izaac left a comment

Choose a reason for hiding this comment

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

:shipit:

@yonasberhe23 yonasberhe23 merged commit 4b836a4 into rancher:master Feb 1, 2025
32 checks passed
@yonasberhe23 yonasberhe23 deleted the services_tests_e2e branch February 1, 2025 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants