e814adfb28
There are cases sometimes, where we can't use cypress' nice retry feature for waiting to an assumption to be true. A workaround for this issue is the cypress-wait-until package, which makes us able to use the retry feature for any use case. An example is the position of an element. I don't know a way to wait on the position to get changed in the cypress test framework. So we can use cy.waitUntil() here instead. Please use this new package when it's really necessary, do not replace the better cypress calls with it. Change-Id: I8c553456e351664e30043b8ccd5ace51f1c0298d Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91554 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
18 lines
414 B
JSON
18 lines
414 B
JSON
{
|
|
"name": "cypress_test",
|
|
"version": "1.0.0",
|
|
"description": "Cypress integration test suit",
|
|
"license": "MPL-2.0",
|
|
"dependencies": {
|
|
"cypress": "4.3.0",
|
|
"cypress-failed-log": "2.6.2",
|
|
"cypress-wait-until": "1.6.1",
|
|
"eslint": "6.8.0",
|
|
"get-port-cli": "2.0.0",
|
|
"wait-on": "4.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://gerrit.libreoffice.org/online.git"
|
|
}
|
|
}
|