Skip to content

Commit a02ed71

Browse files
committed
fix: update toggle activation check to ensure correct transformation value
1 parent 4ed4cf4 commit a02ed71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/code-snippets-list.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test.describe('Code Snippets List Page Actions', () => {
3232
const activeTransform = await toggleSwitch.evaluate(el => {
3333
return window.getComputedStyle(el, '::before').transform
3434
})
35-
expect(activeTransform).not.toBe('none')
35+
expect(activeTransform).toBe('matrix(1, 0, 0, 1, 13, 0)')
3636

3737
await toggleSwitch.click()
3838
await page.waitForLoadState('networkidle')

0 commit comments

Comments
 (0)