Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ describe('Collection indexes tab', function () {
Selectors.IndexFieldType
}`;
const indexFieldTypeElement = browser.$(indexFieldTypeSelector);
expect(await indexFieldTypeElement.getText()).to.equal('WILDCARD');
// TODO(COMPASS-8335):We can remove the waitUntil once in-progress indexes type is known
await browser.waitUntil(async function () {
const text = await indexFieldTypeElement.getText();
return text === 'WILDCARD';
});

await browser.dropIndex(indexName, 'drop-index-modal-wildcard.png');
});
Expand Down
Loading