diff --git a/tests/browser/features/step_definitions/common_article_steps.rb b/tests/browser/features/step_definitions/common_article_steps.rb index c08ee3ac2..d2296a29d 100644 --- a/tests/browser/features/step_definitions/common_article_steps.rb +++ b/tests/browser/features/step_definitions/common_article_steps.rb @@ -39,9 +39,6 @@ end Then(/^I should see a toast with message "(.+)"$/) do |msg| on(ArticlePage) do |page| page.wait_until_rl_module_ready('mediawiki.notification') - page.wait_until do - page.toast_element.when_present.text.include? msg - end expect(page.toast_element.when_present.text).to match msg end end