Línea 20... |
Línea 20... |
20 |
And I press the escape key
|
20 |
And I press the escape key
|
21 |
And I open the action menu in "Starter" "table_row"
|
21 |
And I open the action menu in "Starter" "table_row"
|
22 |
And I should not see "Delete"
|
22 |
And I should not see "Delete"
|
Línea 23... |
Línea 23... |
23 |
|
23 |
|
24 |
Scenario: Custom preset settings can be deleted
|
- |
|
25 |
Given I should see "Custom preset"
|
24 |
Scenario: Custom preset settings can be deleted
|
26 |
And I open the action menu in "Custom preset" "table_row"
|
- |
|
27 |
When I choose "Delete" in the open action menu
|
25 |
When I press "Delete" action in the "Custom preset" report row
|
28 |
And I should see "Are you sure you want to delete the site admin preset Custom preset?"
|
26 |
Then I should see "Are you sure you want to delete the site admin preset Custom preset?"
|
29 |
And I should not see "This preset has been previously applied"
|
27 |
And I should not see "This preset has been previously applied"
|
30 |
And I click on "Cancel" "button"
|
28 |
And I click on "Cancel" "button" in the ".modal-dialog" "css_element"
|
31 |
And I should see "Presets allow you to easily switch between different site admin configurations."
|
- |
|
32 |
And "Custom preset" "table_row" should exist
|
29 |
And I should see "Presets allow you to easily switch between different site admin configurations."
|
33 |
And I open the action menu in "Custom preset" "table_row"
|
- |
|
34 |
And I choose "Delete" in the open action menu
|
30 |
And I press "Delete" action in the "Custom preset" report row
|
35 |
And I should not see "This preset has been previously applied"
|
31 |
And I should not see "This preset has been previously applied"
|
36 |
And I click on "Delete" "button"
|
32 |
And I click on "Delete" "button" in the ".modal-dialog" "css_element"
|
37 |
And I should see "Presets allow you to easily switch between different site admin configurations."
|
33 |
And I should see "Presets allow you to easily switch between different site admin configurations."
|
Línea 38... |
Línea 34... |
38 |
Then "Custom preset" "table_row" should not exist
|
34 |
And I should not see "Custom preset" in the "reportbuilder-table" "table"
|
39 |
|
- |
|
40 |
Scenario: Delete preset that has been applied
|
35 |
|
41 |
Given I open the action menu in "Custom preset" "table_row"
|
36 |
Scenario: Delete preset that has been applied
|
42 |
And I choose "Review settings and apply" in the open action menu
|
37 |
When I press "Review settings and apply" action in the "Custom preset" report row
|
43 |
And I click on "Apply" "button"
|
38 |
And I click on "Apply" "button"
|
44 |
And I navigate to "Site admin presets" in site administration
|
- |
|
45 |
When I open the action menu in "Custom preset" "table_row"
|
39 |
And I navigate to "Site admin presets" in site administration
|
46 |
And I choose "Delete" in the open action menu
|
40 |
And I press "Delete" action in the "Custom preset" report row
|
47 |
And I should see "Are you sure you want to delete the site admin preset Custom preset?"
|
41 |
And I should see "Are you sure you want to delete the site admin preset Custom preset?"
|
48 |
Then I should see "This preset has been previously applied"
|
42 |
Then I should see "This preset has been previously applied"
|
49 |
And I click on "Delete" "button"
|
43 |
And I click on "Delete" "button" in the ".modal-dialog" "css_element"
|