diff --git a/.github/workflows/compatibility_tests.yml b/.github/workflows/compatibility_tests.yml index 9bee85613..a25d7d3c7 100644 --- a/.github/workflows/compatibility_tests.yml +++ b/.github/workflows/compatibility_tests.yml @@ -110,6 +110,8 @@ jobs: run: make unit-test-server - name: Smoke Tests run: make smoke-test + env: + DEBUG: puppeteer:* # Enable Puppeteer debug logs # FIXME: Fails intermittently. See https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/chanzuckerberg/cellxgene/2415 # - name: Smoke Tests with Annotations # run: make smoke-test-annotations diff --git a/client/jest-puppeteer.config.js b/client/jest-puppeteer.config.js index 5d36298de..bcf17063e 100644 --- a/client/jest-puppeteer.config.js +++ b/client/jest-puppeteer.config.js @@ -4,6 +4,7 @@ * and `page` objects */ +const puppeteer = require("puppeteer"); const ENV_DEFAULT = require("../environment.default.json"); const jestEnv = process.env.JEST_ENV || ENV_DEFAULT.JEST_ENV; @@ -14,6 +15,7 @@ const DEFAULT_LAUNCH_CONFIG = { headless: !isHeadful, args: ["--ignore-certificate-errors", "--ignore-ssl-errors"], ignoreHTTPSErrors: true, + executablePath: puppeteer.executablePath(), defaultViewport: { width: 1280, height: 960, @@ -43,5 +45,4 @@ const launchConfig = LAUNCH_CONFIG_BY_ENV[jestEnv] || DEFAULT_LAUNCH_CONFIG; module.exports = { browserContext: "incognito", launch: launchConfig, - testTimeout: 100000, };