Всем привет!
Столкнулся с проблемой после больших апдейтов на сайте.
Ве
Суть проблемы: по завершению теста, который passed всегда появлется error message. @AfterTestа в проекте нет.
Test:
…
beforeEach(async()=>{
BrowserHelper.clearSession();
BrowserHelper.login(customer);
});
…
it(‘[C2788] User Profile menu. Settings page. BILLING ADDRESS(ES)’, async () => {
console.log(‘Any test’);
});
Error message:
- Failed: Error while waiting for Protractor to sync with the page: “both angularJS testability and angular testability are undefined. This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor’s bootstrapping. See http://git.io/v4gXM for details”
at runWaitForAngularScript.then (/home//Projects//-e2e-tests/node_modules/protractor/built/browser.js:463:23)
at process._tickCallback (internal/process/next_tick.js:68:7)
From asynchronous test:
Error
at Suite.describe (/home//Projects/SiXT/mydriver-e2e-tests/web-tests/src/user-settings-billing-address.spec.ts:22:5)
at Object. (/home//Projects//***-e2e-tests/web-tests/src/user-settings-billing-address.spec.ts:20:1)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
await browser.waitForAngularEnabled(false) в конце теста ничего не даёт
Версия протрактора последняя.