You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The start of the test should probably look like:
(the beforeEach script already dismisses the onboarding, so that's good for "reloading" the onboarding.
Just to wait for the app to load, having said that maybe you don't need to wait for the stream to start for this test?
This test probably won't follow the example of many of the other tests, namely because you should be able normal playwright conventions and query mostly HTML for this
since that's the case maybe giving yarn playwright codegen -b wk --load-storage ./store localhost:3000 is worth a shot?
There's another task in #833 if you restart the onboarding it re-executes with the new code for the onboarding
That maybe should be covered as part of this?
There's another task in #833 if you restart the onboarding it re-executes with the new code for the onboarding
That maybe should be covered as part of this?
I'm not sure how I should be testing "re-executes". Should I be checking if the stream video frame:
exists
is different than before
is correct
or should I be using something to do with the debug panel to proxy testing the actual stream?
I thought this was a good one for you Frank since it's testing your work.
Read through the playwright section of the readme to cover the basics.
The start of the test should probably look like:
(the beforeEach script already dismisses the onboarding, so that's good for "reloading" the onboarding.
Just to wait for the app to load, having said that maybe you don't need to wait for the stream to start for this test?
This test probably won't follow the example of many of the other tests, namely because you should be able normal playwright conventions and query mostly HTML for this
since that's the case maybe giving
yarn playwright codegen -b wk --load-storage ./store localhost:3000
is worth a shot?Where
./store
should look like thislmk if that works.
btw if as part of this you want to test the onboarding when it loads for the first time, override the beforeEach script with the following.
The text was updated successfully, but these errors were encountered: