AutorÃa | Ultima modificación | Ver Log |
@block @block_admin_bookmarksFeature: Add a bookmarks to an admin pagesIn order to speed up common tasksAs an adminI need to add and access pages through bookmarksBackground:Given I log in as "admin"And I navigate to "Server > Tasks > Scheduled tasks" in site administrationAnd I click on "Bookmark this page" "link" in the "Admin bookmarks" "block"And I log out# Test bookmark functionality using the "User profile fields" page as our bookmark.Scenario: Admin page can be bookmarkedGiven I log in as "admin"And I navigate to "Users > Accounts > User profile fields" in site administrationWhen I click on "Bookmark this page" "link" in the "Admin bookmarks" "block"Then I should see "User profile fields" in the "Admin bookmarks" "block"# See the existing bookmark is there too.And I should see "Scheduled tasks" in the "Admin bookmarks" "block"Scenario: Admin page can be accessed through bookmarks blockGiven I log in as "admin"And I navigate to "Notifications" in site administrationAnd I click on "Scheduled tasks" "link" in the "Admin bookmarks" "block"# Verify that we are on the right page.Then I should see "Day of week" in the "admintable" "table"Scenario: Admin page can be removed from bookmarksGiven I log in as "admin"And I navigate to "Notifications" in site administrationAnd I click on "Scheduled tasks" "link" in the "Admin bookmarks" "block"When I click on "Unbookmark this page" "link" in the "Admin bookmarks" "block"Then I should see "Bookmark deleted"And I wait to be redirectedAnd I should not see "Scheduled tasks" in the "Admin bookmarks" "block"