Skip to content

Comments

test: add gallery affordances, vrt tests, and perf budgets#618

Merged
shayancoin merged 2 commits intomainfrom
test/vrt-perf-and-gallery
Nov 1, 2025
Merged

test: add gallery affordances, vrt tests, and perf budgets#618
shayancoin merged 2 commits intomainfrom
test/vrt-perf-and-gallery

Conversation

@shayancoin
Copy link
Owner

PR Type

[Feature | Fix | Documentation | Other() ]

Short Description

...

Tests Added

...

@vercel
Copy link

vercel bot commented Nov 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
paform Ready Ready Preview Comment Nov 1, 2025 8:42am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 1, 2025

Warning

Rate limit exceeded

@shayancoin has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 23 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 73c1d3d and b43c621.

📒 Files selected for processing (3)
  • frontend/src/components/GalleryAffordances.css (1 hunks)
  • frontend/tests/e2e/layout.spec.ts (1 hunks)
  • tools/perf/budgets.json (1 hunks)
✨ Finishing touches
  • 📝 Docstrings were successfully generated.
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch test/vrt-perf-and-gallery

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 1, 2025

Caution

Docstrings generation - FAILED

No docstrings were generated.

@shayancoin shayancoin merged commit 189ed16 into main Nov 1, 2025
7 of 12 checks passed
@shayancoin shayancoin deleted the test/vrt-perf-and-gallery branch November 1, 2025 08:42
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +13 to +18
test('gallery affordances reveal on hover', async ({ page }) => {
await page.goto(CONFIGURATOR_URL);
const gallery = page.locator('.kds-gallery-frame');
await gallery.hover();
const controls = page.locator('.kds-gallery__ctrl');
await expect(controls).toHaveCount(2);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Fix gallery hover test selectors

The hover test asserts that two .kds-gallery__ctrl elements become visible, but the configurator page renders only spans inside .kds-gallery-affordances (ClientPage.tsx lines 20‑27) and no elements with a kds-gallery__* class exist anywhere in the codebase. Consequently page.locator('.kds-gallery__ctrl') always matches zero nodes and the test will fail before verifying anything about the affordances. Update the test (or the markup) so the selectors correspond to actual DOM nodes.

Useful? React with 👍 / 👎.

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