Skip to content

Commit

Permalink
[behat] updated assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszszopinski authored and GrabowskiM committed Oct 31, 2023
1 parent 4357e92 commit 80b96cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Behat/Page/ContentUpdateItemPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public function isAutosaveDraftSavedNotificationVisible(): bool
return $this->getHTMLPage()
->setTimeout(0)
->findAll($this->getLocator('autosaveSavedInfo'))
->filterBy(new ElementTextFragmentCriterion('Draft saved'))->any();
->filterBy(new ElementTextFragmentCriterion('Autosave is on, draft created'))->any();
}

public function verifyAutosaveIsOffNotificationIsDisplayed(): void
Expand Down

0 comments on commit 80b96cc

Please sign in to comment.