This thread is trying to answer question "How to automate a system which involves both mobile and web apps?"
First of all, Playwright does not support testing of mobile native apps, only in browsers. I have no experiences with mobile apps, so someone else would have to give you some suggestions how to approach this.
One approach could be to separate this to different test suites. Do you really need to test it E2E? You can mock the user input from an app using (for example) some API calls and then test the web app by standard browser tests using the test data.
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 protected].