stable
Clone or download
Read-only
fix: request #40111 Mediawiki standalone e2e test fails on error 500
No functional change. make tests-e2e should succeed for Mediawiki standalone plugin. Why? Since error 500 is somehow "normal" for Mediawiki standalone until an async event has been run, we should ignore such errors when reloading its main page. The parameter to tell cypress to ignore status code errors had been added previously, but was not being used when the service URL was already in cache. We also check that we do not get a database error. Change-Id: Icefef48534078b87183497c4a6014e2ab4462862
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/test-utils/cypress-utilities-support/src/commands.ts | +3 | −1 | Go to diff View file |
M | plugins/mediawiki_standalone/tests/e2e/cypress/cypress/e2e/mediawiki-standalone.cy.ts | +13 | −9 | Go to diff View file |