Contributing - npm run test requires a browserstack account?

(Let me know if I should talk about this subject in the github issues instead)

I would like to submit a PR but npm run test throw an Authorization required error on interactions/safari.test.ts (I’m on windows). I tried to use my Browserstack credentials (free trial) as in browserstack.config.ts without success, is there a workaround to pass the tests ?

cc @RaananW

No, sadly these are the only ones you cannot (yet) run locally. I will add it as a task to allow them run locally

I’m not sure it would completely fit your needs but maybe webkit/safari with playwright on windows could be an option…

So I guess a workaround is to not running all the tests locally and to let the CI do the tests after pushing ?

Yes, that’s the workaround, and yes, this is the way it will be solved :slight_smile:

Following up on this one - interaction tests are now running using playwright in a webkit-based browser, so no browserstack is needed. Awesome! :slight_smile:

2 Likes

Well done @RaananW :raised_hands:!! I did not noticed at that time that the tests were so long to run and I think most of you will still use the CI to pass the tests but it’s awesome ! Playwright is such an amazing tool, I would never go back to Cypress :sweat_smile:

1 Like