Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Man 183 test date fix #247

Merged
merged 2 commits into from
Jan 6, 2025
Merged
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
4 changes: 2 additions & 2 deletions integration_tests/e2e/appointments/imports.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'cypress-plugin-tab'
import { DateTime } from 'luxon'
import AppointmentDateTimePage from '../../pages/appointments/date-time.page'
import AppointmentLocationPage from '../../pages/appointments/location.page'
import AppointmentSentencePage from '../../pages/appointments/sentence.page'
Expand All @@ -9,8 +10,7 @@ import AppointmentCheckYourAnswersPage from '../../pages/appointments/check-your

export const crn = 'X778160'
export const uuid = '19a88188-6013-43a7-bb4d-6e338516818f'
const today = new Date()
export const date = `${today.getFullYear()}-${today.getMonth() + 1}-${today.getDate()}`
export const date = DateTime.now().toISODate()
export const startTime = '9:00am'
export const endTime = '9:30am'
export const dateRegex: RegExp =
Expand Down
Loading