From bde53edcf4bd6c975d068eed4eb16c5ba09c1cff Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Tue, 16 Apr 2019 00:47:02 -0400 Subject: [PATCH] Tests: Restrict an event test fallback to TestSwarm Closes gh-4357 --- test/unit/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/event.js b/test/unit/event.js index c10341c16..b77da465e 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -3060,7 +3060,7 @@ QUnit.test( "focus-blur order (#12868)", function( assert ) { setTimeout( function() { // DOM focus is unreliable in TestSwarm - if ( order === 0 ) { + if ( QUnit.isSwarm && order === 0 ) { assert.ok( true, "GAP: Could not observe focus change" ); assert.ok( true, "GAP: Could not observe focus change" ); } -- 2.39.5