This thread is trying to answer question "Why can't the user access their app after the login process?"
Between clicking the Sign in, and navigating (goto) the inbox page, you have to first intelligently wait to confirm that the sign-in is actually finished.
Does the Sign in bring you to another page? Or does something change on screen?
Often you can do something like
Might suggest getting better locators. It seems the recorder was used to get this script, not bad but it is often only good for that instance. The getByText('...1:25') is the time taken or what but guessing it changes and your error. So find any other method to get the locator you want... Best to view the recorder/codegen as a good place to save effort but never assume it is the best code possible, would think the code is mostly ok but 100% to fail in my environment as the 'text' i may go for always changes.
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email email@example.com.