Skip to content

flake: SSHKeyPage.test.tsx has too many element matches #10481

Closed
@Parkreiner

Description

@Parkreiner

Had this happen earlier today, but for some reason, I can't find the logs in the actions that ran. Not sure if re-running the test caused the logs to get wiped.

Either way, there's an issue that sometimes triggers on SSHKeyPage.test.tsx. Here's a failing run

Here's what looks like the most important part:

Found multiple elements with the text: Error regenerating SSH key

From looking at the rest of the tests, it looks like there's a conflict between the error surfaced in the main part of the UI, and the little toast/snackbar UI we have for more global messages. Two things come to mind here:

  1. Update the test to be more specific and always grab the correct element
  2. Look into why the global snackbar only sometimes gets dismissed

Hoping to look into this either Thursday or Friday this week.

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug riskssiteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions