From cbee48d9bbc8d70dbc3671d5c02b7d81bf11540c Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 20 Jul 2022 16:03:43 +1200 Subject: [PATCH] MNT Wait for toast to appear for behat in new CI --- tests/behat/features/manage-files.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/behat/features/manage-files.feature b/tests/behat/features/manage-files.feature index c6d384695..7ff0dc397 100644 --- a/tests/behat/features/manage-files.feature +++ b/tests/behat/features/manage-files.feature @@ -147,6 +147,7 @@ Feature: Manage files And I should see the file named "file2" in the gallery And I should see the file named "testfile" in the gallery + @gsat Scenario: I can publish and unpublish multiple files Given a "image" "assets/folder1/file2.jpg" was created "2012-01-02 12:00:00" And a "image" "assets/folder1/testfile.jpg" @@ -172,6 +173,7 @@ Feature: Manage files When I check the file named "testfile" in the gallery And I press the "View actions" button And I press the "Unpublish" button + And I wait for 3 seconds Then I should see a "1 folders/files were successfully unpublished" success toast When I check the file named "file2" in the gallery And I check the file named "testfile" in the gallery