Skip to content

Commit 1a42840

Browse files
committed
renaming
1 parent 9c79178 commit 1a42840

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tests/e2e-frontend/tests/serviceBrowser/leftFilters.spec.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
});

tests/e2e-frontend/tests/serviceBrowser/mainView.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)