Skip to content

Conversation

@microbit-matt-hillsdon
Copy link
Contributor

Update tests so contextMenuExists does not care whether there's a shortcut defined.

Separately assert the full context menu contents including shortcuts for blocks in the workspace and toolbox, workspace comments and the workspace itself.

Add a space to separate the keyboard shortcut from the context menu label as it was only visually separated and a screen reader would have heard e.g. "DuplicateD".

Fixes #648

Update tests so contextMenuExists does not care whether there's a shortcut
defined.

Separately assert the full context menu contents including shortcuts for blocks
in the workspace and toolbox, workspace comments and the workspace itself.

Fixes RaspberryPiFoundation#648
@microbit-matt-hillsdon microbit-matt-hillsdon requested a review from a team as a code owner July 8, 2025 10:46
@microbit-matt-hillsdon microbit-matt-hillsdon requested review from cpcallen and removed request for a team July 8, 2025 10:46
@microbit-matt-hillsdon
Copy link
Contributor Author

Test failures due to spaces in the Windows/Linux option formats. Will fix shortly.

@microbit-matt-hillsdon
Copy link
Contributor Author

Test failures due to spaces in the Windows/Linux option formats. Will fix shortly.

Hopefully got this right in 824f059. Please approve re-run.

@cpcallen cpcallen merged commit dcfe7df into RaspberryPiFoundation:main Jul 8, 2025
8 checks passed
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.

webdriver test weirdness with duplicate shortcut

2 participants