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

test commit #33456

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,4 @@ You could generate single app doc with this:
```sh
$ gulp jsdoc:system
```

7 changes: 4 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,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
2 changes: 1 addition & 1 deletion tv_apps/smart-system/test/marionette/lib/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ System.prototype = {
var body = this.client.findElement('body');
this.client.waitFor(function() {
return body.getAttribute('ready-state') == 'fullyLoaded';
});
}, { timeout: 120000 });
},

waitForLaunch: function(url) {
Expand Down