Skip to content
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

Is it possible to use a playwright config with this package? #61

Closed
drone1 opened this issue Oct 18, 2024 · 2 comments
Closed

Is it possible to use a playwright config with this package? #61

drone1 opened this issue Oct 18, 2024 · 2 comments

Comments

@drone1
Copy link

drone1 commented Oct 18, 2024

Hello and thanks for this package.

I was looking at the docs, then at startPlaywright() and don't see this, but may have missed something?

// Use worker to avoid bug with Meteor fibers

My goal is to override the baseURL for my headless client tests (see below, although the details probably don't matter here).

I have been digging around, but don't see a way to pass a config file to meteor test with TEST_BROWSER_DRIVER=playwright in the same way that one can pass -c my-playwright-config.js to npx playwright

Did I miss something?

Thank you.

import { defineConfig } from '@playwright/test'

export default defineConfig({
  use: {
    baseURL: 'https://www.my-base-url.com:3000'
  },
})
Copy link

Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously.
Our goal is to provide long-term lifecycles for packages and keep up
with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time.
Therefore, we can't guarantee you issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit
a pull request, too! We will accompany you in the process with reviews and hints
on how to get development set up.

Please also consider sponsoring the maintainers of the package.
If you don't know who is currently maintaining this package, just leave a comment
and we'll let you know

@drone1
Copy link
Author

drone1 commented Oct 20, 2024

Looks like I misunderstood a few things about Playwright and this package. Closing...

@drone1 drone1 closed this as completed Oct 20, 2024
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

No branches or pull requests

1 participant