-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add reftest for 'zinger' rendering bug
- Loading branch information
prushfor
authored and
prushfor
committed
Mar 8, 2024
1 parent
02800f4
commit a4e8172
Showing
4 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
test/e2e/elements/map-feature/map-feature-rendering.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { test, expect, chromium } from '@playwright/test'; | ||
|
||
test.describe('map-feature rendering tests', () => { | ||
let page; | ||
let context; | ||
test.beforeAll(async function () { | ||
context = await chromium.launchPersistentContext(''); | ||
page = | ||
context.pages().find((page) => page.url() === 'about:blank') || | ||
(await context.newPage()); | ||
}); | ||
test('Test for zingers', async ({ page }) => { | ||
await page.goto('render-bug.html'); | ||
await expect(page).toHaveScreenshot('no-zinger.png'); | ||
}); | ||
}); |
Binary file added
BIN
+14.1 KB
...lements/map-feature/map-feature-rendering.test.js-snapshots/no-zinger-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.1 KB
...lements/map-feature/map-feature-rendering.test.js-snapshots/no-zinger-win32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters