Skip to content

Commit bbad9de

Browse files
committed
missed some more
1 parent fafb842 commit bbad9de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/compass-e2e-tests/tests/collection-bulk-delete.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('Bulk Delete', function () {
6666

6767
// Make sure the query is shown in the modal.
6868
expect(
69-
browser.$(Selectors.BulkDeleteModalReadonlyFilter).getText()
69+
await browser.$(Selectors.BulkDeleteModalReadonlyFilter).getText()
7070
).to.equal('{ i: 5 }');
7171

7272
// Check that it will update the expected number of documents
@@ -117,7 +117,7 @@ describe('Bulk Delete', function () {
117117

118118
// the document is deleted
119119
expect(
120-
browser.$(Selectors.DocumentListActionBarMessage).getText()
120+
await browser.$(Selectors.DocumentListActionBarMessage).getText()
121121
).to.equal('0 – 0 of 0');
122122
});
123123

@@ -153,7 +153,7 @@ describe('Bulk Delete', function () {
153153

154154
// the document is not deleted
155155
expect(
156-
browser.$(Selectors.DocumentListActionBarMessage).getText()
156+
await browser.$(Selectors.DocumentListActionBarMessage).getText()
157157
).to.equal('1 – 1 of 1');
158158
});
159159

packages/compass-e2e-tests/tests/read-only.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ describe('readOnly: true / Read-Only Edition', function () {
329329
);
330330

331331
expect(
332-
browser.$(Selectors.UpdateValidationButton).isExisting()
332+
await browser.$(Selectors.UpdateValidationButton).isExisting()
333333
).to.be.equal(true);
334334
expect(
335335
await browser
@@ -364,7 +364,7 @@ describe('readOnly: true / Read-Only Edition', function () {
364364
.getAttribute('aria-disabled')
365365
).to.equal('true');
366366
expect(
367-
browser.$(Selectors.UpdateValidationButton).isExisting()
367+
await browser.$(Selectors.UpdateValidationButton).isExisting()
368368
).to.be.equal(false);
369369
});
370370
});

0 commit comments

Comments
 (0)