mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-21 12:19:03 +03:00
One snapshot, one width
This commit is contained in:
parent
651f96b2fd
commit
f38215a0b1
@ -5,28 +5,5 @@ PercyScript.run(async (page, percySnapshot) => {
|
|||||||
// ensure the page has loaded before capturing a snapshot
|
// ensure the page has loaded before capturing a snapshot
|
||||||
await page.waitFor('.module-example__Nri-Ui-Alert-V4')
|
await page.waitFor('.module-example__Nri-Ui-Alert-V4')
|
||||||
|
|
||||||
await page.goto('http://localhost:8000/#category/Animations')
|
percySnapshot('NoRedInk-UI', {widths: [1280]})
|
||||||
percySnapshot('Animations')
|
|
||||||
await page.goto('http://localhost:8000/#category/Buttons')
|
|
||||||
percySnapshot('Buttons')
|
|
||||||
await page.goto('http://localhost:8000/#category/Colors')
|
|
||||||
percySnapshot('Colors')
|
|
||||||
await page.goto('http://localhost:8000/#category/Icons')
|
|
||||||
percySnapshot('Icons')
|
|
||||||
await page.goto('http://localhost:8000/#category/Inputs')
|
|
||||||
percySnapshot('Inputs')
|
|
||||||
await page.goto('http://localhost:8000/#category/Layout')
|
|
||||||
percySnapshot('Layout')
|
|
||||||
await page.goto('http://localhost:8000/#category/Modals')
|
|
||||||
percySnapshot('Modals')
|
|
||||||
await page.goto('http://localhost:8000/#category/Pages')
|
|
||||||
percySnapshot('Pages')
|
|
||||||
await page.goto('http://localhost:8000/#category/Tables')
|
|
||||||
percySnapshot('Tables')
|
|
||||||
await page.goto('http://localhost:8000/#category/Text')
|
|
||||||
percySnapshot('Text')
|
|
||||||
await page.goto('http://localhost:8000/#category/Widgets')
|
|
||||||
percySnapshot('Widgets')
|
|
||||||
await page.goto('http://localhost:8000/#category/Messaging')
|
|
||||||
percySnapshot('Messaging')
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user