Add delete confirmation to static pages.
We used to use a regular JS `confirm`; this makes the UI consistent with the rest of Studio.
This commit is contained in:
@@ -11,8 +11,9 @@ Feature: Static Pages
|
||||
Given I have opened a new course in Studio
|
||||
And I go to the static pages page
|
||||
And I add a new page
|
||||
When I will confirm all alerts
|
||||
And I "delete" the "Empty" page
|
||||
Then I am shown a prompt
|
||||
When I confirm the prompt
|
||||
Then I should not see a "Empty" static page
|
||||
|
||||
# Safari won't update the name properly
|
||||
|
||||
Reference in New Issue
Block a user