A project to automate Salesforce Scratch Org set up using Playwright: https://playwright.dev/.
-
Clone project and install required packages:
$ git clone [email protected]:OliverAHolmes/salesforce-playwright.git
$ npm install
-
Open
tests/example.spec.ts
-
Update
sfdxProjectDir
to the directory of your SFDX project. -
Make your Playwright automations, making sure you include:
- await page.goto(sfOrgUrlFrontDoor);
- await page.goto(sfOrgUrl + '/lightning/page/home');
There is a example included that add nav items.