Skip to content

e2e: parallel specs mutate the shared builder document (intermittent 'inserts and expose key controls' failures) #34

Description

@MhaWay

Repro: on main (no local changes) npx playwright test builder-p1-site builder-p2-dynamic-post --workers=2 failed 1 of 3 runs; different victim spec each time (p1-site, p2-dynamic, p2-interactive, p3-featured, f3-undo). All these specs insert blocks into the SAME target post (default postId 9 via loginToBuilder) and assert with 5s timeouts -> parallel workers race on one document.

Fix direction: dedicated fixture post per spec family (pattern established with perf fixture post 15 in #25), or per-run doc reset via REST in beforeEach. Until then, expect ~1 flake/full-suite-run at workers=2; workers=1 is stable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions