cuddly-orange-98458
07/19/2022, 11:38 AMcuddly-orange-98458
07/19/2022, 11:46 AMfresh-hairdresser-85192
07/19/2022, 1:11 PMfamous-restaurant-30435
07/19/2022, 1:25 PMfresh-hairdresser-85192
07/19/2022, 1:50 PMsome-piano-59562
07/19/2022, 3:31 PMbland-salesclerk-62828
07/19/2022, 4:07 PMadorable-smartphone-87280
07/19/2022, 7:50 PMmagnificent-judge-17148
07/20/2022, 8:17 AMelegant-river-87347
07/20/2022, 10:15 AMbrainy-account-24503
07/20/2022, 10:26 AMcareful-insurance-62240
07/20/2022, 10:44 AMalert-motorcycle-49357
07/20/2022, 1:14 PMfresh-hairdresser-85192
07/20/2022, 1:21 PMfresh-hairdresser-85192
07/20/2022, 1:22 PMon
is used to hook into various events Cypress emits
// config
is the resolved Cypress config
on('file:preprocessor', cucumber())
}fresh-hairdresser-85192
07/20/2022, 1:32 PMhandsome-lion-1748
07/20/2022, 2:34 PMcy.get(':checkbox').should('be.disabled')
I don't understand the colons in :checkbox
and I couldn't find anything to explain it, could anybody explain?aloof-artist-57349
07/20/2022, 2:44 PMhandsome-lion-1748
07/20/2022, 2:53 PMaloof-artist-57349
07/20/2022, 3:13 PMnice-soccer-53564
07/20/2022, 10:49 PMadorable-smartphone-87280
07/21/2022, 12:06 AMadventurous-dream-20049
07/21/2022, 12:32 AMafter:spec
data is based on the spec level, and not for each test. We consider each time the it() function is called to be a single test. So you will generally have several tests recorded within each spec file and likely several spec files within a single run:
-- All videos are available for all tests within a failed spec
-- All videos are available for all tests within a spec that has a flaky test
-- No videos are available for tests within a spec that has both passed and has no flaky tests because the videos have been deleted
Delete when specs pass: This will only upload videos for failed specs. The video playback option will be greyed out and not clickable for any spec that does not contain at least 1 failing test: https://docs.cypress.io/api/plugins/after-spec-api#Delete-the-recorded-video-if-the-spec-passed
Delete when specs pass and have no flaky tests (option @adorable-smartphone-87280 provided above): This will upload both failed specs and videos for specs with flaky tests. In this case, the video playback option will only be greyed out and not clickable if all tests have passed (and are not flaky) within a spec: https://docs.cypress.io/api/plugins/after-spec-api#Delete-the-recorded-video-if-no-tests-retriedhandsome-lion-1748
07/21/2022, 8:55 AMimportant-fireman-17295
07/21/2022, 10:10 AMpolite-painting-51763
07/21/2022, 12:38 PMpolite-painting-51763
07/21/2022, 12:38 PMpolite-painting-51763
07/21/2022, 12:41 PMgray-kilobyte-89541
07/21/2022, 1:10 PMpolite-painting-51763
07/21/2022, 1:48 PM