Skip to content

test: remove switchboard from menu aria test#911

Open
jrdh wants to merge 1 commit intomainfrom
test/fix-playwright-aria-issue
Open

test: remove switchboard from menu aria test#911
jrdh wants to merge 1 commit intomainfrom
test/fix-playwright-aria-issue

Conversation

@jrdh
Copy link
Copy Markdown
Contributor

@jrdh jrdh commented Apr 8, 2026

Description

Remove the check for the switchboard list item from the menu in the aria snapshot. This shouldn't be there full stop as it's a test page for testing API related things, but it also causes problems when attempting to run the playwright tests locally due to confusing WKE designations. See the comments on the Jira ticket 3240 for details.

Fixes #CDD-3240

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Playwright e2e tests

Checklist:

  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@jrdh jrdh requested a review from a team as a code owner April 8, 2026 18:39
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Unit tests coverage

Lines Statements Branches Functions
Coverage: 96%
94.95% (4197/4420) 85.31% (1313/1539) 95.42% (751/787)
Tests Skipped Failures Errors Time
1630 0 💤 0 ❌ 0 🔥 30.09s ⏱️

Copy link
Copy Markdown

@jeanpierrefouche-ukhsa jeanpierrefouche-ukhsa left a comment

Choose a reason for hiding this comment

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

LGTM. Tested locally and it works!
Good Work, Josh! :)

I would recommend:

  • add some documentation to bolster up env.local. We need BASE_URL defined in the docs as a hard requirement, if feasible.
  • add some documentation on how to run the e2e successfully on local machine. I have some code for this which might be good for this PR - please let me know if you would like the script.
  • continue work on the ticket to bolster up the tests in general - it works reliably for me only when retries are set to > 2. There are timeout issues and many tests are failing with env.local config (perhaps more funnies in there, similar to this one! :) )
  • discover why the dependency on WKEs. We "should be" testing the system, not hard-coding to specific environments.

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