Skip to content

Commit

Permalink
missed some more
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Dec 11, 2024
1 parent fafb842 commit bbad9de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Bulk Delete', function () {

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

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

// the document is deleted
expect(
browser.$(Selectors.DocumentListActionBarMessage).getText()
await browser.$(Selectors.DocumentListActionBarMessage).getText()
).to.equal('0 – 0 of 0');
});

Expand Down Expand Up @@ -153,7 +153,7 @@ describe('Bulk Delete', function () {

// the document is not deleted
expect(
browser.$(Selectors.DocumentListActionBarMessage).getText()
await browser.$(Selectors.DocumentListActionBarMessage).getText()
).to.equal('1 – 1 of 1');
});

Expand Down
4 changes: 2 additions & 2 deletions packages/compass-e2e-tests/tests/read-only.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ describe('readOnly: true / Read-Only Edition', function () {
);

expect(
browser.$(Selectors.UpdateValidationButton).isExisting()
await browser.$(Selectors.UpdateValidationButton).isExisting()
).to.be.equal(true);
expect(
await browser
Expand Down Expand Up @@ -364,7 +364,7 @@ describe('readOnly: true / Read-Only Edition', function () {
.getAttribute('aria-disabled')
).to.equal('true');
expect(
browser.$(Selectors.UpdateValidationButton).isExisting()
await browser.$(Selectors.UpdateValidationButton).isExisting()
).to.be.equal(false);
});
});

0 comments on commit bbad9de

Please sign in to comment.