Test Angular data binding with cypress #24835
Unanswered
Atlas1225
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just started testing my Angular App and I need to check if some bound attributes contain what I want. Let's say I want to check this:
<mat-table data-testid="table" [attr_t]="mydata">.
cy.byTestId('table').invoke('attr','attr_t').should('eq', mydata) doesn't work for data bound attributes.
Beta Was this translation helpful? Give feedback.
All reactions