mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-18 16:31:31 +00:00
Added testExplorer and notebooks UI automated tests (#323)
* initial commit for notbooks pupeteer tests * Added Auth * added try catch block with screenshot for error * Addressed PR comments * renamed params * renamed param * fixed formatting error * Updates mongo spec to remove waitFor on already awaited selector * added logging statements * format errors fixed * added ci env variables * increased delay for render * removed logging * added delay * fix format error * removed deletion * reverted package.json change Co-authored-by: zfoster <notzachfoster@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5c93c11bd9
commit
a93c8509cd
@@ -82,10 +82,6 @@ describe("Collection Add and Delete Mongo spec", () => {
|
||||
);
|
||||
|
||||
if (collections.length) {
|
||||
await frame.waitFor(`div[class="collectionHeader main2 nodeItem "] > div[class="treeNodeHeader "]`, {
|
||||
visible: true
|
||||
});
|
||||
|
||||
const textId = await frame.evaluate(element => {
|
||||
return element.attributes["data-test"].textContent;
|
||||
}, collections[0]);
|
||||
|
||||
Reference in New Issue
Block a user