Skip to content

Commit be2e6f7

Browse files
committed
test 4
1 parent 9c3f8ce commit be2e6f7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/e2e/tests/web/critical-path/url-handling/url-handling.e2e.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ test
4040
};
4141

4242
await t.navigateTo(generateLink(connectUrlParams));
43-
await t.expect(await myRedisDatabasePage.AddRedisDatabase.disabledDatabaseInfo.nth(0).getAttribute('title')).contains(host, 'Wrong host value');
44-
await t.expect(await myRedisDatabasePage.AddRedisDatabase.disabledDatabaseInfo.nth(1).getAttribute('title')).contains(port, 'Wrong port value');
43+
await t.expect(myRedisDatabasePage.AddRedisDatabase.disabledDatabaseInfo.nth(0).getAttribute('title')).contains(host, 'Wrong host value');
44+
await t.expect(myRedisDatabasePage.AddRedisDatabase.disabledDatabaseInfo.nth(1).getAttribute('title')).contains(port, 'Wrong port value');
4545
await t.click(myRedisDatabasePage.AddRedisDatabase.addRedisDatabaseButton);
4646
// wait for db is added
4747
// await t.wait(10_000);
48-
await t.expect(await workbenchPage.closeEnablementPage.exists).ok('Redirection to Workbench tutorial is not correct');
48+
await t.expect(workbenchPage.closeEnablementPage.exists).ok('Redirection to Workbench tutorial is not correct');
4949
});
5050

5151
test
@@ -77,11 +77,11 @@ test
7777

7878
await t.navigateTo(generateLink(connectUrlParams));
7979
// await t.wait(15_000);
80-
await t.expect(await workbenchPage.closeEnablementPage.exists).ok('Redirection to Workbench tutorial is not correct');
80+
await t.expect(workbenchPage.closeEnablementPage.exists).ok('Redirection to Workbench tutorial is not correct');
8181

8282
//Verify that the same db is not added
8383
await t.navigateTo(generateLink(connectUrlParams));
8484
await t.click(workbenchPage.NavigationPanel.myRedisDBButton);
8585
await t.expect(browserPage.notification.exists).notOk({ timeout: 10000 });
86-
await t.expect(await myRedisDatabasePage.dbNameList.child('span').withExactText(databaseName).count).eql(2, 'the same db is added twice');
86+
await t.expect(myRedisDatabasePage.dbNameList.child('span').withExactText(databaseName).count).eql(2, 'the same db is added twice');
8787
});

0 commit comments

Comments
 (0)