ivanhofer/typesafe-i18n-demo-sveltekit

Testing example with Playwright

Closed this issue · 2 comments

Hi, I cannot find a way to do a test of a component with playwright would you have any samples?

You probably need to call loadAllLocales() and setLocale('en') before running your tests

@ivanhofer thanks it was that and some other playwright idioms that I was incorrectly setting