Fixed behat tests for confirming grid field dialogs

This commit is contained in:
Ingo Schommer 2013-08-16 13:32:23 +02:00
parent 362d35742f
commit de3b1b22d3
2 changed files with 2 additions and 3 deletions

View File

@ -43,8 +43,7 @@ Feature: Manage files
Scenario: I can delete a file
Given I click on "folder1" in the "Files" table
And I click on "file1" in the "folder1" table
And I press the "Delete" button
And I confirm the dialog
And I press the "Delete" button, confirming the dialog
Then the "folder1" table should not contain "file1"
Scenario: I can change the folder of a file

View File

@ -51,6 +51,6 @@ Feature: Manage users
Scenario: I can delete an existing user
When I click the "Users" CMS tab
And I click "staffmember@test.com" in the "#Root_Users" element
And I press the "Delete" button
And I press the "Delete" button, confirming the dialog
Then I should see "admin@test.com"
And I should not see "staffmember@test.com"