Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: Behat configuration
I want to ensure Behat is properly configured
So that behavioral tests can run successfully across all environments

@api
@api @javascript
Scenario: Screenshot functionality works
Given I am an anonymous user
When I am on the homepage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ Feature: Homepage

@api
Scenario: Anonymous user visits homepage
Given I go to the homepage
And the path should be "<front>"
Then I save screenshot
Given I am an anonymous user
When I go to the homepage
Then the path should be "<front>"
And I save screenshot

@api @javascript
Scenario: Anonymous user visits homepage using a real browser
Given I go to the homepage
And the path should be "<front>"
Then I save screenshot
Given I am an anonymous user
When I go to the homepage
Then the path should be "<front>"
And I save screenshot
2 changes: 1 addition & 1 deletion tests/behat/features/behat.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: Behat configuration
I want to ensure Behat is properly configured
So that behavioral tests can run successfully across all environments

@api
@api @javascript
Scenario: Screenshot functionality works
Given I am an anonymous user
When I am on the homepage
Expand Down
14 changes: 8 additions & 6 deletions tests/behat/features/homepage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ Feature: Homepage

@api
Scenario: Anonymous user visits homepage
Given I go to the homepage
And the path should be "<front>"
Then I save screenshot
Given I am an anonymous user
When I go to the homepage
Then the path should be "<front>"
And I save screenshot

@api @javascript
Scenario: Anonymous user visits homepage using a real browser
Given I go to the homepage
And the path should be "<front>"
Then I save screenshot
Given I am an anonymous user
When I go to the homepage
Then the path should be "<front>"
And I save screenshot
Loading