test: #3638396 Stop the press step from hanging after a slow form submit

Issue: https://www.drupal.org/i/3638396

Problem

Playwright click() waits for the navigation it starts, inside its own 5 s timeout. When the form submit is slow the click throws after it landed, and the fallback waits on a button that is gone with the 30 s default, so the step passes Cucumber's 45 s timeout. The retry then fails with "The machine-readable name is already in use". In job 13674917 the failure video shows Manage fields about 5 s after the press, then 40 s idle.

Change

  • tests/step-definitions/varbase.steps.js robustClick: a click error saying "waiting for scheduled navigations" counts as done, and the fallback calls get a 5 s timeout.
  • 13-entityqueue/05-00-add-default-entityqueue-testing-content-and-config.feature: the two setup scenarios check the created content type and entity queue pages instead of the one-time message, so a retry passes.

Remaining tasks

  • Run the entityqueue e2e job at least twice on this MR pipeline.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release

🤖 Generated with Claude Code

Edited by Rajab Natshah

Merge request reports

Loading
Loading