Visual UI tests sample with Puppeteer and Jest More information on this can be read here: Testing the UI of your SPFx solution with Puppeteer and Jest.