Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: 添加 Playwright 测试框架并配置相关工作流 #2

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

star-ll
Copy link
Owner

@star-ll star-ll commented Oct 27, 2024

  • 新增 Playwright 测试工作流文件 (.github/workflows/playwright.yml)
  • 更新 .gitignore 文件,排除测试结果和报告目录
  • 修改 pre-commit 钩子,增加 linting 失败时的错误提示
  • 更新 package.json,添加 Playwright 相关的依赖和脚本
  • 修正 Component 装饰器中的生命周期调用

- 新增 Playwright 测试工作流文件 (.github/workflows/playwright.yml)
- 更新 .gitignore 文件,排除测试结果和报告目录
- 修改 pre-commit 钩子,增加 linting 失败时的错误提示
- 更新 package.json,添加 Playwright 相关的依赖和脚本
- 修正 Component 装饰器中的生命周期调用
- 在 Playwright 测试流程中添加了构建 Decoco 的步骤
- 先构建 core 模块,然后构建 renderer 模块
- 这个改动确保在运行测试之前,Decoco 能够正确构建
- 将 Decoco 的构建顺序从 core -> renderer 改为 renderer -> core
- 这种调整可以更好地利用依赖关系,提高构建效率
@star-ll star-ll merged commit 90a51da into master Oct 28, 2024
1 check passed
@star-ll star-ll deleted the feature-test branch October 28, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant