Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe example for Playwright #219

Closed
rydkvist opened this issue Apr 16, 2024 · 0 comments
Closed

Recipe example for Playwright #219

rydkvist opened this issue Apr 16, 2024 · 0 comments
Labels
PRs Accepted Feel free to pick this up and make a PR

Comments

@rydkvist
Copy link

Hi there!

Is there a possibility to use the env config inside a playwright.config.js?

import { env } from '~/env'

export default defineConfig({
  ...
  forbidOnly: !!env.CI,
  ...
  retries: env.CI ? 2 : 0,
  ...
  workers: env.CI ? 1 : undefined,
  ....
)}

If it is, could you create a recipe on how to adopt this in the docs? Similar to how you've done with Storybook.

Many thanks for the efforts on this package 🙏🏼

@rydkvist rydkvist changed the title Recipe example with Playwright configuration Recipe example for Playwright Apr 16, 2024
@juliusmarminge juliusmarminge added the PRs Accepted Feel free to pick this up and make a PR label Jan 25, 2025
@t3-oss t3-oss locked and limited conversation to collaborators Jan 25, 2025
@juliusmarminge juliusmarminge converted this issue into discussion #307 Jan 25, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
PRs Accepted Feel free to pick this up and make a PR
Projects
None yet
Development

No branches or pull requests

2 participants