remove semver from snapshots (#2519)

* remove semver from snapshots

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)

* trigger ci

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Kurt Hutten
2024-05-24 21:59:51 +10:00
committed by GitHub
parent cf52e151fb
commit d797d20d50
8 changed files with 5 additions and 7 deletions

View File

@ -47,6 +47,7 @@ test.beforeEach(async ({ context, page }) => {
localStorage.setItem('TOKEN_PERSIST_KEY', token)
localStorage.setItem('persistCode', ``)
localStorage.setItem(settingsKey, settings)
localStorage.setItem('playwright', 'true')
},
{
token: secrets.token,
@ -2592,7 +2593,6 @@ test.describe('Testing segment overlays', () => {
|> tangentialArcTo([3.14 + 13, 3.14], %)
`
)
localStorage.setItem('playwright', 'true')
})
const u = await getUtils(page)
await page.setViewportSize({ width: 1200, height: 500 })
@ -2735,7 +2735,6 @@ const part001 = startSketchOn('XZ')
|> angledLineOfXLength({ angle: 181 + 0, length: 23.14 }, %)
`
)
localStorage.setItem('playwright', 'true')
})
const u = await getUtils(page)
await page.setViewportSize({ width: 1200, height: 500 })
@ -2808,7 +2807,6 @@ const part001 = startSketchOn('XZ')
|> tangentialArcTo([3.14 + 13, 3.14], %)
`
)
localStorage.setItem('playwright', 'true')
})
const u = await getUtils(page)
await page.setViewportSize({ width: 1200, height: 500 })
@ -2918,7 +2916,6 @@ const part001 = startSketchOn('XZ')
|> tangentialArcTo([3.14 + 13, 1.14], %)
`
)
localStorage.setItem('playwright', 'true')
})
const u = await getUtils(page)
await page.setViewportSize({ width: 1200, height: 500 })
@ -3056,7 +3053,6 @@ const part001 = startSketchOn('XZ')
|> tangentialArcTo([3.14 + 13, -3.14], %)
`
)
localStorage.setItem('playwright', 'true')
})
const u = await getUtils(page)
await page.setViewportSize({ width: 1200, height: 500 })
@ -3156,7 +3152,6 @@ const part001 = startSketchOn('XZ')
|> tangentialArcTo([3.14 + 13, 1.14], %)
`
)
localStorage.setItem('playwright', 'true')
})
const u = await getUtils(page)
await page.setViewportSize({ width: 1200, height: 500 })

View File

@ -20,6 +20,7 @@ test.beforeEach(async ({ page }) => {
localStorage.setItem('TOKEN_PERSIST_KEY', token)
localStorage.setItem('persistCode', ``)
localStorage.setItem(settingsKey, settings)
localStorage.setItem('playwright', 'true')
},
{
token: secrets.token,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -13,6 +13,8 @@ export function LowerRightControls(props: React.PropsWithChildren) {
const linkOverrideClassName =
'!text-chalkboard-70 hover:!text-chalkboard-80 dark:!text-chalkboard-40 dark:hover:!text-chalkboard-30'
const isPlayWright = window?.localStorage.getItem('playwright') === 'true'
return (
<section className="fixed bottom-2 right-2 flex flex-col items-end gap-3 pointer-events-none">
{props.children}
@ -23,7 +25,7 @@ export function LowerRightControls(props: React.PropsWithChildren) {
rel="noopener noreferrer"
className={'!no-underline font-mono text-xs ' + linkOverrideClassName}
>
v{APP_VERSION}
v{isPlayWright ? '11.22.33' : APP_VERSION}
</a>
<a
href="https://github.com/KittyCAD/modeling-app/issues/new/choose"