Tests: Restrict an event test fallback to TestSwarm

Closes gh-4357
This commit is contained in:
Richard Gibson 2019-04-16 00:47:02 -04:00 committed by Michał Gołębiowski-Owczarek
parent 58f0c00bed
commit bde53edcf4

View File

@ -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" );
}