You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently had problems when running tests that wait for a focus event through yeti.
For example, the test below:
var suite = new Y.Test.Suite('my-suite');
suite.add(new Y.Test.Case({
name: 'Automated Tests',
'should focus': function() {
var called = false;
var input = Y.one('#input');
input.on('focus', function() {
called = true;
});
input.focus();
Y.Assert.isTrue(called);
}
}));
Y.Test.Runner.add(suite);
This test passes normally as expected when run by opening the html file manually in a browser, but always fails when run by yeti. We suspect that yeti is stealing the focus somehow.
The text was updated successfully, but these errors were encountered:
I've recently had problems when running tests that wait for a focus event through yeti.
For example, the test below:
This test passes normally as expected when run by opening the html file manually in a browser, but always fails when run by yeti. We suspect that yeti is stealing the focus somehow.
The text was updated successfully, but these errors were encountered: