test(e2e): hide rulers in visual regression snapshots
- Add &no-rulers to all E2E test URLs that use &no-chrome - Regenerate snapshots without ruler ticks/selection badges - Remove stale snapshot dirs from old test paths
|
|
@ -9,7 +9,7 @@ test.describe.configure({ mode: 'serial' })
|
|||
|
||||
test.beforeAll(async ({ browser }) => {
|
||||
page = await browser.newPage()
|
||||
await page.goto('/?test&no-chrome')
|
||||
await page.goto('/?test&no-chrome&no-rulers')
|
||||
canvas = new CanvasHelper(page)
|
||||
await canvas.waitForInit()
|
||||
})
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
|
@ -9,7 +9,7 @@ test.describe.configure({ mode: 'serial' })
|
|||
|
||||
test.beforeAll(async ({ browser }) => {
|
||||
page = await browser.newPage()
|
||||
await page.goto('/?test&no-chrome')
|
||||
await page.goto('/?test&no-chrome&no-rulers')
|
||||
canvas = new CanvasHelper(page)
|
||||
await canvas.waitForInit()
|
||||
})
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
|
@ -4,7 +4,7 @@ import { CanvasHelper } from '#tests/helpers/canvas'
|
|||
|
||||
test('CJK text waits for fallback fonts and repaints after they load', async ({ page }) => {
|
||||
const canvas = new CanvasHelper(page)
|
||||
await page.goto('http://localhost:1420/?test&no-chrome')
|
||||
await page.goto('http://localhost:1420/?test&no-chrome&no-rulers')
|
||||
await canvas.waitForInit()
|
||||
|
||||
const result = await page.evaluate(async () => {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
|
@ -11,7 +11,7 @@ test.describe('Render performance', () => {
|
|||
test.beforeAll(async ({ browser }) => {
|
||||
const page = await browser.newPage()
|
||||
helper = new CanvasHelper(page)
|
||||
await page.goto('http://localhost:1420/?test&no-chrome')
|
||||
await page.goto('http://localhost:1420/?test&no-chrome&no-rulers')
|
||||
await helper.waitForInit()
|
||||
|
||||
await page.evaluate((count: number) => {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ test.describe.configure({ mode: 'serial' })
|
|||
|
||||
test.beforeAll(async ({ browser }) => {
|
||||
page = await browser.newPage()
|
||||
await page.goto('/?test&no-chrome')
|
||||
await page.goto('/?test&no-chrome&no-rulers')
|
||||
canvas = new CanvasHelper(page)
|
||||
await canvas.waitForInit()
|
||||
})
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
|
@ -9,7 +9,7 @@ test.describe('SkPicture scene caching', () => {
|
|||
test.beforeAll(async ({ browser }) => {
|
||||
const page = await browser.newPage()
|
||||
helper = new CanvasHelper(page)
|
||||
await page.goto('http://localhost:1420/?test&no-chrome')
|
||||
await page.goto('http://localhost:1420/?test&no-chrome&no-rulers')
|
||||
await helper.waitForInit()
|
||||
|
||||
await page.evaluate(() => {
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
|
@ -11,7 +11,7 @@ test.describe('Zoom and pan', () => {
|
|||
test.beforeAll(async ({ browser }) => {
|
||||
const page = await browser.newPage()
|
||||
helper = new CanvasHelper(page)
|
||||
await page.goto('http://localhost:1420/?test&no-chrome')
|
||||
await page.goto('http://localhost:1420/?test&no-chrome&no-rulers')
|
||||
await helper.waitForInit()
|
||||
|
||||
await page.evaluate((count: number) => {
|
||||
|
|
|
|||