UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

26 lines (25 loc) 765 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const TestHooks = require('../hooks.js'); module.exports = class CommonInterface { static get TestHooks() { return Object.keys(TestHooks.TEST_HOOKS); } static get DEFAULT_ATTRIBUTES() { return { '@unitTest': false, '@name': undefined, '@endSessionOnFail': undefined, '@skipTestcasesOnFail': undefined, '@disabled': false, '@desiredCapabilities': null, '@tags': null }; } constructor(instance) { this.instance = instance; this.modulePath = instance.modulePath; this.currentTest = instance.currentTest; } createInterface() { } };