Skip to content

Commit

Permalink
PROD-22452: Add scenario in filter community events behat test for di…
Browse files Browse the repository at this point in the history
…fferent timezones
  • Loading branch information
Kovalskiy266 authored and ribel committed Aug 30, 2023
1 parent 729b2cc commit 91b878a
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ Feature: Filter community events
Role: As a Verified
Goal/desire: I want to filter events that have all day checkbox activated

Scenario: Successfully use filters for ongoing and upcoming events with today's end date for different timezones
Given users:
| name | status | timezone | roles |
| regular user | 1 | UTC | verified |
| Australian user | 1 | Australia/Victoria | verified |
| American user | 1 | America/Anchorage | verified |
And event content:
| title | body | field_content_visibility | field_event_date | field_event_date_end | field_event_all_day | langcode | author |
| My awesome australian and and american pepsi-cola party | lorem ipsum | public | today | today | 1 | en | regular user |
And I am logged in as "Australian user"

Given I am on the event overview
When I click radio button "Ongoing and upcoming events"
And I press "Filter"
Then I should see "My awesome australian and and american pepsi-cola party"

Given I am logged in as "American user"
When I am on the event overview
And I click radio button "Ongoing and upcoming events"
And I press "Filter"
Then I should see "My awesome australian and and american pepsi-cola party"

Scenario: Successfully use filters for ongoing and upcoming events with today's end date
Given users:
| name | mail | status | timezone | roles |
Expand Down

0 comments on commit 91b878a

Please sign in to comment.