microsoft/playwright-pytest

Setting locale for a test affects the local for other tests

jfp1992 opened this issue · 1 comments

When using
@pytest.mark.browser_context_args(locale=<locale>)

It is not reset.

For example, my test will be set to chinese, then the next test with no mark for locale set will still be in Chinese instead of the default, which in my case is English.

I would like to add, essentially right now, if I had 1 Chinese test, I need to mark every single English test