diff --git a/tests/behat/features/edit-a-page.feature b/tests/behat/features/edit-a-page.feature index 7b50624d..03a17b92 100644 --- a/tests/behat/features/edit-a-page.feature +++ b/tests/behat/features/edit-a-page.feature @@ -27,3 +27,14 @@ Feature: Edit a page When I click on "About Us" in the tree Then the "Title" field should contain "About Us!" And the "Content" HTML field should contain "my new content" + + @javascript + Scenario: I can toggle between the main tabs on a page + When I click on "About Us" in the tree + Then I should see an edit page form + And I should see a "Settings" tab in the CMS content header tabs + And the "Content" header tab should be active + + When I click on "Settings" in the header tabs + Then the "Settings" header tab should be active + And the "Content" header tab should not be active