Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #34055 from albertopq/1247566-gij10tv
Browse files Browse the repository at this point in the history
Bug 1247566 - WaitForStartup and WaitForLaunch on TV tests r=mhenretty
  • Loading branch information
albertopq committed Feb 11, 2016
2 parents 9261ed3 + 539870f commit 65b7c83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tv_apps/smart-system/test/marionette/app_modal_dialog_test.js
Expand Up @@ -54,12 +54,13 @@ marionette('Test Modal Dialog Events', function() {
};

setup(function() {
system = client.loader.getAppClass('smart-system', 'system', 'tv_apps');
system = client.loader.getAppClass('system');
system.waitForStartup();
system.waitForFullyLoaded();
appModalDialog = new AppModalDialog(client);
// Launch test app
client.apps.launch(APP_URL);
client.apps.switchToApp(APP_URL);
var frame = system.waitForLaunch(APP_URL);
client.switchToFrame(frame);
});

test('alert modal dialog should disappear', testOptions, function() {
Expand Down

0 comments on commit 65b7c83

Please sign in to comment.