mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 17:58:12 +08:00
Fix smoke tests to work with remote deployments of cellxgene (#1469)
* Add test for terms of service * Add workaround for chromium CSP require-trusted-types-for error
This commit is contained in:
@@ -44,8 +44,8 @@ export const puppeteerUtils = (page) => ({
|
||||
},
|
||||
|
||||
async clickOn(testid, options = {}) {
|
||||
await this.waitByID(testid);
|
||||
const click = await page.click(`[data-testid='${testid}']`, options);
|
||||
await this.waitByID(testid, options);
|
||||
const click = await page.click(`[data-testid='${testid}']`);
|
||||
await page.waitFor(50);
|
||||
return click;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user