Commit f54ac950 authored by liguangyu06's avatar liguangyu06
Browse files

Drop local-only artifacts from the GitLab tree.

Keep Playwright, locators, and designed test assets; omit Cursor LLM helpers, scan dumps, knowledge-base screenshots, bytecode, and unused GitHub Actions.
parent 2d662da1
Pipeline #36422 failed with stage
in 0 seconds
name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
workflow_dispatch:
inputs:
suite:
description: '执行套件'
required: true
default: smoke
type: choice
options:
- smoke
- nightly
- full
- warn
- center
jobs:
test:
timeout-minutes: 120
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
- uses: actions/cache@v4
id: playwright-browsers
with:
path: .playwright-browsers
key: playwright-browsers-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
playwright-browsers-${{ runner.os }}-
- run: npm ci
- name: Typecheck
run: npm run typecheck
- run: npx playwright install-deps chromium
- name: Run suite
run: node scripts/run-ci.mjs --suite="${{ github.event.inputs.suite || 'smoke' }}"
env:
CI: true
PW_RETRIES: '0'
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.playwright-browsers
TEST_USER: ${{ secrets.TEST_USER }}
TEST_PASS: ${{ secrets.TEST_PASS }}
BASE_URL: ${{ secrets.BASE_URL }}
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: reports/latest/
retention-days: 7
......@@ -27,3 +27,19 @@ reports/*
# Cursor 本地配置(rules / skills / mcp),框架运行不依赖
.cursor/
# Python 字节码
__pycache__/
*.py[cod]
# 本地 Cursor/LLM 代理,不入库
config/llm-tunnel.url
scripts/*llm*
playwright.agent.config.ts
# 本仓库走 GitLab + Jenkins,不维护 GitHub Actions
.github/
# 扫描快照与知识库截图:生成定位器用,运行用例不依赖
data/scan/
knowledge-base/
http://127.0.0.1:18081/v1
This diff is collapsed.
{
"pageKey": "ana-chg",
"url": "http://spdtest.cmic.com.cn:8080/spd/form/statistics/report/statistics/chg",
"tableHeaders": [
"产品编号",
"产品名称",
"产品俗称",
"规格型号",
"器械注册人-术语配置",
"单位",
"进院供应商",
"二级供应商",
"耗材类型",
"原单价",
"现单价",
"数量",
"总差额"
],
"sortableColumns": [
"产品编号",
"产品名称",
"产品俗称",
"规格型号",
"器械注册人-术语配置",
"单位",
"进院供应商",
"二级供应商",
"耗材类型",
"数量"
],
"testSortColumns": [
"产品编号",
"产品名称",
"产品俗称",
"规格型号",
"器械注册人-术语配置",
"单位",
"进院供应商",
"二级供应商",
"耗材类型",
"数量"
],
"quickFormFieldsBeforeQuery": [
{
"label": "起始时间",
"type": "date"
},
{
"label": "产品名称",
"type": "text"
},
{
"label": "规格型号",
"type": "text"
}
],
"quickFormFieldsAfterQuery": [
{
"label": "起始时间",
"type": "date"
},
{
"label": "产品名称",
"type": "text"
},
{
"label": "规格型号",
"type": "text"
}
],
"discoveredAt": "2026-09-07T13:43:53.681Z"
}
\ No newline at end of file
This diff is collapsed.
{
"pageKey": "ana-dept",
"url": "http://spdtest.cmic.com.cn:8080/spd/form/statistics/report/statistics/dept",
"tableHeaders": [],
"sortableColumns": [],
"testSortColumns": [],
"quickFormFieldsBeforeQuery": [
{
"label": "时间",
"type": "date"
},
{
"label": "院区名称",
"type": "select"
},
{
"label": "科室",
"type": "select"
}
],
"quickFormFieldsAfterQuery": [
{
"label": "时间",
"type": "date"
},
{
"label": "院区名称",
"type": "select"
},
{
"label": "科室",
"type": "select"
}
],
"discoveredAt": "2026-09-07T13:43:56.109Z"
}
\ No newline at end of file
This diff is collapsed.
{
"pageKey": "ana-prov",
"url": "http://spdtest.cmic.com.cn:8080/spd/form/statistics/report/statistics/prov",
"tableHeaders": [],
"sortableColumns": [],
"testSortColumns": [],
"quickFormFieldsBeforeQuery": [
{
"label": "时间",
"type": "date"
},
{
"label": "进院供应商名称",
"type": "select"
}
],
"quickFormFieldsAfterQuery": [
{
"label": "时间",
"type": "date"
},
{
"label": "进院供应商名称",
"type": "select"
}
],
"discoveredAt": "2026-09-07T13:43:58.532Z"
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"pageKey": "consume-dept-rank",
"url": "http://spdtest.cmic.com.cn:8080/spd/form/consume/report/consume/deptRank",
"tableHeaders": [
"产品编号",
"产品名称",
"规格型号",
"单价",
"消耗数量",
"消耗金额",
"占比"
],
"sortableColumns": [
"产品名称",
"单价",
"消耗数量",
"消耗金额"
],
"quickFormFieldsBeforeQuery": [
{
"label": "统计区间",
"type": "date"
},
{
"label": "院区",
"type": "select"
},
{
"label": "统计范围",
"type": "select"
},
{
"label": "产品名称",
"type": "text"
},
{
"label": "规格型号",
"type": "text"
}
],
"quickFormFieldsAfterQuery": [
{
"label": "统计区间",
"type": "date"
},
{
"label": "院区",
"type": "select"
},
{
"label": "统计范围",
"type": "select"
},
{
"label": "产品名称",
"type": "text"
},
{
"label": "规格型号",
"type": "text"
}
]
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment