Skip to content

Commit fa731af

Browse files
committed
fix int tests failing
1 parent 2a2159a commit fa731af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/preview-middleware/test/integration/preview/preview.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ const prepare = async (ui5Version: string) => {
108108

109109
const check = async (param: { page: Page }) => {
110110
const { page } = param;
111+
const client = await page.context().newCDPSession(page);
112+
await client.send('Network.clearBrowserCache');
111113
await page.goto(`${getUrl()}/my/custom/path/preview.html#app-preview`);
112114
await page.getByRole('button', { name: 'Go', exact: true }).click();
113115
await expect(page.getByText('Product_0', { exact: true })).toBeVisible();

0 commit comments

Comments
 (0)