Spike: Test cypress as replacement for taiko
Our taiko tests break here and there, it's painful. I.e. https://open.greenhost.net/stackspin/nextcloud/-/jobs/239755 (pipeline of !212 (merged)):
Nextcloud Onlyoffice integration
✔ Clicked customSelector with query li[data-id=files] 1 times
✔ https://files-nc212.gitlab.stackspin.net/apps/files/?dir=/&fileid=2reloaded
✔ Element is Visible
✔ Clicked link[class*="new"] 1 times
✔ Clicked element matching text "New document" 1 times
✔ Pressed the t + e + s + t + - + e + 4 + 2 + 5 + a + c + b + 4 + c + 0 + 5 + e key
Error: Navigation took more than 60000ms. Please increase the navigationTimeout.
at doActionAwaitingNavigation (/usr/local/lib/node_modules/taiko/lib/doActionAwaitingNavigation.js:66:13)
at async simulateInputEvents (/usr/local/lib/node_modules/taiko/lib/actions/click.js:33:5)
at async click (/usr/local/lib/node_modules/taiko/lib/actions/click.js:72:5)
at async module.exports.click (/usr/local/lib/node_modules/taiko/lib/taiko.js:923:16)
at async module.exports.<computed> (/usr/local/lib/node_modules/taiko/lib/taiko.js:2626:14)
at async global.<computed> (/usr/local/lib/node_modules/taiko/bin/runFile.js:38:15)
at async run_all_tests (/var/local/..2022_07_05_12_44_54.2813978459/test.js:141:5)
at async /var/local/..2022_07_05_12_44_54.2813978459/test.js:29:13
Got an error here
I'd like to test https://www.cypress.io/, a different web testing framework, to see if it improves our e2e tests. I'll push a test repo which we can use to try it.
Edited by Varac