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,45 @@
'use strict';
var Ftu = require('./lib/ftu');
var assert = require('chai').assert;
marionette('First Time Use >', function() {
var ftu;
var client = marionette.client({ profile: Ftu.clientOptions });
setup(function() {
ftu = new Ftu(client);
});
test('FTU comes up on profile generation', function() {
client.apps.switchToApp(Ftu.URL);
});
test('FTU click thru', function() {
client.apps.switchToApp(Ftu.URL);
ftu.clickThruToFinish();
});
test('FTU user timing', function() {
client.apps.switchToApp(Ftu.URL);
ftu.waitForFtuReady();
var markersByName = client.executeScript(function() {
var byName = {};
var markers =
window.wrappedJSObject.performance.getEntriesByType('mark');
markers.forEach(function(mark) {
byName[mark.name] = (byName[mark.name] || 0) + 1;
});
return byName;
});
console.log('user timing markers:', markersByName);
assert.ok(markersByName.navigationLoaded);
assert.ok(markersByName.navigationInteractive);
assert.ok(markersByName.visuallyLoaded);
assert.ok(markersByName.contentInteractive);
assert.ok(markersByName.fullyLoaded);
});
});