Skip to content

Commit 6e4e364

Browse files
committed
enable clip-path test for fast visibility
1 parent eba0fc4 commit 6e4e364

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/driver/cypress/e2e/dom/visibility.cy.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,12 @@ describe('src/cypress/dom/visibility', () => {
12231223

12241224
describe('css clip-path', () => {
12251225
// TODO: handle clip path 'hidden' equivalents
1226-
it.skip('is hidden when outside of parents clip-path', function () {
1226+
it('is hidden when outside of parents clip-path', function () {
1227+
if (!Cypress.config('experimentalFastVisibility')) {
1228+
// legacy mode does not support clip-path
1229+
return
1230+
}
1231+
12271232
expect(this.$parentWithClipPathAbsolutePositionElOutsideClipPath.find('span')).to.be.hidden
12281233
})
12291234

packages/driver/cypress/e2e/memory/virtual-scroll-stress.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
describe('Virtual Scrolling Stress Tests', {
1616
experimentalFastVisibility: true,
17-
numTestsKeptInMemory: 0,
17+
numTestsKeptInMemory: 1,
1818
}, () => {
1919
beforeEach(() => {
2020
cy.visit('/fixtures/virtual-scroll-stress-test.html')

0 commit comments

Comments
 (0)