mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixed behat tests for confirming grid field dialogs
This commit is contained in:
parent
362d35742f
commit
de3b1b22d3
@ -43,8 +43,7 @@ Feature: Manage files
|
|||||||
Scenario: I can delete a file
|
Scenario: I can delete a file
|
||||||
Given I click on "folder1" in the "Files" table
|
Given I click on "folder1" in the "Files" table
|
||||||
And I click on "file1" in the "folder1" table
|
And I click on "file1" in the "folder1" table
|
||||||
And I press the "Delete" button
|
And I press the "Delete" button, confirming the dialog
|
||||||
And I confirm the dialog
|
|
||||||
Then the "folder1" table should not contain "file1"
|
Then the "folder1" table should not contain "file1"
|
||||||
|
|
||||||
Scenario: I can change the folder of a file
|
Scenario: I can change the folder of a file
|
||||||
|
@ -51,6 +51,6 @@ Feature: Manage users
|
|||||||
Scenario: I can delete an existing user
|
Scenario: I can delete an existing user
|
||||||
When I click the "Users" CMS tab
|
When I click the "Users" CMS tab
|
||||||
And I click "staffmember@test.com" in the "#Root_Users" element
|
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"
|
Then I should see "admin@test.com"
|
||||||
And I should not see "staffmember@test.com"
|
And I should not see "staffmember@test.com"
|
Loading…
x
Reference in New Issue
Block a user