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:
Srinath Narayanan
2020-11-19 09:29:38 -08:00
committed by GitHub
parent 5c93c11bd9
commit a93c8509cd
16 changed files with 860 additions and 24 deletions

View File

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