This commit is contained in:
Colin Megill
2021-06-29 18:42:59 -07:00
parent 4e227ddb36
commit 1e2b27db80
2 changed files with 67838 additions and 3911 deletions
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -148,7 +148,7 @@ describe.each([
await waitByClass("pop-1-geneset-expand"); await waitByClass("pop-1-geneset-expand");
await expect(page).toClick(getTestClass("pop-1-geneset-expand")); await expect(page).toClick(getTestClass("pop-1-geneset-expand"));
const popOne = await waitByClass("histogram-gene-set-summary"); const popOne = await waitByClass("histogram-gene-set-summary");
const popOneParent = await popOne.getProperty("parentNode"); const popOneParent = (await popOne.$x(".."))[0];
await page.waitForFunction( await page.waitForFunction(
(selector) => !document.querySelector(selector), (selector) => !document.querySelector(selector),
@@ -162,9 +162,9 @@ describe.each([
await expect(page).toClick(getTestClass("pop-2-geneset-expand")); await expect(page).toClick(getTestClass("pop-2-geneset-expand"));
const popTwo = await waitByClass("histogram-gene-set-summary"); const popTwo = await waitByClass("histogram-gene-set-summary");
const popTwoParent = await popTwo.getProperty("parentNode"); const popTwoParent = (await popTwo.$x(".."))[0];
await popTwoParent.waitForFunction( await page.waitForFunction(
(selector) => !document.querySelector(selector), (selector) => !document.querySelector(selector),
{}, {},
getTestClass("gene-loading-spinner") getTestClass("gene-loading-spinner")