Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
29
gaia/apps/video/test/marionette/overlay_test.js
Executable file
29
gaia/apps/video/test/marionette/overlay_test.js
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
'use strict';
|
||||
|
||||
var Video = require('./lib/video');
|
||||
|
||||
marionette('video overlay', function() {
|
||||
var assert = require('assert');
|
||||
var client = marionette.client({
|
||||
profile: {
|
||||
prefs: {
|
||||
'device.storage.enabled': true,
|
||||
'device.storage.testing': true,
|
||||
'device.storage.prompt.testing': true
|
||||
}
|
||||
}
|
||||
});
|
||||
var app;
|
||||
|
||||
setup(function() {
|
||||
// Remove all files in temp device storage.
|
||||
client.fileManager.removeAllFiles();
|
||||
app = new Video(client);
|
||||
app.launch();
|
||||
});
|
||||
|
||||
test('check for empty overlay', function() {
|
||||
var overlay = client.helper.waitForElement(Video.Selector.overlay);
|
||||
assert.ok(overlay.displayed(), 'The list should be empty');
|
||||
});
|
||||
});
|
||||
Loading…
Reference in a new issue