Skip to content

Commit 35dde75

Browse files
authored
fix: removing test for previous undesireable behavior (#15458)
1 parent 66d2bd7 commit 35dde75

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import React from 'react'
2-
import { mount } from '@cypress/react'
3-
41
const viewportWidth = 200
52
const viewportHeight = 100
63

@@ -23,17 +20,4 @@ describe('cy.viewport', () => {
2320
expect(window.innerHeight).to.eq(viewportHeight)
2421
})
2522
})
26-
27-
it('should make it scale down when overflowing', () => {
28-
mount(<p>
29-
Lorem, ipsum dolor sit amet consectetur adipisicing elit.
30-
Incidunt necessitatibus quia quo obcaecati tempora numquam nobis
31-
minima libero vel? Nam sequi iusto quod fugit vel rerum eligendi beatae voluptatibus numquam.
32-
</p>)
33-
34-
expect(getComputedStyle(window.parent.document.querySelector('iframe').parentElement).transform).to.contain('matrix(0.8')
35-
cy.viewport(2000, 200).should(() => {
36-
expect(getComputedStyle(window.parent.document.querySelector('iframe').parentElement).transform).not.to.contain('matrix(1')
37-
})
38-
})
3923
})

0 commit comments

Comments
 (0)