File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ test.describe('Instrument', () => {
5959 await expect ( dataProductDivs . nth ( 0 ) . locator ( '[data-cy=doi-label]' ) ) . toBeVisible ( ) ;
6060 await expect ( dataProductDivs . nth ( 0 ) . locator ( '[data-cy=doi-link]' ) ) . toBeVisible ( ) ;
6161
62- await expect ( page . locator ( '[data-cy=data-product-campaigns] [data-cy=doi-campaign-label]' ) ) . toHaveText ( 'Campaigns' ) ;
63- await expect ( page . locator ( '[data-cy=data-product-platforms] [data-cy=doi-platform-label]' ) ) . toHaveText ( 'Platforms' ) ;
62+ await expect ( page . locator ( '[data-cy=data-product-campaigns] [data-cy=doi-campaign-label]' ) . nth ( 0 ) ) . toHaveText ( 'Campaigns' ) ;
63+ await expect ( page . locator ( '[data-cy=data-product-platforms] [data-cy=doi-platform-label]' ) . nth ( 0 ) ) . toHaveText ( 'Platforms' ) ;
6464
6565 await expect ( page . locator ( '[data-cy=entities-section]' ) ) . toBeVisible ( ) ;
6666 await expect ( page . locator ( '[data-cy=entities-section] h2' ) ) . toHaveText ( 'Instrument Operation' ) ;
You can’t perform that action at this time.
0 commit comments