Skip to content

Conversation

@max-nextcloud
Copy link
Contributor

See #601.

This package is also used in playwright tests.
Remove the peer dependency to avaoid automatic installation of cypress.

I also considered making it an optional dependency. But then it would still be installed by default.

@max-nextcloud max-nextcloud force-pushed the cleanup/drop-cypress-peer-dependency branch from 395abd7 to c7d5acb Compare January 6, 2025 11:22
See #601.

This package is also used in playwright tests.
Remove the peer dependency to avaoid automatic installation of cypress.

I also considered making it an optional dependency.
But then it would still be installed by default.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the cleanup/drop-cypress-peer-dependency branch from c7d5acb to e02bdd7 Compare January 6, 2025 11:24
@skjnldsv
Copy link
Contributor

skjnldsv commented Jan 7, 2025

This package is also used in playwright tests.

How ?

@max-nextcloud
Copy link
Contributor Author

max-nextcloud commented Jan 7, 2025

This package is also used in playwright tests.

How ?

Forms uses it to start and configure the nextcloud server playwright runs against and to run commands on the server.

I don't know if it's also used in other repos in that way - but I'm starting with the use in forms as a template for adding playwright tests to the files_retention app. I'm also looking into ways to move some of the playwright tooling of the forms app to a place where I can reuse it.

@skjnldsv
Copy link
Contributor

skjnldsv commented Jan 7, 2025

Time to rename that repo then :)

I would prefer a PR that removes cypres and also rename + fix #601 entirely.
Removing cypress right now feels weird for a cypress lib :)

@max-nextcloud
Copy link
Contributor Author

Moving on with this in #601 and a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants