Updates mongo spec to remove waitFor on already awaited selector

This commit is contained in:
zfoster 2020-11-18 14:14:53 -05:00
parent 194d78af19
commit d7a077c558

View File

@ -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]);