check each page individually

This commit is contained in:
Matt Charlton 2019-11-15 16:00:31 +00:00
parent a8f71059e7
commit 4457940f48

View File

@ -7,4 +7,39 @@ PercyScript.run(async (page, percySnapshot) => {
await page.waitFor('#categories')
await percySnapshot('NoRedInk-UI', {widths: [1280]})
await page.goto('http://localhost:8000/#category/Animations')
await percySnapshot('Animations')
await page.goto('http://localhost:8000/#category/Buttons')
await percySnapshot('Buttons')
await page.goto('http://localhost:8000/#category/Colors')
await percySnapshot('Colors')
await page.goto('http://localhost:8000/#category/Icons')
await percySnapshot('Icons')
await page.goto('http://localhost:8000/#category/Inputs')
await percySnapshot('Inputs Unchecked')
await page.goto('http://localhost:8000/#category/Layout')
await percySnapshot('Layout')
await page.goto('http://localhost:8000/#category/Modals')
await percySnapshot('Modals')
await page.goto('http://localhost:8000/#category/Pages')
await percySnapshot('Pages')
await page.goto('http://localhost:8000/#category/Tables')
await percySnapshot('Tables')
await page.goto('http://localhost:8000/#category/Text')
await percySnapshot('Text')
await page.goto('http://localhost:8000/#category/Widgets')
await percySnapshot('Widgets')
await page.goto('http://localhost:8000/#category/Messaging')
await percySnapshot('Messaging')
})