Skip to content

Commit 7c96f04

Browse files
committed
another
1 parent bbad9de commit 7c96f04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compass-e2e-tests/helpers/commands/scroll-to-virtual-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export async function scrollToVirtualItem(
9797

9898
await browser.waitUntil(async () => {
9999
await browser.pause(100);
100-
const targetElement = browser.$(targetSelector);
100+
const targetElement = await browser.$(targetSelector);
101101
if (await targetElement.isExisting()) {
102102
await targetElement.waitForDisplayed();
103103
await targetElement.scrollIntoView();

packages/compass-e2e-tests/tests/connection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ describe('Connection string', function () {
322322
});
323323

324324
// check the error
325-
const toastTitle = browser.$(Selectors.LGToastTitle).getText();
325+
const toastTitle = await browser.$(Selectors.LGToastTitle).getText();
326326
expect(toastTitle).to.equal('Authentication failed.');
327327

328328
const errorMessage = await browser

0 commit comments

Comments
 (0)