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 has been archived by the owner on Jul 29, 2024. It is now read-only.
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" This is the error message is displayed with code error : 1 when I run my below script
#4658
Closed
SivaDixit opened this issue
Jan 12, 2018
· 2 comments
I am using page object model in the below code. but If I use a normal code it works fine. can you tell me where to correct this code. As this is a confidential project I cannot present my current url config file:
exports.config={
directConnect: true,
framework: 'jasmine',
capabilities:
{
'browserName' : 'chrome'
Page object model
var CAPTNLoginpage = function(){
var NameInput = element(by.id('userNameInput'));
var PasswordInput = element(by.id('passwordInput'));
var Submit = element(by.id('submitButton'));
Please ask usage and debugging questions on StackOverflow
(use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)
See #5177 this is a yet uncorrected bug/defect that manifested again with the latest updates of webdriver-manager and protractor. It is not a coding issue.
How to reproduce: do a fresh install on Windows 7 or 10 of Nodejs. Install the latest protractor. (Assuming you can get around the Chrome phantom version 74 issue angular/webdriver-manager#351) Run the simple tutorial from the protractor page: http://www.protractortest.org/#/tutorial and observer.
BLUF: No new user can get protractor running on Windows. Any existing user who updated protractor cannot get protractor running on Windows 7/10.
Cheers, RW
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using page object model in the below code. but If I use a normal code it works fine. can you tell me where to correct this code. As this is a confidential project I cannot present my current url
config file:
exports.config={
directConnect: true,
framework: 'jasmine',
capabilities:
{
'browserName' : 'chrome'
Page object model
var CAPTNLoginpage = function(){
var NameInput = element(by.id('userNameInput'));
var PasswordInput = element(by.id('passwordInput'));
var Submit = element(by.id('submitButton'));
};
module.exports = new CAPTNLoginpage();
specs
var CAPTNLogin = require('./CAPTNLoginpage');
describe('CAPTN Login Page', function(){
});
If I use a normal procedure then It works fine
Specs without Page object model
describe('Protractor Demo App', () => {
});
The text was updated successfully, but these errors were encountered: