test(cy): rely on @nextcloud/axios for requests
Simplify the handling of csrf-tokens and auth.
🏁 Checklist
- [x] Code is properly formatted (
npm run lint/npm run stylelint/composer run cs:check) - [x] Sign-off message is added to all commits
- Simplifying tests.
- No documentation needed.
~~I have no idea why this is not running the cypress tests. Somehow the initial job does not seem to get started.~~ Looks like one runner of a previous test get stuck. Canceled it and now tests are running for the latest commit.
Currently crashes the browser for me when running cypress test for direct editing. I think we've seen that as well when testing a cypress upgrade. Will set to draft until I manage to resolve it.
Very nice cleanup 🚀
/backport to stable29
/backport to stable28
/backport to stable29