Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
20 lines
502 B
JavaScript
Executable file
20 lines
502 B
JavaScript
Executable file
'use strict';
|
|
|
|
marionette('System update - Splash screen', function() {
|
|
|
|
var client = marionette.client();
|
|
var system;
|
|
|
|
setup(function() {
|
|
system = client.loader.getAppClass('system');
|
|
system.waitForFullyLoaded();
|
|
});
|
|
|
|
test('Show splash after accepting system update', function() {
|
|
client.executeScript(function() {
|
|
window.wrappedJSObject.UpdateManager.systemUpdatable.acceptInstall();
|
|
});
|
|
|
|
client.helper.waitForElement('#screen > #system-update-splash');
|
|
});
|
|
});
|