File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77All notable changes to this project will be documented in this file.
88
9+
10+ ## v0.4.0 - UNRELEASED
11+ ### Notes
12+ The Cypress selectors provided by the package are now deprecated and will be removed with the next release.
13+ Instead use role based selectors like ` cy.findByRole ` from ` @testing-library/cypress ` .
14+
915## v0.3.0 - 2025-10-14
1016### Added
1117- feat: rename repository to e2e test server \( [ #758 ] ( https://github.com/nextcloud-libraries/nextcloud-e2e-test-server/pull/758 ) \)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 * A Selector is a function that returns a cypress get or find chain.
88 * You can pass an object to use its data and narrow down
99 * tests against the various elements.
10+ *
11+ * @deprecated - Use role based selectors instead (cy.findByRole, cy.findByLabelText, etc.)
1012 */
1113export interface Selector {
1214 ( args ?: Object ) : Cypress . Chainable < JQuery >
Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ import type { Selector } from "."
77// This is a list of selectors for the @nextcloud /upload library
88// @see https://github.com/nextcloud/nextcloud-upload
99
10+ /**
11+ * @deprecated - Use role based selectors instead (cy.findByRole, cy.findByLabelText, etc.)
12+ */
1013export const UploadPicker : Selector = ( ) => cy . get ( '[data-cy-upload-picker]' )
14+ /**
15+ * @deprecated - Use role based selectors instead (cy.findByRole, cy.findByLabelText, etc.)
16+ */
1117export const UploadPickerInput : Selector = ( ) => UploadPicker ( ) . find ( '[data-cy-upload-picker-input]' )
18+ /**
19+ * @deprecated - Use role based selectors instead (cy.findByRole, cy.findByLabelText, etc.)
20+ */
1221export const UploadPickerAddButton : Selector = ( ) => UploadPicker ( ) . find ( '[data-cy-upload-picker-add]' )
You can’t perform that action at this time.
0 commit comments