Open willi84 opened 3 years ago
Thanks Robert for regrouping all of this here. Let's go for Feb 24th 7pm UTC
@mmalerba would you like to join?
if I have time, sure. can you give me ur email to share the appointment with u?
sure, I'd be interested: mmalerba@google.com
gosh. sorry for the invitation problem, but google is duplicating my appointments :-/
Hey, I'd like to attend to this one too: juliano.brasil@gmail.com
I am interested: signus.pl@gmail.com
Here is the link to the related issue https://github.com/angular/components/issues/20871
getHarness()
helper exists in Google and has been collecting feedback before moving to open source. So far it is going well and there is a plan to move that to the public API.manualChangeDetection()
, parallel()
, handleAutoChangeDetectionStatus()
and stopHandlingAutoChangeDetectionStatus ()
. forceStabilize()
may be needed in some edge casesparallel()
needs some docs, but Promise.all()
should be replaced with parallel()
in most cases. Useful when you want to run a batch of operations and then run change detection afterwards.waitForTasksOutsideAngular
is still not implemented in the ProtractorHarnessEnvironment
, only in the TestbedHarnessEnvironment
getHarness()
function but it has to be re-called many times
@angular/cdk/testing/testbed
has dependencies upon rxjs
and @angular/core
that cause the loading to be slow@angular/core/testing
to be loaded in tests.invoke()
to call methods on the componentshould()
that will wait until a value is matchedHarnessPredicate
docsFrom Lars:
Reproducing ZURB Foundation's own tests for the Tabs component with component harnesses.
Support for waitForTasksOutsideAngular
in ProtractorHarnessEnvironment
is work in progress: https://github.com/angular/components/pull/20351
@mmalerba here's the repo where I experienced flakiness when using the Angular Material Select component as mentioned in Create a component harness for your tests with Angular CDK > Slight differences.
Custom component harness: https://github.com/LayZeeDK/ngx-component-harnesses/blob/master/src/app/favorite-ocean-creature/favorite-ocean-creature.harness.ts
Unit test suite: https://github.com/LayZeeDK/ngx-component-harnesses/blob/master/src/app/favorite-ocean-creature/favorite-ocean-creature.spec.ts
End-to-end test suite: https://github.com/LayZeeDK/ngx-component-harnesses/blob/master/e2e/src/app.e2e-spec.ts
For the end-to-end tests, the BrowserAnimationsModule
is used since it's testing an actual application. Approximately every other test run, I would experience a timing issue where the end-to-end tests would fail, probably when waiting for the dropdown appearance animation to finish. This repo is using Angular Material and CDK 9.0, so I'm not sure whether it's still an issue.
how can i join these calls, calender link is blank for me
Hi @praveeno, you can just post your email here or DM me on Twitter and https://twitter.com/yjaaidi/status/1364895370107637765 we'll add you to the next session.
Here comes a new version of cypress-harness that allows harness reuse & chaining. This solves the following issues: ✅ fixes: trying to figure out a better, more simple API with less boilerplate ✅ fixes: there are also some challenges with inferring the return type of methods. Could be caused by intersection.
Using harnesses is straightforward, creating them is hard. See issue feat(@angular/cdk/testing): Component Harness Feedback · Issue #20871 · angular/components Host: Younes Jaaidi
February 24th, 2021, 7PM UTC
(Younes: can that be a wednesday? I initially suggested the 25th but the 24th works better for me)
Invitees
Event: https://calendar.google.com/event?action=TEMPLATE&tmeid=NjBjNnRybnNqamRvdTM0YTRvdjI5ODk5bjkgYjRvamFhajlib2E4Y2tkZWp1ZXBzbzI0NGdAZw&tmsrc=b4ojaaj9boa8ckdejuepso244g%40group.calendar.google.com