Skip to content

Commit

Permalink
Merge pull request #1281 from creative-commoners/pulls/1.10/5seconds
Browse files Browse the repository at this point in the history
MNT Better detection of status-flags in behat
  • Loading branch information
GuySartorelli authored Jul 22, 2022
2 parents 0730bad + ea46d36 commit 846c801
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/behat/features/file-details.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ Feature: File details
When I click "Details" in the "#Editor .nav-tabs" element
Then the rendered HTML should contain "<span class="editor__status-flag">Draft</span>"
When I press the "Publish" button
Then I should not see a ".editor__status-flag" element
And I wait for 5 seconds
Then the rendered HTML should not contain "<span class="editor__status-flag">"
And I fill in "Form_fileEditForm_Title" with "file-modified-1"
And I press the "Save" button
And I wait for 5 seconds
Then the rendered HTML should contain "<span class="editor__status-flag">Modified</span>"

0 comments on commit 846c801

Please sign in to comment.