update selector

This commit is contained in:
Matt Charlton 2019-11-15 11:23:31 +00:00
parent a1535aaac4
commit 97a5c6c6b3

View File

@ -3,6 +3,6 @@ const PercyScript = require('@percy/script')
PercyScript.run(async (page, percySnapshot) => {
await page.goto('http://localhost:8000/');
// ensure the page has loaded before capturing a snapshot
await page.waitFor('#Nri-Ui-TextInput-Writing-onBlur-demonstration!');
await page.waitFor('.module-example__Nri-Ui-Alert-V4');
await percySnapshot('homepage');
})