Skip to content

Commit

Permalink
CI: offline test disable cache
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jul 31, 2023
1 parent 8f3f266 commit 83321fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/__puppeteer__/offline.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe('offline', () => {
await page.waitForSelector('.DriveEntry', { timeout: 10000 });

await page.setOfflineMode(true);
await page.setCacheEnabled(false);
await page.reload({ waitUntil: 'networkidle0' });

expect(await page.$x('//*[contains(string(), "Rav4")]')).toBeTruthy();
Expand Down

0 comments on commit 83321fa

Please sign in to comment.