This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//noinspection JSUnusedGlobalSymbols | |
import {SpecReporter} from "jasmine-spec-reporter"; | |
export const config = { | |
framework: "jasmine2", | |
specs: ["spec/**/*.spec.js"], | |
directConnect: true, | |
chromeDriver: "node_modules/.bin/chromedriver", | |
jasmineNodeOpts: { | |
// remove ugly protractor dot reporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
"latest", | |
"stage-0" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const config = { | |
//... | |
onPrepare: function () { | |
/** | |
* If you are testing against a non-angular site - set ignoreSynchronization setting to true | |
* | |
* If true, Protractor will not attempt to synchronize with the page before | |
* performing actions. This can be harmful because Protractor will not wait | |
* until $timeouts and $http calls have been processed, which can cause | |
* tests to become flaky. This should be used only when necessary, such as |
NewerOlder