[AngularJS] Protractor Failed: Timed out waiting for asynchronous Angular tasks to finish after 11 seconds
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: 9 }, /**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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: How to live build an angular workspace project
Any advice on where I should start to look ? Thanks -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: Application cannot compile after I created mime-type.validator.ts
Hi Partha, Did you try restarting your build tool? Stop ng serve, delete file, and ng serve once more. If that’s not working, it’s referenced somewhere else in your project, do a project-wide search for the file name (without .ts) Regards Sander -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: Application cannot compile after I created mime-type.validator.ts
Thanks as always, Mr. Sander. I stopped the server and deleted the file and then restarted the server. It works now. Regards, Partha On Wednesday, 26 September 2018 21:42:19 UTC+5:30, Sander Elias wrote: > > Hi Partha, > > Did you try restarting your build tool? Stop ng serve, delete file, and ng > serve once more. > If that’s not working, it’s referenced somewhere else in your project, do > a project-wide search for the file name (without .ts) > > Regards > Sander > > -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Object literal may only specify known properties
Dear Sir/Madam, I had a perfectly working program. In this program, I used a interface for the data being handled. I named it Currency. Currency was defined as follows: export interface Currency { currencyCode: string; currencySymbol: string; currencyBaseName: string; fractionSymbol: string; fractionName: string; } Then I made a change to the interface and introduced another attribute so that it looks like this. export interface Currency { currencyCode: string; currencySymbol: string; currencyBaseName: string; fractionSymbol: string; fractionName: string; updateUser: string; } After this change, I have updated my program so that this attribute is available in the Currency instance whenever it is used. However, I am getting the following compilation error. ERROR in src/app/currency/currencyAdd/currencyAdd.component.ts(40,9): error TS2322: Type '{ currencyCode: string; currencySymbol: string; currencyBaseName: string; fractionSymbol: string;...' is not assignable to type 'Currency'. Object literal may only specify known properties, and 'updateUser' does not exist in type 'Currency'. src/app/currency/currencyAdd/currencyAdd.component.ts(86,11): error TS2322: Type '{ currencyCode: any; currencySymbol: any; currencyBaseName: any; fractionSymbol: any; fractionNam...' is not assignable to type 'Currency'. Object literal may only specify known properties, and 'updateUser' does not exist in type 'Currency'. src/app/currency/currencyAdd/currencyAdd.component.ts(114,11): error TS2322: Type '{ currencyCode: string; currencySymbol: any; currencyBaseName: any; fractionSymbol: any;fraction...' is not assignable to type 'Currency'. Object literal may only specify known properties, and 'updateUser' does not exist in type 'Currency'. src/app/currency/currencyUpload/currencyUpload.component.ts(344,41): error TS2322: Type '{ currencyRecord: { currencyCode: string; currencySymbol: string; currencyBaseName: string; fract...' is not assignable to type 'UploadCurrency'. Types of property 'currencyRecord' are incompatible. Type '{ currencyCode: string; currencySymbol: string; currencyBaseName: string; fractionSymbol: string;...' is not assignable to type 'Currency'. Object literal may only specify known properties, and 'updateUser' does not exist in type 'Currency'. Now, the code at src/app/currency/currencyAdd/currencyAdd.component.ts(86,11) is as follows: [image: err.jpeg] Request your kind advice to resolve this issue. Thanks and Regards, Partha -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Convert HTML with css to PDF using Angular
I have one HTML page, I want to convert that HTML page along with CSS to PDF using Angular JS. I have tried using jsPDF but it is not accepting css in PDF. Also one issue is there with this as colspan and rowspan of table is not worked in this -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: Object literal may only specify known properties
Hi Partha, In case of strange compilation issues, restart your `ng serve`. Picking up changes sometimes fails. Some os's have more trouble with this as others. If that doesn't help, feel free to ask more/again. Regards Sander -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.