feat(edgeless): store real color values in edgeless #9116
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/actions/edgeless.ts#L654
1) edgeless/brush.spec.ts:77:1 › add brush element with color ────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:83:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
1) edgeless/brush.spec.ts:77:1 › add brush element with color ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:83:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
1) edgeless/brush.spec.ts:77:1 › add brush element with color ────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:83:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
1) edgeless/brush.spec.ts:77:1 › add brush element with color ────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:83:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ──────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:103:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:103:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:103:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ──────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:103:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
3) edgeless/brush.spec.ts:121:1 › add brush element with different size ──────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:128:9
|
Run playwright test:
tests/utils/actions/edgeless.ts#L654
3) edgeless/brush.spec.ts:121:1 › add brush element with different size ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-brush-menu').locator('edgeless-color-panel').locator('.color-unit[aria-label="HeavyBlue"]')
at utils/actions/edgeless.ts:654
652 | .locator('edgeless-color-panel')
653 | .locator(`.color-unit[aria-label="${color}"]`);
> 654 | await colorButton.click();
| ^
655 | }
656 |
657 | export async function selectBrushSize(page: Page, size: string) {
at selectBrushColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:654:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:128:9
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright test
3 failed
edgeless/brush.spec.ts:77:1 › add brush element with color ─────────────────────────────────────
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ───────────
edgeless/brush.spec.ts:121:1 › add brush element with different size ───────────────────────────
46 passed (1.8m)
|
Loading