File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
apps/intake/tests/utils/in-person Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import { expect } from '@playwright/test' ;
2+ import { shouldShowServiceCategorySelectionPage } from 'utils' ;
23import { BaseInPersonFlow } from './BaseInPersonFlow' ;
34
45export class PrebookInPersonFlow extends BaseInPersonFlow {
@@ -13,7 +14,9 @@ export class PrebookInPersonFlow extends BaseInPersonFlow {
1314 location : string | null ;
1415 } > {
1516 // Handle service category selection if present
16- await this . fillingInfo . selectFirstServiceCategory ( ) ;
17+ if ( shouldShowServiceCategorySelectionPage ( { serviceMode : 'in-person' , visitType : 'prebook' } ) ) {
18+ await this . fillingInfo . selectFirstServiceCategory ( ) ;
19+ }
1720
1821 await expect ( this . locator . firstAvailableTime ) . toBeVisible ( ) ;
1922 const title = await this . locator . pageTitle . textContent ( ) ;
You can’t perform that action at this time.
0 commit comments