Skip to content
Snippets Groups Projects

Try a lower wait to see if it makes the test fail consistently.

Closed catch requested to merge issue/drupal-3393137:3393137-random-test-failure into 11.x
2 unresolved threads

Closes #3393137

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
47 47 $page->findField('options[promote]')->check();
48 48 $page->findField('options[revision]')->check();
49 49 $locator = '[href="#edit-workflow"] .vertical-tabs__menu-item-summary';
50 $this->assertTrue($page->waitFor(10, function () use ($page, $locator) {
50 $this->assertTrue($page->waitFor(1, function () use ($page, $locator) {
  • Michael Strelan added 2532 commits

    added 2532 commits

    • 0f137953...e0a4d441 - 2530 commits from branch project:11.x
    • 81076dbf - Try a lower wait to see if it makes the test fail consistently.
    • af72a707 - Wait for the full text in the summary

    Compare with previous version

  • 46 46 $page->findField('options[sticky]')->check();
    47 47 $page->findField('options[promote]')->check();
    48 48 $page->findField('options[revision]')->check();
    49 $locator = '[href="#edit-workflow"] .vertical-tabs__menu-item-summary';
    50 $this->assertTrue($page->waitFor(10, function () use ($page, $locator) {
    51 $summary = $page->find('css', $locator)->getText();
    52 return str_contains($summary, 'Not published');
    53 }));
    54 $summary = $page->find('css', $locator)->getText();
    55 $this->assertEquals('Not published, Promoted to front page, Sticky at top of lists, Create new revision', $summary);
  • Michael Strelan added 81 commits

    added 81 commits

    • af72a707...ce26a90e - 79 commits from branch project:11.x
    • dd8e5d23 - Try a lower wait to see if it makes the test fail consistently.
    • 2c8eac31 - Wait for the full text in the summary

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading