Skip to content

Commit 9dfb689

Browse files
committed
check with esc
1 parent 9ff7eae commit 9dfb689

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/e2e/tests/electron/regression/database/cloud-sso.e2e.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ test('Verify that user can see SSO feature if it is enabled in feature config',
3939
await t.click(myRedisDatabasePage.promoButton);
4040
// Verify that Cloud Sign in dialog has authorization buttons for Electron app
4141
await t.expect(myRedisDatabasePage.AuthorizationDialog.authDialog.exists).ok('Cloud Sigh in modal not opened');
42-
// await t.expect(myRedisDatabasePage.AuthorizationDialog.googleAuth.exists).ok('Google auth button not displayed in Sigh in modal');
43-
// await t.expect(myRedisDatabasePage.AuthorizationDialog.gitHubAuth.exists).ok('Github auth button not displayed in Sigh in modal');
44-
// await t.expect(myRedisDatabasePage.AuthorizationDialog.ssoAuth.exists).ok('SSO auth button not displayed in Sigh in modal');
45-
await t.click(myRedisDatabasePage.Modal.closeModalButton);
42+
await t.expect(myRedisDatabasePage.AuthorizationDialog.googleAuth.exists).ok('Google auth button not displayed in Sigh in modal');
43+
await t.expect(myRedisDatabasePage.AuthorizationDialog.gitHubAuth.exists).ok('Github auth button not displayed in Sigh in modal');
44+
await t.expect(myRedisDatabasePage.AuthorizationDialog.ssoAuth.exists).ok('SSO auth button not displayed in Sigh in modal');
45+
// await t.click(myRedisDatabasePage.Modal.closeModalButton);
46+
await t.pressKey('escape');
4647

4748
await t.click(myRedisDatabasePage.AddRedisDatabase.addDatabaseButton);
4849
await t.click(myRedisDatabasePage.AddRedisDatabase.addAutoDiscoverDatabase);

0 commit comments

Comments
 (0)