Skip to content

Commit

Permalink
update tests reflecting schedule tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 31, 2024
1 parent 05d3413 commit 99506d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/conferences/all_events.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Scenario: Display events using the conference's timezone
And I should see "All events are currently displayed in PDT (UTC -7)."
And I should see the following data: 8:00 am - 8:30 am PDT, 8:30 am - 9:00 am PDT
And I should see the following data in order: Dates, 2014-05-03, 2014-05-04, 2014-05-05, 2014-05-06, 2014-05-07, Unscheduled
And I should see the following data in order: 2014-05-03, 08:00 PDT, first_scheduled_event, 8:00 am, first_scheduled_subevent, 08:30 PDT, multiple_speaker_event
And I should see the following data in order: 2014-05-03, 08:00 AM PDT, first_scheduled_event, 8:00 am, first_scheduled_subevent, 08:30 AM PDT, multiple_speaker_event

Scenario: Display events using the user's timezone
Given I sign in with username "admin" and password "password123"
Expand All @@ -18,4 +18,4 @@ Scenario: Display events using the user's timezone
And I should see "All events are currently displayed in AEST (UTC 10)."
And I should see the following data: 1:00 am - 1:30 am AEST, 1:30 am - 2:00 am AEST
And I should see the following data in order: Dates, 2014-05-04, 2014-05-05, 2014-05-06, 2014-05-07, 2014-05-08, Unscheduled
And I should see the following data in order: 2014-05-04, 01:00 AEST, first_scheduled_event, 1:00 am, first_scheduled_subevent, 01:30 AEST, multiple_speaker_event
And I should see the following data in order: 2014-05-04, 01:00 AM AEST, first_scheduled_event, 1:00 am, first_scheduled_subevent, 01:30 AM AEST, multiple_speaker_event
2 changes: 1 addition & 1 deletion spec/features/event_schedules_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
it 'jumps to the closest event' do
find('#current-event-btn').click
highlighted_element = page.find('.highlighted', visible: true, wait: 1)
expect(highlighted_element[:class]).to include("event-#{scheduled_event_mid.id}")
expect(highlighted_element[:id]).to include("event-#{scheduled_event_mid.id}")
end
end

0 comments on commit 99506d0

Please sign in to comment.