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

test: Fix Firewall update test flake by using less specific selectors #10289

Merged

Conversation

jdamore-linode
Copy link
Contributor

Description πŸ“

Fixes an occasional test failure in update-firewall.spec.ts by using a less specific selector to find the inbound/outbound rules in the list.

Changes πŸ”„

  • Find inboud and outbound rules by looking for a <li /> element

How to test πŸ§ͺ

yarn cy:run -s "cypress/e2e/core/firewalls/update-firewall.spec.ts"

(Repeat as needed to gain confidence that flake is resolved)

As an Author I have considered πŸ€”

Check all that apply

  • πŸ‘€ Doing a self review
  • ❔ Our contribution guidelines
  • 🀏 Splitting feature into small PRs
  • βž• Adding a changeset
  • πŸ§ͺ Providing/Improving test coverage
  • πŸ” Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • πŸ‘£ Providing comprehensive reproduction steps
  • πŸ“‘ Providing or updating our documentation
  • πŸ•› Scheduling a pair reviewing session
  • πŸ“± Providing mobile support
  • β™Ώ Providing accessibility support

@jdamore-linode jdamore-linode self-assigned this Mar 14, 2024
@jdamore-linode jdamore-linode requested a review from a team as a code owner March 14, 2024 22:58
@jdamore-linode jdamore-linode requested review from cliu-akamai and removed request for a team March 14, 2024 22:58
@jdamore-linode jdamore-linode requested a review from a team as a code owner March 14, 2024 23:01
@jdamore-linode jdamore-linode requested review from bnussman-akamai and hkhalil-akamai and removed request for a team March 14, 2024 23:01
Copy link

github-actions bot commented Mar 14, 2024

Coverage Report: βœ…
Base Coverage: 81.42%
Current Coverage: 81.42%

Copy link
Contributor

@hkhalil-akamai hkhalil-akamai left a comment

Choose a reason for hiding this comment

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

Appreciate this fix!

@jdamore-linode jdamore-linode merged commit 4c366d3 into linode:develop Mar 18, 2024
18 checks passed
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.

None yet

3 participants