Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Better detection of status-flags in behat #1281

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>"