Skip to content

Commit 6001e22

Browse files
authored
fix: tests (#2439)
1 parent 76b37bb commit 6001e22

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tests/suites/tenant/diagnostics/tabs/access.test.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ test.describe('Diagnostics Access tab', async () => {
2222
await expect(diagnostics.isOwnerCardVisible()).resolves.toBe(true);
2323
});
2424

25-
// TODO: https://github.com/ydb-platform/ydb-embedded-ui/issues/2437
26-
test.skip('Can change owner on access tab', async ({page}) => {
25+
test('Can change owner on access tab', async ({page}) => {
2726
const pageQueryParams = {
2827
schema: '/local/.sys_health',
2928
database: '/local',
@@ -39,21 +38,20 @@ test.describe('Diagnostics Access tab', async () => {
3938
const initialOwnerName = await diagnostics.getOwnerName();
4039

4140
// Change the owner to "John Dow"
42-
const newOwnerName = 'John Dow';
41+
const newOwnerName = initialOwnerName + 'new';
4342
await diagnostics.changeOwner(newOwnerName);
4443

4544
// Verify the owner has been changed
4645
const updatedOwnerName = await diagnostics.getOwnerName();
4746
expect(updatedOwnerName).toBe(newOwnerName);
48-
expect(updatedOwnerName).not.toBe(initialOwnerName);
4947
});
5048

51-
// TODO: https://github.com/ydb-platform/ydb-embedded-ui/issues/2437
52-
test.skip('Owner card is visible after navigating to access tab', async ({page}) => {
49+
test('Owner card is visible after navigating to access tab', async ({page}) => {
5350
const pageQueryParams = {
54-
schema: '/dev02/home/xenoxeno/db1/my_row_table',
55-
database: '/dev02/home/xenoxeno/db1',
51+
schema: '/local/.sys_health',
52+
database: '/local',
5653
tenantPage: 'diagnostics',
54+
diagnosticsTab: 'access',
5755
};
5856
const tenantPage = new TenantPage(page);
5957
await tenantPage.goto(pageQueryParams);

0 commit comments

Comments
 (0)