mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-11 15:32:09 +01:00
Support of Firefox in e2e tests
This commit is contained in:
2
e2e.bat
2
e2e.bat
@@ -1 +1 @@
|
||||
protractor tests\e2e.chrome.conf.js
|
||||
protractor tests\e2e.chrome.js --params.url='test'
|
||||
1
e2eall.bat
Normal file
1
e2eall.bat
Normal file
@@ -0,0 +1 @@
|
||||
protractor tests\e2e.all.js
|
||||
14
tests/e2e.all.js
Normal file
14
tests/e2e.all.js
Normal file
@@ -0,0 +1,14 @@
|
||||
exports.config = {
|
||||
seleniumAddress: 'http://127.0.0.1:4444/wd/hub',
|
||||
|
||||
specs: [
|
||||
'./e2e/cmdDriver.js',
|
||||
'./e2e/spec.js'
|
||||
],
|
||||
|
||||
multiCapabilities: [{
|
||||
'browserName': 'chrome'
|
||||
},{
|
||||
'browserName': 'firefox'
|
||||
}]
|
||||
};
|
||||
@@ -8,11 +8,5 @@ exports.config = {
|
||||
|
||||
capabilities: {
|
||||
'browserName': 'chrome'
|
||||
},
|
||||
|
||||
chromeOptions: {
|
||||
binary: "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
|
||||
args: [],
|
||||
extensions: []
|
||||
}
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
browser.ignoreSynchronization = true;
|
||||
var By = protractor.By;
|
||||
var driver = browser.driver;
|
||||
var appUrl = 'http://localhost:63342/BitwiseCmd/src/';
|
||||
var appUrl = browser.params.appUrl || 'http://localhost:63342/BitwiseCmd/src/';
|
||||
var Key = protractor.Key;
|
||||
|
||||
describe('launch of application', function() {
|
||||
|
||||
Reference in New Issue
Block a user