Last active
January 3, 2017 23:09
-
-
Save marcelmokos/ebafefe0f794bf1994ac3f6ad947c2ca to your computer and use it in GitHub Desktop.
protractor usage with non angular applications
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 | |
* when a page continuously polls an API using $timeout. | |
* | |
* @type {boolean} | |
*/ | |
browser.ignoreSynchronization = true; | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment