brash-scientist-28014
11/24/2022, 10:00 AMenough-fireman-4779
11/24/2022, 2:22 PMechoing-painting-40909
11/24/2022, 2:31 PMechoing-painting-40909
11/24/2022, 2:32 PMshould('no.to.be.disabled')
, the syntax should be should('not.be.disabled')
enough-fireman-4779
11/24/2022, 2:54 PMenough-fireman-4779
11/24/2022, 2:56 PMechoing-painting-40909
11/24/2022, 2:57 PMcy.get('[type="button"]')
will retrieve all available buttons.
try cy.get('[type="button"]:not(disabled')
enough-fireman-4779
11/24/2022, 3:00 PMcy.get('[type="button"]:not(disabled')
also finds all buttons even if there are not disabled 🤔echoing-painting-40909
11/24/2022, 3:02 PMcy.get('[type="button"]:not(:disabled')
enough-fireman-4779
11/24/2022, 3:04 PMechoing-painting-40909
11/24/2022, 3:05 PMfirst()
for example.enough-fireman-4779
11/24/2022, 3:06 PMlast()
or something?echoing-painting-40909
11/24/2022, 3:07 PMenough-fireman-4779
11/24/2022, 3:36 PMacceptable-fall-11897
11/24/2022, 4:58 PMgray-kilobyte-89541
11/24/2022, 5:50 PMgreat-oil-15113
11/25/2022, 12:53 AMimport { Clipboard } from '@angular/cdk/clipboard';
to implement copy. the window clipboard is not called. how do i verify this? thank yourough-jordan-79228
11/25/2022, 9:01 AMrough-jordan-79228
11/25/2022, 9:02 AMfresh-doctor-14925
11/25/2022, 9:06 AM.should('contain.text', '1 500')
If that doesn't work, could you share a screenshot of the error as well as the browser console showing the element you want to get and assert on?rough-jordan-79228
11/25/2022, 9:07 AMrough-jordan-79228
11/25/2022, 9:38 AMrough-jordan-79228
11/25/2022, 9:40 AMrough-jordan-79228
11/25/2022, 9:40 AMfresh-doctor-14925
11/25/2022, 9:40 AM4 999,00
directly from the app and place that into your cypress assertionrough-jordan-79228
11/25/2022, 9:42 AMrough-jordan-79228
11/25/2022, 9:42 AMfresh-doctor-14925
11/25/2022, 9:43 AMfresh-doctor-14925
11/25/2022, 9:46 AMcy.contains()
work instead?
Looking at this issue https://github.com/cypress-io/cypress/issues/9531rough-jordan-79228
11/25/2022, 9:56 AM