Sander

Results 192 comments of Sander

related to: https://github.com/testing-library/vue-testing-library/issues/305

> 👋 @sand4rt what should we do with this one? I resolved the merge conflicts and comment. Would really like to see this merged. [`@vue/test-utils`](https://github.com/vuejs/test-utils/blob/main/src/mount.ts#L21) decided to do this as...

Would it be possible to run only the tests related to the open Git changes when initiating tests using `PWTEST_WATCH=1`, rather than executing all of them right away? Jest/Vitest uses...

Just sharing my thoughts on why i like the new locators: 1. Using ID's and _(mainly)_ classes both for testing and development is fragile because they have two different reasons...

I'm not trying to argue here. Just sharing my thoughts about the new locators:)

It is also possible to use custom locators https://playwright.dev/docs/test-fixtures#overriding-fixtures: ```javascript import { test as base } from '@playwright/test'; const test = base.extend({ page: async ({ page }, use) => {...

Agree that this might be useful. Maybe a `mode` flag on the `mountOptions`? When set to `ssr` the component will be rendered in node with: - `require('solid-js/web').renderToString` - `require('react-dom/server').renderToString` -...

Would like to explore the ideas a bit further if you can share a simple repository with SSR use case(s) you want to test?

@khryshyn yeah agree. No one seems to have a working/released solution for mocking API calls in server components yet tho. @kettanaito / MSW is working on something which looks really...

Awesome! @yjaaidi I cooked a base project that is consistent with the other frameworks. Perhaps you can build upon this?: https://github.com/microsoft/playwright/pull/19395. It includes a simple mount + unmount _(no transpilation...