Skip to content

Commit 11115e6

Browse files
committed
fix: tests
1 parent 44fc571 commit 11115e6

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

src/components/Drawer/Drawer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99

1010
&__item {
11-
z-index: calc(var(--ydb-drawer-veil-z-index) + 1);
11+
z-index: 11;
1212

1313
height: 100%;
1414
}

src/components/Fullscreen/Fullscreen.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// should expand to fill the content area, keeping aside navigation visible
77
// counts on .gn-aside-header__content to have position: relative, it is set in App.scss
88
position: absolute;
9-
z-index: calc(var(--ydb-drawer-veil-z-index) + 3);
9+
z-index: 10;
1010
inset: 0;
1111

1212
background-color: var(--g-color-base-background);

src/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@forward './illustrations.scss';
55

66
body {
7-
--ydb-drawer-veil-z-index: 11;
7+
--ydb-drawer-veil-z-index: 0;
88

99
--gn-drawer-veil-z-index: var(--ydb-drawer-veil-z-index);
1010
margin: 0;

tests/suites/tenant/diagnostics/Diagnostics.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export class Diagnostics {
243243
this.cpuCard = page.locator('.metrics-cards__tab:has-text("CPU")');
244244
this.storageCard = page.locator('.metrics-cards__tab:has-text("Storage")');
245245
this.memoryCard = page.locator('.metrics-cards__tab:has-text("Memory")');
246-
this.healthcheckCard = page.locator('.metrics-cards__tab:has-text("Healthcheck")');
246+
this.healthcheckCard = page.locator('.ydb-healthcheck-preview');
247247
}
248248

249249
async isSchemaViewerVisible() {
@@ -334,9 +334,7 @@ export class Diagnostics {
334334
}
335335

336336
async getHealthcheckStatus() {
337-
const statusElement = this.healthcheckCard.locator(
338-
'.healthcheck__self-check-status-indicator',
339-
);
337+
const statusElement = this.healthcheckCard.locator('.ydb-healthcheck-preview__icon');
340338
return (await statusElement.textContent())?.trim() || '';
341339
}
342340

0 commit comments

Comments
 (0)