dont use screenshot

This commit is contained in:
Simon Knott 2024-08-22 16:33:44 +02:00
parent 2feaecd34e
commit a86831dd97
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
4 changed files with 1 additions and 1 deletions

View file

@ -300,7 +300,7 @@ test('should show font preview', async ({ page, runAndTrace, server }) => {
await expect(traceViewer.networkRequests).toHaveCount(1);
await traceViewer.networkRequests.getByText('font.woff2').click();
await traceViewer.page.getByTestId('network-request-details').getByTitle('Body').click();
await expect(traceViewer.page.locator('.network-request-details-tab')).toHaveScreenshot({ maxDiffPixelRatio: 0.1 });
await expect(traceViewer.page.locator('.network-request-details-tab')).toContainText('ABCDEF');
});
test('should filter network requests by url', async ({ page, runAndTrace, server }) => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB