File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
tests/e2e-frontend/tests/serviceBrowser Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -38,27 +38,27 @@ test.describe.serial(`Left Filters:`, () => {
3838 } ) ;
3939
4040 test ( `Filters` , async ( ) => {
41- const sharedWithFilters = page . getByTestId ( "service-sharedWithFilterItem" ) ;
42- await expect ( sharedWithFilters . first ( ) ) . toBeVisible ( {
41+ const sharedWithButtons = page . getByTestId ( "service-sharedWithFilterItem" ) ;
42+ await expect ( sharedWithButtons . first ( ) ) . toBeVisible ( {
4343 timeout : 30000 // it will take some time to load the Study Browser
4444 } ) ;
4545
46- const countSharedWith = await sharedWithFilters . count ( ) ;
46+ const countSharedWithButtons = await sharedWithButtons . count ( ) ;
4747 // All Services
4848 // My Services
4949 // Shared with Me
5050 // Shared with Everyone
51- expect ( countSharedWith === 4 ) . toBeTruthy ( ) ;
51+ expect ( countSharedWithButtons === 4 ) . toBeTruthy ( ) ;
5252
5353
54- const serviceTypeFilters = page . getByTestId ( "service-serviceTypeFilterItem" ) ;
55- await expect ( serviceTypeFilters . first ( ) ) . toBeVisible ( {
54+ const serviceTypeButtons = page . getByTestId ( "service-serviceTypeFilterItem" ) ;
55+ await expect ( serviceTypeButtons . first ( ) ) . toBeVisible ( {
5656 timeout : 30000 // it will take some time to load the Study Browser
5757 } ) ;
5858
59- const countServiceType = await serviceTypeFilters . count ( ) ;
59+ const countServiceTypeButtons = await serviceTypeButtons . count ( ) ;
6060 // Computational
6161 // Interactive
62- expect ( countServiceType === 2 ) . toBeTruthy ( ) ;
62+ expect ( countServiceTypeButtons === 2 ) . toBeTruthy ( ) ;
6363 } ) ;
6464} ) ;
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ for (const product in products) {
7777 timeout : 30000
7878 } ) ;
7979
80- const serviceItems = servicesList . locator ( ':scope > *' ) ;
81- const count = await serviceItems . count ( ) ;
80+ const serviceCards = servicesList . locator ( ':scope > *' ) ;
81+ const count = await serviceCards . count ( ) ;
8282 console . log ( "N Services listed" , count ) ;
8383 expect ( count > 0 ) ;
8484 } ) ;
You can’t perform that action at this time.
0 commit comments