03373b5abe
This commit prevents logging with Enter key from happening in Firefox tests. There's a well-known bug associated with browser.keys() on Firefox. We add an additional check to the Login test specs to prevent that from happening.
24 lines
442 B
JavaScript
24 lines
442 B
JavaScript
exports.config = {
|
|
specs: ['tests/webdriverio/specs/**/*.spec.js'],
|
|
capabilities: [
|
|
{
|
|
browserName: 'chrome',
|
|
},
|
|
],
|
|
baseUrl: 'http://localhost:8080',
|
|
framework: 'jasmine',
|
|
reporters: ['spec', 'junit'],
|
|
reporterOptions: {
|
|
junit: {
|
|
outputDir: './tests/webdriverio/reports',
|
|
},
|
|
},
|
|
screenshotPath: 'screenshots',
|
|
suites: {
|
|
login: [
|
|
'tests/webdriverio/specs/login.spec.js',
|
|
],
|
|
},
|
|
};
|
|
|