@@ -3,8 +3,6 @@ import { DateTime } from 'luxon';
33import { ENV_LOCATION_NAME } from '../../e2e-utils/resource/constants' ;
44import { ResourceHandler } from '../../e2e-utils/resource-handler' ;
55import { expectAddPatientPage } from '../page/AddPatientPage' ;
6- import { CssHeader } from '../page/CssHeader' ;
7- import { expectPatientInfoPage } from '../page/PatientInfo' ;
86import { openVisitsPage } from '../page/VisitsPage' ;
97
108const PROCESS_ID = `trackingBoardButtons.spec.ts-${ DateTime . now ( ) . toMillis ( ) } ` ;
@@ -39,7 +37,7 @@ test('Click on "Arrived" button, verify visit is moved to "In office" tab and v
3937 await visitsPage . verifyVisitsStatus ( resourceHandler . appointment . id ! , 'arrived' ) ;
4038} ) ;
4139
42- test ( 'Check clicks on appointment row elements' , async ( { page } ) => {
40+ test . skip ( 'Check clicks on appointment row elements' , async ( { page } ) => {
4341 let visitsPage = await openVisitsPage ( page ) ;
4442 await visitsPage . selectLocation ( ENV_LOCATION_NAME ! ) ;
4543 await visitsPage . clickPrebookedTab ( ) ;
@@ -52,18 +50,6 @@ test('Check clicks on appointment row elements', async ({ page }) => {
5250 await visitsPage . clickVisitDetailsButton ( resourceHandler . appointment . id ! ) ;
5351 await page . waitForURL ( new RegExp ( '/visit/' + resourceHandler . appointment . id ! ) ) ;
5452
55- visitsPage = await openVisitsPage ( page ) ;
56- await visitsPage . selectLocation ( ENV_LOCATION_NAME ! ) ;
57- await visitsPage . clickPrebookedTab ( ) ;
58- await visitsPage . clickArrivedButton ( resourceHandler . appointment . id ! ) ;
59- await visitsPage . clickInOfficeTab ( ) ;
60- await visitsPage . clickIntakeButton ( resourceHandler . appointment . id ! ) ;
61- const cssHeader = new CssHeader ( page ) ;
62- await cssHeader . selectIntakePractitioner ( ) ;
63- await cssHeader . selectProviderPractitioner ( ) ;
64- const patientInfoPage = await expectPatientInfoPage ( resourceHandler . appointment . id ! , page ) ;
65- await patientInfoPage . cssHeader ( ) . changeStatus ( 'completed' ) ;
66-
6753 visitsPage = await openVisitsPage ( page ) ;
6854 await visitsPage . clickDischargedTab ( ) ;
6955 await visitsPage . clickProgressNoteButton ( resourceHandler . appointment . id ! ) ;
0 commit comments