This repository has been archived on 2025-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
hlk_autotest/.gitlab-ci.yml
LingandRX bac0dbfdbe ci(test): 更新 Playwright 版本并优化测试脚本
- 将 Playwright 版本从 v1.43.0 升级到 v1.51.0
- 优化了 baseFixture 中的登录流程
- 改进了 customerPage 中的顾客创建逻辑
- 调整了 boss_cashier 和 staff_goal 测试中的操作方式
2025-03-16 19:10:03 +08:00

20 lines
497 B
YAML

playwright_tests:
stage: test
image: mcr.microsoft.com/playwright:v1.51.0-noble
cache:
key: $CI_COMMIT_REF_SLUG
paths:
- node_modules/
before_script:
- npm config set registry https://registry.npmmirror.com
script:
- npm install
- npx playwright test /touch/boss_cashier.spec.ts --grep "挂单" --project '慧来客touch(管理员身份) - Desktop Chrome'
artifacts:
paths:
- test-results/
expire_in: 1 week
tags:
- test
only:
- main