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:
Peter Fogg
2013-08-22 16:41:07 -04:00
parent 7cd385bb67
commit 75b76b37ef
2 changed files with 29 additions and 17 deletions

View File

@@ -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