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

Commit

Permalink
Using waitForLaunch
Browse files Browse the repository at this point in the history
  • Loading branch information
albertopq committed Feb 11, 2016
1 parent 0dd799d commit c325647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tv_apps/smart-system/test/marionette/app_modal_dialog_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ marionette('Test Modal Dialog Events', function() {
};

setup(function() {
system = client.loader.getAppClass('smart-system', 'system', 'tv_apps');
system = client.loader.getAppClass('system');
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 c325647

Please sign in to comment.