Automatic tests#114
Open
ClementPasteau wants to merge 6 commits into
Open
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.