Nicholas Boll

Results 74 comments of Nicholas Boll

I had the same question after watching the video. The updated code might be better at reducing state (actually now lives in the controller... I'd argue it should live in...

I prefer component directives over `ng-include` and `ng-controller`. With component directives the API is explicit. Component directives can be tested in isolation (I actually use protractor to do this). A...

@dietergeerts, is this what you're looking for? http://plnkr.co/edit/5JmO4qyTG2lc6642bYFo?p=preview Version 1 shows passing down the form through an attribute Version 2 shows the form being required by the `text-field` directive

@dietergeerts You must be talking about versions before 1.2, where attributes were evaluated inside the isolate scope. This meant you had to access `$parent` to get to the data you...

It is definitely possible to instrument code for Cypress. It involves instrumenting the built files Cypress is running against. https://docs.cypress.io/guides/tooling/code-coverage.html#Introduction We did it at my last company. We didn't use...

This is related to #7 I know I would love to do you first example. I even tried to make a plugin with that exact API. I was unsuccessful after...

@bahmutov, do you think `cypress-pipe` should retry all funtions that contain Cypress chainers? I thought about it and decided not to for 2 reasons off the top of my head...

Retrying is handled by `verifyUpcomingAssertions`. I dug around there a bit to see why assertions don't retry from functions that contain Cypress commands. It is quite complex and hard to...

Interesting, `getByRole('button', {name: 'Hello'})` didn't work for me. It tells me multiple elements were found with the role of 'button' (if there are multiple buttons on the page). This happened...

Oops, I was looking at `@testing-library/jest-dom`. This library is a transitive dependency of `@testing-library/react`. The version I was using was 6.12. It looks like 6.15 was released 5 days ago....