busy-football-20916
04/27/2023, 11:47 AMabundant-crayon-56661
04/28/2023, 1:42 PMquiet-house-97222
05/01/2023, 8:26 AMhttps://cdn.discordapp.com/attachments/1102511354004394064/1102511354897776650/image.png▾
https://cdn.discordapp.com/attachments/1102511354004394064/1102511355313000488/image.png▾
https://cdn.discordapp.com/attachments/1102511354004394064/1102511355690500146/image.png▾
https://cdn.discordapp.com/attachments/1102511354004394064/1102511356042809424/image.png▾
bulky-air-5304
05/02/2023, 5:35 PMmodern-eve-89801
05/03/2023, 6:48 AMhttps://cdn.discordapp.com/attachments/1103211436794187816/1103211878466981940/MicrosoftTeams-image_12.png▾
https://cdn.discordapp.com/attachments/1103211436794187816/1103211878735425536/MicrosoftTeams-image_11.png▾
mammoth-airport-22852
05/03/2023, 7:11 AMechoing-tent-95037
05/03/2023, 7:21 PMblue-byte-69122
05/04/2023, 12:30 PMthousands-house-85089
05/04/2023, 4:37 PMfamous-jackal-78150
05/05/2023, 5:53 AMfamous-jackal-78150
05/05/2023, 5:56 AMaloof-carpet-54145
05/05/2023, 6:36 PMrough-jordan-64731
05/08/2023, 6:32 PMCypress.env(
I want to get a code suggestion for the available env variables defined in my cypress.config.ts.
I just wanted to ask here before implementing it myself, since I'm annoyed to always have to look up my cypress.config.ts for my defined env variables 😄quiet-knife-49377
05/10/2023, 6:59 AMbillowy-animal-75040
05/10/2023, 10:25 PMdata-*
attribute to avoid brittle selectors that are subject to change.
They also state that they strongly endorse the Testing Library ethos and approach to writing tests and strongly endorse their best practice (https://docs.cypress.io/guides/references/best-practices#Selecting-Elements).
However, the testing library prioritizes data-*
attributes as the lowest method selection (https://testing-library.com/docs/queries/about/#priority).
Personally, I agree with the testing library's approach and guiding principles, but this section on Cypress's best practices guide felt very contradictory to me and am curious if I'm misunderstanding anything.faint-winter-1135
05/11/2023, 4:42 PMstale-bear-96866
05/11/2023, 11:34 PMfamous-dress-70846
05/12/2023, 6:06 PMhttps://cdn.discordapp.com/attachments/1106643634431987812/1106643634805276823/image.png▾
proud-river-89845
05/13/2023, 12:04 AMadorable-insurance-32249
05/15/2023, 1:38 PM"retries" : {
"runMode": 1,
"openMode": 0
}
My full command was `npx cypress run --spec
My terminal never displays the second attempt. When running it in openMode, it does show the second attempt.
https://cdn.discordapp.com/attachments/1107663292073246770/1107663292324925592/Screen_Shot_2023-05-15_at_09.28.55.png▾
broad-wire-63018
05/15/2023, 3:06 PMcalm-cartoon-89224
05/17/2023, 2:46 PMflat-painter-96557
05/18/2023, 4:37 PMechoing-tent-95037
05/18/2023, 8:32 PMquiet-knife-49377
05/18/2023, 9:56 PMhappy-table-33950
05/19/2023, 6:20 AMhttps://cdn.discordapp.com/attachments/1109002658838216704/1109002658985037894/image.png▾
early-lamp-20318
05/19/2023, 5:54 PMminiature-diamond-70651
05/22/2023, 6:41 AMshy-shampoo-20893
05/22/2023, 7:48 PMechoing-kangaroo-83836
05/23/2023, 1:23 PM