Skip to content

Commit

Permalink
Fix race condition in navigation link test
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumos committed Dec 28, 2022
1 parent b1843fe commit 18e26ce
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public function testDeletingNavigationLink(): void
// And accepts the confirmation dialog
$browser->acceptDialog();

// And waits for the page to load
$browser->waitForRoute('navigation-links.index');

// And they should see a confirmation message that the navigation link has been deleted
$browser->assertSee('Navigation Link "' . $navigationLink->title . '" deleted');
});
Expand Down

0 comments on commit 18e26ce

Please sign in to comment.