Skip to content

Commit 996c900

Browse files
committed
Test MacOS
1 parent 36adfa4 commit 996c900

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ui-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on: [push, pull_request]
55
jobs:
66
ui-tests:
77
name: Visual Regression
8-
runs-on: ubuntu-latest
8+
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11+
os: [ubuntu-latest, macos-latest]
1112
python: [3.8]
1213
fail-fast: false
1314

ui-tests/tests/xarray-leaflet.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function renderMap(fileName: string, page: IJupyterLabPageFixture) {
88
await page.notebook.run();
99
await page.notebook.waitForRun();
1010
const maps = await page.$("div.leaflet-container");
11-
await new Promise((_) => setTimeout(_, 1000));
11+
await new Promise((_) => setTimeout(_, 10000));
1212
expect(await maps.screenshot()).toMatchSnapshot({
1313
name: `${fileName}.png`,
1414
});
Loading

0 commit comments

Comments
 (0)