You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
If a webdriver command isn't properly awaited or promise chained and has an error, it'll throw an UncaughtPromiseRejection event. We should catch these events and log an error telling the user that they likely missed an await somewhere. Bonus points if we can get a stacktrace to the exact line that wasn't awaited.
The text was updated successfully, but these errors were encountered:
import {Config} from 'protractor';
export let config: Config = {
framework: 'jasmine',
capabilities: {
browserName: 'chrome'
},
specs: [ 'spec.js' ],
seleniumAddress: 'http://localhost:4444/wd/hub',
onPrepare: () => {
jasmine.getEnv().throwOnExpectationFailure(true);
},
// You could set no globals to true to avoid jQuery '$' and protractor '$'
// collisions on the global namespace.
noGlobals: true
};
Might be worth investigating before closing this issue.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If a webdriver command isn't properly awaited or promise chained and has an error, it'll throw an UncaughtPromiseRejection event. We should catch these events and log an error telling the user that they likely missed an
await
somewhere. Bonus points if we can get a stacktrace to the exact line that wasn't awaited.The text was updated successfully, but these errors were encountered: