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

FAILED: Automated Tests(4) - Update selectors for gateway dropdown #1181

Open
github-actions bot opened this issue Sep 19, 2024 · 3 comments
Open

FAILED: Automated Tests(4) - Update selectors for gateway dropdown #1181

github-actions bot opened this issue Sep 19, 2024 · 3 comments
Assignees
Labels
automation Tickets for test automation bug Something isn't working jira

Comments

@github-actions
Copy link
Contributor

Stats: suites 103
tests 833
passes 829
pending 0
failures 4
testsRegistered 833
passPercent 99.51980792316927
pendingPercent 0
other 0
hasOther false
skipped 0
hasSkipped false
start 2024-09-19T18:57:38.929Z
end 2024-09-19T19:55:35.158Z
duration 3476229

Failed Tests:

  • 07-manage-control/02-rate-limiting.cy.ts - verify rate limit error when the API calls beyond the limit
  • 20-gateways/02-dropdown.ts - Get current total number of gateways
  • 20-gateways/02-dropdown.ts - Verify dropdown shows the new total number of gateways
  • 20-gateways/02-dropdown.ts - Check Gateway button activates the Gateway

Run Link: https://github.com/bcgov/api-services-portal/actions/runs/10947061423

@github-actions github-actions bot added the automation Tickets for test automation label Sep 19, 2024
@rustyjux rustyjux added jira bug Something isn't working labels Oct 3, 2024
@Elson9
Copy link
Contributor

Elson9 commented Oct 3, 2024

This ticket will be to fix the following failed tests:

20-gateways/02-dropdown.ts - Get current total number of gateways
20-gateways/02-dropdown.ts - Verify dropdown shows the new total number of gateways
20-gateways/02-dropdown.ts - Check Gateway button activates the Gateway

@rustyjux rustyjux changed the title FAILED: Automated Tests(4) FAILED: Automated Tests(4) - Update selectors for gateway dropdown Oct 3, 2024
@Elson9
Copy link
Contributor

Elson9 commented Oct 8, 2024

Priority: Existing commitments and bugs

@rustyjux
Copy link
Contributor

Observation: All the failed tests are for the Your Products page, whereas tests using /gateways/list and the same selector all pass. On both pages, the dropdown selector is via the nav bar and uses the same component, so it's not an issue with the data-testid selectors.

The issue was the change to the gateway redirect and how a gateway must be set first on gateways/list. Tweaked the tests to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Tickets for test automation bug Something isn't working jira
Projects
None yet
Development

No branches or pull requests

2 participants