feat: expand intelligent investigation workspace
Generic Container CI/CD / test-build-publish (push) Successful in 1m52s
Frontend CI/CD / build-test-publish-and-deploy (push) Successful in 1m52s

This commit is contained in:
2026-10-30 17:30:19 +08:00
parent ddd03dbff6
commit c0e4231b83
223 changed files with 13155 additions and 5304 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ for (const width of [320, 375, 400, 640]) {
const contextBox = (await context.boundingBox())!;
const titleBox = (await titleElement.boundingBox())!;
const topicBox = (await topic.boundingBox())!;
expect(titleBox.width).toBeGreaterThanOrEqual(contextBox.width - 26);
const titleInset = await context.evaluate((element) => parseFloat(getComputedStyle(element).paddingInlineStart));
expect(titleBox.width).toBeCloseTo(contextBox.width - titleInset * 2, 0);
expect(titleBox.height).toBeGreaterThanOrEqual(20);
if (width < 640) expect(titleBox.height).toBeGreaterThan(20);
expect(titleBox.height).toBeLessThanOrEqual(40);