admin tests: Increase maxHttpBufferSize to fit settings.json

This commit is contained in:
webzwo0i 2021-07-19 03:59:58 +02:00 committed by Richard Hansen
parent 91d3974a0d
commit d3890bc2c2

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/' 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