Skip to content

Commit

Permalink
Disable flakey IE test
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed Jul 1, 2022
1 parent 2437511 commit 31b282e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/commons/color/get-background-color.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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<br />';
Expand Down

0 comments on commit 31b282e

Please sign in to comment.