Skip to content

Conversation

dwesolow
Copy link

πŸ“ Description

This PR adds mocks for project(s) to be used in playwright tests. This PR is needed for #2977

✨ Changes

Select what type of change your PR is:

  • πŸš€ New feature (non-breaking change which adds functionality)
  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • πŸ”„ Refactor (non-breaking change which refactors the code base)
  • ⚑ Performance improvements
  • 🎨 Style changes (code style/formatting)
  • πŸ§ͺ Tests (adding/modifying tests)
  • πŸ“š Documentation update
  • πŸ“¦ Build system changes
  • 🚧 CI/CD configuration
  • πŸ”§ Chore (general maintenance)
  • πŸ”’ Security update
  • πŸ’₯ Breaking change (fix or feature that would cause existing functionality to not work as expected)

βœ… Checklist

Before you submit your pull request, please make sure you have completed the following steps:

  • πŸ“š I have made the necessary updates to the documentation (if applicable).
  • πŸ§ͺ I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).
  • 🏷️ My PR title follows conventional commit format.

For more information about code review checklists, see the Code Review Checklist.

@dwesolow dwesolow self-assigned this Sep 29, 2025
@dwesolow dwesolow changed the base branch from main to feature/geti-inspect September 29, 2025 12:19
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

βœ… All modified and coverable lines are covered by tests.

πŸ“’ Thoughts on this report? Let us know!

},
{
settings: {
'import/resolver': {

Choose a reason for hiding this comment

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

What does this check do?

Copy link
Author

@dwesolow dwesolow Sep 29, 2025

Choose a reason for hiding this comment

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

It allows eslint to parse path imports properly when we have more than one tsconfig.json

"compilerOptions": {
"baseUrl": ".",
"paths": {
"@geti-inspect/test-fixtures": ["./fixtures"]

Choose a reason for hiding this comment

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

Could we rename the file to be test-fixtures as well? Atm I think it could be confusing if you'd try to search for the file related to test-fixtures since the name is different.

Copy link
Author

Choose a reason for hiding this comment

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

Ok, will rename it in a project management PR since I need to rebase there.

Copy link
Author

Choose a reason for hiding this comment

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

I'm wondering if it makes sense to rename (to add prefix test) if the file already is in the tests context?

@dwesolow dwesolow merged commit dd75ba6 into feature/geti-inspect Sep 29, 2025
17 of 20 checks passed
@dwesolow dwesolow deleted the dwesolow/configure-playwright-mocks branch September 29, 2025 13:55
MarkRedeman pushed a commit that referenced this pull request Oct 8, 2025
)

chore(inspect): Configure project(s) mocks for playwright
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.

3 participants