Skip to content

Commit 30078bf

Browse files
committed
fix for failed test
1 parent 42549c2 commit 30078bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/tests/smoke/cli/cli.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test('Verify that user can use blocking command', async t => {
4545
// Open CLI
4646
await t.click(cliPage.cliExpandButton);
4747
// Check that CLI is opened
48-
await t.expect(cliPage.cliArea.exists).ok('CLI area is not displayed');
48+
await t.expect(cliPage.cliArea.visible).ok('CLI area is not displayed');
4949
// Type blocking command
5050
await t.typeText(cliPage.cliCommandInput, 'blpop newKey 10000');
5151
await t.pressKey('enter');
@@ -55,7 +55,7 @@ test('Verify that user can use blocking command', async t => {
5555
// Collaple CLI
5656
await t.click(cliPage.cliCollapseButton);
5757
// Verify that user can collapse CLI
58-
await t.expect(cliPage.cliArea.exists).notOk('CLI area should still displayed');
58+
await t.expect(cliPage.cliArea.visible).notOk('CLI area should still displayed');
5959
});
6060
test
6161
.meta({ env: env.web })('Verify that user can use unblocking command', async t => {

0 commit comments

Comments
 (0)