You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per #95, it looks like the mock events need to be fine tuned since the "Premier" is happening in the past, given these tests are running so soon to the beginning of the month
❌ Components/Upcoming Events > Multiple events > should display the correct month heading
AssertionError: expected '\n December\n ' to include 'November'
at src/components/upcoming-events/upcoming-events.spec.js:137:40
at NodeList.forEach (<anonymous>)
at o.<anonymous> (src/components/upcoming-events/upcoming-events.spec.js:136:16)
❌ Components/Upcoming Events > Multiple events > should display the correct date details
AssertionError: expected '3Tuesday\'sTunesSeason3-Premier!@3pm' to equal '28Tuesday\'sTunesSeason3-TeaserTrailer@3pm' + expected - actual -3Tuesday'sTunesSeason3-Premier!@3pm
+28Tuesday'sTunesSeason3-TeaserTrailer@3pm at src/components/upcoming-events/upcoming-events.spec.js:148:77 at NodeList.forEach (<anonymous>) at o.<anonymous> (src/components/upcoming-events/upcoming-events.spec.js:144:16) ❌ Components/Upcoming Events > Multiple events > should display the correct link details AssertionError: expected 'Tuesday\'s Tunes Season 3 - Premier!' to equal 'Tuesday\'s Tunes Season 3 - Teaser Trailer' + expected - actual -Tuesday's Tunes Season 3 - Premier!
+Tuesday's Tunes Season 3 - Teaser Trailer at src/components/upcoming-events/upcoming-events.spec.js:164:31 at NodeList.forEach (<anonymous>) at o.<anonymous> (src/components/upcoming-events/upcoming-events.spec.js:155:13)
And confirming its not even showing up in Storybook
Likely because we subtract when calculating its startTime which when today 12/3/2022, puts the event back in November, and the Upcoming Events don't display past dates.
},{title: 'Tuesday\'s Tunes Season 3 - Teaser Trailer',startTime: SINGLE_EVENT[0].startTime-(86400000*5),description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elite.',link: 'http://www.facebook.com/'},{
The text was updated successfully, but these errors were encountered:
thescientist13
changed the title
upcoming events tests failing due to expired dates
upcoming events tests failing due to "expired" mock date (when close to the start of the month)
Dec 3, 2022
As per #95, it looks like the mock events need to be fine tuned since the "Premier" is happening in the past, given these tests are running so soon to the beginning of the month
And confirming its not even showing up in Storybook
Likely because we subtract when calculating its
startTime
which when today 12/3/2022, puts the event back in November, and the Upcoming Events don't display past dates.The text was updated successfully, but these errors were encountered: