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:
Peng Xiao
2025-07-11 12:13:46 +08:00
committed by GitHub
parent e0f88451e1
commit 3d45c7623f
2 changed files with 141 additions and 1 deletions
+1 -1
View File
@@ -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: [
{