mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 10:31:50 +08:00
test(core): add a simple test for comment (#13150)
#### PR Dependency Tree * **PR #13150** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Added a new end-to-end test to verify creating and displaying comments on selected text within a document. * Updated test retry logic to limit retries to 1 in local or non-CI environments, and to 3 in CI environments without COPILOT enabled. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -23,7 +23,7 @@ const config: PlaywrightTestConfig = {
|
||||
},
|
||||
forbidOnly: !!process.env.CI,
|
||||
workers: process.env.CI && !process.env.COPILOT ? 1 : 4,
|
||||
retries: process.env.COPILOT ? 1 : 3,
|
||||
retries: process.env.COPILOT || !process.env.CI ? 1 : 3,
|
||||
reporter: process.env.CI ? 'github' : 'list',
|
||||
webServer: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user