VulpesOS/gaia/apps/settings/test/marionette/app/regions/developer.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
589 B
JavaScript
Executable file

'use strict';
var Base = require('../base');
/**
* Abstraction around settings developer panel
* @constructor
* @param {Marionette.Client} client for operations.
*/
function DeveloperPanel(client) {
// Call the Base constructor to initiate base class.
Base.call(this, client, null, DeveloperPanel.Selectors);
}
module.exports = DeveloperPanel;
DeveloperPanel.Selectors = {
'DeveloperPanel': '#developer'
};
DeveloperPanel.prototype = {
__proto__: Base.prototype,
get isDeveloperMenuItemVisible() {
return this.findElement('developerMenuItem').displayed();
}
};