Skip to content

Commit

Permalink
OPENEUROPA-1616: Simplify behat test for corporate blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
voidtek committed Apr 1, 2019
1 parent a15f17d commit 8445d90
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 33 deletions.
11 changes: 0 additions & 11 deletions tests/features/corporate-blocks-footer.feature

This file was deleted.

11 changes: 0 additions & 11 deletions tests/features/corporate-blocks-site-switcher.feature

This file was deleted.

17 changes: 17 additions & 0 deletions tests/features/corporate-blocks.feature
@@ -0,0 +1,17 @@
@api
Feature: Corporate blocks feature
In order to be able to showcase Corporate blocks
As an anonymous user
I want to see Corporate blocks on all pages

Scenario Outline: The European Commission search form block is available throughout the site
Given I am an anonymous user
When I am on "<page>"
Then I should see the "search form" element in the "header"
And I should see the "sites switcher" element in the "header"
And I should see the "corporate footer" element in the "footer"

Examples:
| page |
| the homepage |
| the user registration page |
11 changes: 0 additions & 11 deletions tests/features/search-form.feature

This file was deleted.

0 comments on commit 8445d90

Please sign in to comment.