gray-kilobyte-89541
12/13/2022, 5:17 PMwide-daybreak-98113
12/13/2022, 5:27 PMwide-daybreak-98113
12/13/2022, 5:28 PMgray-kilobyte-89541
12/13/2022, 5:44 PMwide-daybreak-98113
12/13/2022, 5:49 PMwide-daybreak-98113
12/13/2022, 5:50 PMwooden-exabyte-95341
12/13/2022, 5:57 PMfresh-doctor-14925
12/13/2022, 6:01 PMwooden-exabyte-95341
12/13/2022, 6:02 PMfresh-doctor-14925
12/13/2022, 6:05 PMcy.wait(1000)
before your get('button')
, and that'll show if it is actually down to cypress being too quick
Then you'll need to figure out what assertions you can make to ensure that your application is in the correct state before clickingwooden-exabyte-95341
12/13/2022, 6:07 PMfresh-doctor-14925
12/13/2022, 6:08 PMpolite-potato-14743
12/13/2022, 8:27 PMpolite-potato-14743
12/13/2022, 8:28 PMpolite-potato-14743
12/13/2022, 8:33 PMpolite-potato-14743
12/13/2022, 8:38 PMbitter-judge-96754
12/13/2022, 9:12 PMmysterious-psychiatrist-29678
12/13/2022, 9:49 PMCypress.on('uncaught:exception', (err, runnable) => {
return false;
});
mysterious-psychiatrist-29678
12/13/2022, 10:03 PMcy.contains('parent_mutual_class', 'Email address')
.find('dropdown_class')
.click()
do you have a more efficient solution?better-mouse-45393
12/13/2022, 10:31 PMlate-planet-4481
12/13/2022, 10:46 PMget
finds hidden elements all the time, so I assume contains
is the same way. Maybe someone else can confirm.late-planet-4481
12/13/2022, 10:47 PMcy.contains(':visible', 'Banana')
, I think.mysterious-psychiatrist-29678
12/13/2022, 10:49 PMthousands-house-85089
12/13/2022, 11:04 PMhappy-megabyte-98400
12/14/2022, 2:28 AMmagnificent-laptop-98009
12/14/2022, 3:27 AMplain-elephant-20908
12/14/2022, 4:29 AMfresh-doctor-14925
12/14/2022, 7:13 AMstrong-cat-47196
12/14/2022, 7:21 AMcrooked-dress-73751
12/14/2022, 9:47 AM