From de3b1b22d3b483823c1582569677f45facbb636f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 16 Aug 2013 13:32:23 +0200 Subject: [PATCH] Fixed behat tests for confirming grid field dialogs --- tests/behat/features/manage-files.feature | 3 +-- tests/behat/features/manage-users.feature | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/behat/features/manage-files.feature b/tests/behat/features/manage-files.feature index 0a817eb3a..4a4675e04 100644 --- a/tests/behat/features/manage-files.feature +++ b/tests/behat/features/manage-files.feature @@ -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 diff --git a/tests/behat/features/manage-users.feature b/tests/behat/features/manage-users.feature index 7b4a7e2d7..99d608d3f 100644 --- a/tests/behat/features/manage-users.feature +++ b/tests/behat/features/manage-users.feature @@ -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" \ No newline at end of file