Skip to content

Commit

Permalink
chore(tests): Skip waiting for map to completely load in e2e tests
Browse files Browse the repository at this point in the history
Currently e2e tests wait for all network activity to finish before
continuing with each test step. The Mapbox library can continue
pre-loading tiles for a while and slows down tests
  • Loading branch information
gmaclennan committed Aug 23, 2021
1 parent 6853605 commit 5897c5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

beforeAll(async () => {
await device.launchApp();
await device.setURLBlacklist([".*api.mapbox.com.*"]);
});

0 comments on commit 5897c5e

Please sign in to comment.