Skip to content

Conversation

@kostya-gromov
Copy link
Contributor

Pull Request Template

Summary

What changed?

This PR fixes the import path for Focus.css in Gestalt Web tests. The path has been updated from ./Focus.css to ../Focus.css to correctly reference the file location.

Why?

Tests in Gestalt Web were failing with an error indicating that ./Focus.css cannot be found. This was due to an incorrect relative path that didn't account for the actual file structure. The file is located one directory level up from where the import statement was looking.

[Error: ENOENT: no such file or directory, open 'gestalt/packages/gestalt/src/Pog/Focus.css'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/gestalt/packages/gestalt/src/Pog/Focus.css'
}

By correcting this path to ../Focus.css, the tests can now properly locate and import the Focus styles, resolving the test failures and ensuring the test suite runs successfully. This is a simple path correction that aligns the import with the actual project structure.

Links

@kostya-gromov kostya-gromov requested a review from a team as a code owner November 13, 2025 10:58
@kostya-gromov kostya-gromov added the bug Something isn't working label Nov 13, 2025
@vercel
Copy link

vercel bot commented Nov 13, 2025

@Kostya92 is attempting to deploy a commit to the Pinterest - Subsites Team on Vercel.

A member of the Team first needs to authorize it.

@kostya-gromov kostya-gromov added the minor release Minor release label Nov 13, 2025
@kostya-gromov kostya-gromov changed the title [Gestalt web]: Changed path for the Focus.css file [Gestalt web][minor] Pog: Changed path for the Focus.css file Nov 13, 2025
@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for gestalt ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit dcd633b
🔍 Latest deploy log https://app.netlify.com/projects/gestalt/deploys/6915b9c75ab5fe00081b57c9
😎 Deploy Preview https://deploy-preview-4094--gestalt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rondevera rondevera added patch release Patch release and removed minor release Minor release labels Nov 19, 2025
@rondevera rondevera changed the title [Gestalt web][minor] Pog: Changed path for the Focus.css file [Gestalt web][patch] Pog: Changed path for the Focus.css file Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch release Patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants