mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
tests: Admin Frontend Test Coverage(#4717)
Covers all frontend admin operations, runs separated in CI.
This commit is contained in:
parent
294f2a251f
commit
2b112ac851
13 changed files with 463 additions and 50 deletions
3
.github/workflows/frontend-tests.yml
vendored
3
.github/workflows/frontend-tests.yml
vendored
|
@ -88,6 +88,9 @@ jobs:
|
|||
- name: Write custom settings.json with loglevel WARN
|
||||
run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json"
|
||||
|
||||
- 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"
|
||||
|
||||
# XXX we should probably run all tests, because plugins could effect their results
|
||||
- name: Remove standard frontend test files, so only plugin tests are run
|
||||
run: rm src/tests/frontend/specs/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue