forked from sombochea/verdaccio-ui
build: e2e integration with puppeteer (#192)
* build: add e2e testing scripts * build: add e2e testing scripts * chore: fix script * chore: fix script * chore: ignore e2e normal test * chore: fix node_latest_browser * chore: move lint to prepare * chore: fix lint * chore: add local theme * fix: e2e tests
This commit is contained in:
committed by
GitHub
parent
0c4fb7da13
commit
d1b3e6e3b5
31
test/e2e/config/config-protected-e2e.yaml
Normal file
31
test/e2e/config/config-protected-e2e.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
web:
|
||||
enable: true
|
||||
title: verdaccio-server-protected-e2e
|
||||
|
||||
store:
|
||||
memory:
|
||||
limit: 10
|
||||
|
||||
auth:
|
||||
auth-memory:
|
||||
users:
|
||||
test:
|
||||
name: test
|
||||
password: test
|
||||
|
||||
logs:
|
||||
- { type: stdout, format: pretty, level: warn }
|
||||
|
||||
packages:
|
||||
'protected-*':
|
||||
access: $authenticated
|
||||
publish: $authenticated
|
||||
|
||||
theme:
|
||||
../plugins/theme:
|
||||
prop: dummy
|
||||
|
||||
listen: 0.0.0.0:55552
|
||||
|
||||
# expose internal methods
|
||||
_debug: true
|
||||
34
test/e2e/config/config-scoped-e2e.yaml
Normal file
34
test/e2e/config/config-scoped-e2e.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
web:
|
||||
enable: true
|
||||
title: verdaccio-server-e2e
|
||||
|
||||
store:
|
||||
memory:
|
||||
limit: 10
|
||||
|
||||
auth:
|
||||
auth-memory:
|
||||
users:
|
||||
test:
|
||||
name: test
|
||||
password: test
|
||||
|
||||
logs:
|
||||
- { type: stdout, format: pretty, level: warn }
|
||||
|
||||
packages:
|
||||
'@*/*':
|
||||
access: $all
|
||||
publish: $all
|
||||
'**':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
|
||||
theme:
|
||||
../plugins/theme:
|
||||
prop: dummy
|
||||
|
||||
listen: 0.0.0.0:55558
|
||||
|
||||
# expose internal methods
|
||||
_debug: true
|
||||
Reference in New Issue
Block a user