admin tests: settings.json is allowed to be larger than maxHttpBufferSize

fix-adminupdateplugins
webzwo0i 2021-07-19 03:59:58 +02:00
parent da804f0142
commit 8eb5afa283
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ jobs:
- name: Write custom settings.json that enables the Admin UI tests
run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"
- name: increase maxHttpBufferSize
run: "sed -i 's/\"maxHttpBufferSize\": 10000/\"maxHttpBufferSize\": 100000/g' settings.json"
- name: Remove standard frontend test files, so only admin tests are run
run: mv src/tests/frontend/specs/* /tmp && mv /tmp/admin*.js src/tests/frontend/specs