Skip to content

Commit 778e662

Browse files
authored
test: skip flaky grid test for WebKit (#3637)
1 parent e82a46f commit 778e662

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎packages/grid/test/scrolling-mode.test.js‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from '@esm-bundle/chai';
2-
import { fixtureSync, listenOnce, nextFrame } from '@vaadin/testing-helpers';
2+
import { fixtureSync, isDesktopSafari, listenOnce, nextFrame } from '@vaadin/testing-helpers';
33
import '@vaadin/polymer-legacy-adapter/template-renderer.js';
44
import '../vaadin-grid.js';
55
import { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js';
@@ -94,7 +94,11 @@ describe('scrolling mode', () => {
9494
expect(grid.getAttribute('overflow')).to.equal('top start left');
9595
});
9696

97-
it('update on resize', async () => {
97+
// This test constantly fails in WebKit when the test is running on CI.
98+
// It perhaps has something to do with the specific version of WebKit
99+
// Playwright uses on CI. It sometimes fails also in Firefox on CI,
100+
// but not as often as in WebKit.
101+
(isDesktopSafari ? it.skip : it)('update on resize', async () => {
98102
grid.style.width = '200px';
99103
await onceResized(grid);
100104
await nextFrame();

0 commit comments

Comments
 (0)