I want to setup a functional test that includes installing/uninstalling my public app, currently being developed and used on my dev store.
At this link: https://partners.shopify.com/1185756/apps/3207477/test
I check the CSS for the install link and see this element:
<p id="StoresListItem-LabelOnHover" class="CB8E4">Install app</p>
I can not find an associated <a> tag above or below it.
What is the most precise way to initiate an app install, so that Puppeteer can test initial scope granting plus the rest of the OAuth and initial config?
At the moment I think I should just tell puppeteer to target the above element.
Solved! Go to the solution
This is an accepted solution.
Yes, the only option for you would be to "click" on the Install app and Uninstall app elements (within the Apps section in the backoffice) if you want to do a complete install/uninstall test. Though I am not sure why would you test Shopify's part?