Skip to content

Commit

Permalink
Test MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Dec 21, 2021
1 parent 36adfa4 commit 996c900
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on: [push, pull_request]
jobs:
ui-tests:
name: Visual Regression
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: [3.8]
fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion ui-tests/tests/xarray-leaflet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function renderMap(fileName: string, page: IJupyterLabPageFixture) {
await page.notebook.run();
await page.notebook.waitForRun();
const maps = await page.$("div.leaflet-container");
await new Promise((_) => setTimeout(_, 1000));
await new Promise((_) => setTimeout(_, 10000));
expect(await maps.screenshot()).toMatchSnapshot({
name: `${fileName}.png`,
});
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 996c900

Please sign in to comment.