-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Awaiting Maintainer ApprovalNeeds review from a maintainer before moving forwardNeeds review from a maintainer before moving forwardBugError or unexpected behaviorsError or unexpected behaviors
Description
p5.js version
No response
What is your operating system?
None
Web browser and version
No response
Actual Behavior
Actual Behavior Play and Stop buttons in the toolbar lack data-testid attributes, making them difficult to target reliably in automated E2E tests. Tests currently must rely on CSS classes (fragile) or ARIA labels (not always present).
This makes it harder to write stable E2E tests for the core sketch execution workflow.
Expected Behavior
Expected behavior: Play and Stop buttons should have semantic test identifiers:
data-testid="play-button"
data-testid="stop-button"
Steps to reproduce
Inspect Play button in toolbar
No data-testid attribute present
E2E tests must use fragile selectors like CSS classes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Awaiting Maintainer ApprovalNeeds review from a maintainer before moving forwardNeeds review from a maintainer before moving forwardBugError or unexpected behaviorsError or unexpected behaviors