This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Add DirectConnect Support for Firefox 51+ #4005
Closed
Description
Currently directConnect
can't be used with FF 48+. FF 51 was however released today (January 24th) and should now be able to fully support Protractor.
The two other issues impacting directConnect
have been fixed:
This will also require a Selenium 3.0.2 release
Current Working FF configuration with directConnect
:
Browser: FF 47.0.2
Protractor: 5.0.0
Node: 7.4.0
OS: Win 7 Enterprise
exports.config = {
directConnect: true,
process.env.BASE_URL,
specs: ['e2e/tests/**/*-e2e.js'],
capabilities: {
browserName: 'firefox', //Allow execution against different browsers.
marionette: false,
shardTestFiles: !!process.env.SHARD_TESTS,
maxInstances: process.env.E2E_MAX_INSTANCES || 2,
allScriptsTimeout: 35000,
pageLoadingStrategy: 'eager',
},
framework: 'jasmine2',
plugins: [
{path: path.resolve(__dirname) + '/protractor-plugins/coverage-plugin.js'},
{path: path.resolve(__dirname) + '/protractor-plugins/reset-plugin.js'},
{path: path.resolve(__dirname) + '/protractor-plugins/screenshot-plugin.js'}
],
params: {
disableAnimations: true,
sharding: false,
junitFileName: 'TESTS-protractor.xml'
},
// Options to be passed to Jasmine-node.
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
isVerbose: true,
print() {
} //disable and use jasmine-spec-reporter instead
},
onPrepare() {
const jasmineEnv = jasmine.getEnv();
browser.driver.manage().window().setSize(1280, 1024);
}
jasmineEnv.addReporter(new jasmineReporters.JUnitXmlReporter({
consolidateAll: true,
filePrefix: protractorConfig.params.junitFileName,
savePath: 'results'
}));
jasmineEnv.addReporter(new SpecReporter({
displayStacktrace: 'summary',
displayPendingSpec: true,
displaySpecDuration: true
}));
require('jasmine-expect');
}
};