Skip to content

Commit

Permalink
MNT Wait for toast to appear for behat in new CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jul 20, 2022
1 parent 241c0cf commit cbee48d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/behat/features/manage-files.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit cbee48d

Please sign in to comment.