Skip to content

Automatic tests#114

Open
ClementPasteau wants to merge 6 commits into
mainfrom
automatic-tests
Open

Automatic tests#114
ClementPasteau wants to merge 6 commits into
mainfrom
automatic-tests

Conversation

@ClementPasteau

Copy link
Copy Markdown
Contributor

No description provided.

ClementPasteau and others added 6 commits July 17, 2026 16:30
- GitHub Action on the automatic-tests branch: checks out GDevelop
  (automatic-tests branch), runs the static selector check, then plays
  every tutorial with Playwright against the editor dev server.
- A video of each tutorial being played is uploaded as artifact (14 days),
  for passing and failing runs alike, along with traces and screenshots.
- Known broken tutorials (flingGame, plinkoMultiplier) are played and
  recorded but expected to fail; the selector check skips them via --ignore.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Wait for menus/submenus to render when following the bold texts of a
  tooltip through a split menu button (2-players preview), and dismiss
  stray menus before retrying a preview launch.
- Dispatch a direct click on the tooltip button when it never stabilizes
  (tooltip anchored to the bouncing avatar), with bounded timeouts.
- Set a global actionTimeout so no action can ever block until the test
  timeout.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The tooltip is anchored to the bouncing avatar and never stops moving, so
a regular Playwright click (which waits for stability) intermittently
times out, especially on slow CI machines. Wait for visibility, then
click at the element's current coordinates.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The tutorial tooltip hides itself when an error boundary is displayed or
when another dialog is stacked above the one hosting the highlighted
element: include both in the failure message to diagnose CI-only
failures.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sharpen failure diagnostics (dialog count, element presence, tooltip
text) and dump each tooltip popper's computed visibility and buttons
when a clickOnTooltipButton step cannot find its button, to diagnose the
remaining CI-only tilemapPlatformer failure.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant