Skip to content

Commit

Permalink
chore(tests): Skip waiting for map to completely load in e2e tests (#694
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 authored Aug 23, 2021
1 parent b69a4f4 commit 6c59277
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 6c59277

Please sign in to comment.