Have automated test script using Protractor and TypeScript. It was working 
fine till the team have enabled local SSL certificate on the server.  
Now test script is able to load the page on browser but after loading page 
it will not do any thing and throws error* "Failed: Timed out waiting for 
asynchronous Angular tasks to finish after 11 seconds. This may be because 
the current page is not an Angular application."*

Have added options in capabilities 
marionette : true,
acceptInsecureCerts : true


Below is my config.ts file 

Enter code here...export let config: Config = {
/** Params for direct connecting to Browser */
directConnect: true,
/**Browser capabilities */
capabilities: {
browserName: 'chrome',
//browserName: 'firefox',
marionette : true,
acceptInsecureCerts : true
//acceptSslCerts: true,
//trustAllSSLCertificates: true,
//acceptInsecureCerts:true,
//ACCEPT_SSL_CERTS:true
//'browser.acceptSslCerts': true,
// acceptInsecureCerts: true,
//acceptSslCerts: true,
/* chromeOptions: {
args:['--ignore-certificate-errors', "allow-running-insecure-content", 
"--test-type"]
// args: ['--disable-web-security', '--user-data-dir=~/.e2e-chrome-profile']
}*/
},

/** Test Manager framework - Jasmine */
framework: "jasmine2",

/** Test configuration */
suites: TestConfig.suiteColloection.test,
//suites: TestConfig.suiteColloection.regression,


/**Default timeout setings */
jasmineNodeOpts: {
defaultTimeoutInterval: 90000
},

/**System generated Params placeholder*/
params: {
sysUserName: "system",
sysAccessioningID: "system"
},

/**Calling Report */
onPrepare: reportConfig.prepare

};

Please help me to resolve the issue. Am newbie in protractor. 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to