mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-23 12:37:25 +00:00
Updates mongo spec to remove waitFor on already awaited selector
This commit is contained in:
parent
194d78af19
commit
d7a077c558
@ -82,10 +82,6 @@ describe("Collection Add and Delete Mongo spec", () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (collections.length) {
|
if (collections.length) {
|
||||||
await frame.waitFor(`div[class="collectionHeader main2 nodeItem "] > div[class="treeNodeHeader "]`, {
|
|
||||||
visible: true
|
|
||||||
});
|
|
||||||
|
|
||||||
const textId = await frame.evaluate(element => {
|
const textId = await frame.evaluate(element => {
|
||||||
return element.attributes["data-test"].textContent;
|
return element.attributes["data-test"].textContent;
|
||||||
}, collections[0]);
|
}, collections[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user