test scrpit
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
name: E2E TEST
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
test-e2e:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Docker
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Install Docker
|
||||
run: |
|
||||
sudo systemctl start docker
|
||||
sudo usermod -a -G docker $USER
|
||||
docker --version
|
||||
|
||||
- name: Pre-build WebTerminal image for E2E tests
|
||||
run: |
|
||||
docker build -t devstar.cn/devstar/webterminal:latest -f docker/Dockerfile.webTerminal .
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
check-latest: true
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
cache: npm
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install Playwright for E2E testing
|
||||
run: |
|
||||
npx playwright install --with-deps
|
||||
- name: Run E2E tests with installation workflow
|
||||
run: |
|
||||
make test-e2e-sqlite
|
||||
timeout-minutes: 50
|
||||
env:
|
||||
USE_REPO_TEST_DIR: 1
|
||||
DOCKER_HOST: unix:///var/run/docker.sock
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"chrome-devtools": {
|
||||
"command": "npx",
|
||||
"args": ["chrome-devtools-mcp@latest"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"cookies": [
|
||||
{
|
||||
"name": "i_like_gitea",
|
||||
"value": "7ea7ad364f7d5366",
|
||||
"domain": "192.168.181.128",
|
||||
"path": "/",
|
||||
"expires": -1,
|
||||
"httpOnly": true,
|
||||
"secure": false,
|
||||
"sameSite": "Lax"
|
||||
},
|
||||
{
|
||||
"name": "lang",
|
||||
"value": "en-US",
|
||||
"domain": "192.168.181.128",
|
||||
"path": "/",
|
||||
"expires": -1,
|
||||
"httpOnly": true,
|
||||
"secure": false,
|
||||
"sameSite": "Lax"
|
||||
},
|
||||
{
|
||||
"name": "_csrf",
|
||||
"value": "Niy6wnAHLsNWRXpD_5a3rCQnBdo6MTc2MTIyNjAxNjAyMDIyMzk5OA",
|
||||
"domain": "192.168.181.128",
|
||||
"path": "/",
|
||||
"expires": 1761312416.027574,
|
||||
"httpOnly": true,
|
||||
"secure": false,
|
||||
"sameSite": "Lax"
|
||||
}
|
||||
],
|
||||
"origins": []
|
||||
}
|
||||
Reference in New Issue
Block a user