File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ test.describe('ER status', () => {
31
31
await expect ( appPage ) . toHaveURL ( '/ems' ) ;
32
32
await appPage . getByRole ( 'button' , { name : / h o s p i t a l i n f o / i } ) . click ( ) ;
33
33
const ucsfRow = appPage . locator ( '.hospitalstatusrow_container' ) . filter ( { hasText : / u c s f p a r n a s s u s / i } ) ;
34
- await expect ( ucsfRow . getByText ( '5' ) ) . toBeVisible ( ) ;
35
- await expect ( ucsfRow . getByText ( '8' ) ) . toBeVisible ( ) ;
34
+ await expect ( ucsfRow . locator ( '.hospitalstatusrow__data' ) . filter ( { hasText : '5' } ) ) . toBeVisible ( ) ;
35
+ await expect ( ucsfRow . locator ( '.hospitalstatusrow__data' ) . filter ( { hasText : '8' } ) ) . toBeVisible ( ) ;
36
36
await expect ( ucsfRow . getByText ( 'scanner broke' ) ) . toBeVisible ( ) ;
37
37
await context . close ( ) ;
38
38
} ) ;
@@ -66,7 +66,6 @@ test.describe('ER status', () => {
66
66
await expect ( appPage ) . toHaveURL ( '/ems' ) ;
67
67
await appPage . getByRole ( 'button' , { name : / h o s p i t a l i n f o / i } ) . click ( ) ;
68
68
const row = appPage . locator ( '.hospitalstatusrow_container' , { hasText : / u c s f p a r n a s s u s / i } ) ;
69
- // console.log("ROW: ", row)
70
69
await expect ( row . locator ( '.hospitalstatusrow__data' , { hasText : '5' } ) ) . not . toBeVisible ( ) ;
71
70
await expect ( row . locator ( '.hospitalstatusrow__data' , { hasText : '8' } ) ) . not . toBeVisible ( ) ;
72
71
await expect ( row . locator ( '.hospitalstatusrow__notes' , { hasText : 'scanner broke' } ) ) . not . toBeVisible ( ) ;
You can’t perform that action at this time.
0 commit comments