From 31b282ecb42fec73a0074411f8f456b6a2bf8ae5 Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Fri, 1 Jul 2022 12:44:17 +0200 Subject: [PATCH] Disable flakey IE test --- test/commons/color/get-background-color.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/commons/color/get-background-color.js b/test/commons/color/get-background-color.js index b4fa859961..b169353e9f 100644 --- a/test/commons/color/get-background-color.js +++ b/test/commons/color/get-background-color.js @@ -4,6 +4,7 @@ describe('color.getBackgroundColor', function() { var fixture = document.getElementById('fixture'); var shadowSupported = axe.testUtils.shadowSupport.v1; + var isIE11 = axe.testUtils.isIE11; var origBodyBg; var origHtmlBg; @@ -725,7 +726,8 @@ describe('color.getBackgroundColor', function() { assert.isNull(actual); }); - it('should return background color for inline elements that do not fit the viewport', function() { + // Test is flakey in IE11, timing out regularly + (isIE11 ? xit : it)('should return background color for inline elements that do not fit the viewport', function() { var html = ''; for (var i = 0; i < 300; i++) { html += 'foo
';