VulpesOS/gaia/apps/video/test/marionette/overlay_test.js
OverSu b38dea0597 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.
2026-09-30 23:13:03 +02:00

29 lines
707 B
JavaScript
Executable file

'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');
});
});