libreoffice-online/cypress_test/support/index.js
Tamás Zolnai 5b1b66ac51 update cypress: 4.12.1 -> 5.1.0
* Fixes random failures in interactive test runner.
* Introduces test retries, what we did with an own script so far.

Change-Id: Iab5c32e854618a694e7d10d3c92c1c6c32465983
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102991
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 12:49:59 +02:00

11 lines
189 B
JavaScript

/* global require Cypress */
require('cypress-failed-log');
if (Cypress.env('INTEGRATION') === 'php-proxy') {
Cypress.Server.defaults({
ignore: function() {
return true;
}
});
}