Skip to content

Commit

Permalink
Man 183 test date fix (#247)
Browse files Browse the repository at this point in the history
* MAN-183: Use luxon date directly

* MAN-183: Use luxon date directly
  • Loading branch information
pmcphee77 authored Jan 6, 2025
1 parent f14cf93 commit 10fe7e5
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 10fe7e5

Please sign in to comment.