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,61 @@
/* global module */
'use strict';
function FakeApp(client, origin) {
this.client = client;
this.origin = origin;
}
FakeApp.Selector = Object.freeze({
selectElement: '#select',
selectedOptionElement: '#select option:checked',
inputElement: '#input',
inputDateElement: '#input-date',
inputTimeElement: '#input-time',
inputDatetimeElement: '#input-datetime',
inputDatetimeLocalElement: '#input-datetime-local'
});
FakeApp.prototype = {
client: null,
get inputElementValue() {
return this.client.findElement(
FakeApp.Selector.inputElement).getAttribute('value');
},
get inputDateElementValue() {
return this.client.findElement(
FakeApp.Selector.inputDateElement).getAttribute('value');
},
get inputTimeElementValue() {
return this.client.findElement(
FakeApp.Selector.inputTimeElement).getAttribute('value');
},
get inputDatetimeElementValue() {
return this.client.findElement(
FakeApp.Selector.inputDatetimeElement).getAttribute('value');
},
get inputDatetimeLocalElementValue() {
return this.client.findElement(
FakeApp.Selector.inputDatetimeLocalElement).getAttribute('value');
},
get selectElement() {
return this.client.findElement(FakeApp.Selector.selectElement);
},
get selectedOption() {
return this.client.findElement(FakeApp.Selector.selectedOptionElement);
},
isSpecificSelectOptionSelected: function(value) {
return value == this.selectedOption.text();
},
launch: function() {
this.client.apps.launch(this.origin);
this.client.apps.switchToApp(this.origin);
},
close: function() {
this.client.apps.close(this.origin);
}
};
module.exports = FakeApp;