mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-07 02:57:51 +00:00
test(auth): stabilize registration layout screenshot
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
parent
3000375515
commit
f9e9496053
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ test.describe('Auth Entry', () => {
|
|||
expect(dimensions.scrollHeight).toBeLessThanOrEqual(dimensions.innerHeight + 2)
|
||||
|
||||
await page.goto('/register')
|
||||
await page.addStyleTag({ content: '*, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }' })
|
||||
const registerButton = page.getByRole('button', { name: 'Register & Login' })
|
||||
await expect(registerButton).toBeVisible()
|
||||
const registerButtonBox = await registerButton.boundingBox()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue