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:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,59 @@
'use strict';
/* global __dirname */
var Bookmark = require('../../../../apps/system/test/marionette/lib/bookmark');
var Server = require('../../../../shared/test/integration/server');
marionette('Vertical - Bookmark EDIT', function() {
var options = require(__dirname + '/client_options.js');
options.settings['dev.gaia.pinning_the_web'] = false;
var client = marionette.client({
profile: options,
desiredCapabilities: { raisesAccessibilityExceptions: false }
});
var bookmark, home, server, system;
suiteSetup(function(done) {
Server.create(__dirname + '/fixtures/', function(err, _server) {
server = _server;
done();
});
});
suiteTeardown(function() {
server.stop();
});
var url;
setup(function() {
home = client.loader.getAppClass('verticalhome');
system = client.loader.getAppClass('system');
bookmark = new Bookmark(client, server);
system.waitForFullyLoaded();
client.apps.launch(home.URL);
url = server.url('sample.html');
bookmark.openAndSave(url);
system.goHome();
client.switchToFrame(system.getHomescreenIframe());
home.enterEditMode();
});
test('pressing enter after editing the bookmark', function() {
// select the icon in edit mode and click remove
var icon = home.getIcon(url);
home.moveIconToIndex(icon, 0);
icon.tap();
client.switchToFrame();
bookmark.renameAndPressEnter('renamed');
client.switchToFrame(system.getHomescreenIframe());
client.waitFor(function() {
var icon = home.getIcon(url);
return icon.text() === 'renamed';
});
});
});