Skip to content

Commit

Permalink
Document standard snapshots (#818)
Browse files Browse the repository at this point in the history
Snapshot the document standard card

J=SLAP-1361
TEST=visual

Check the updated percy snapshots
  • Loading branch information
cea2aj committed Jun 7, 2021
1 parent b929f5e commit 887b82a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test-site/scripts/create-verticals.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ const verticalConfiguration = {
template: 'vertical-standard',
cardName: 'job-standard'
},
help_articles: {
verticalKey: 'help_articles',
template: 'vertical-standard',
cardName: 'document-standard'
},
menu_items: {
verticalKey: 'menu_items',
template: 'vertical-grid',
Expand Down
3 changes: 3 additions & 0 deletions tests/percy/photographer.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class Photographer {
await this._pageNavigator.gotoVerticalPage('jobs', { query: 'job' });
await this._camera.snapshot('vertical-search--job-standard');

await this._pageNavigator.gotoVerticalPage('help_articles', { query: 'slap chop' });
await this._camera.snapshot('vertical-search--document-standard');

await this._pageNavigator.gotoVerticalPage('menu_items', { query: 'roll' });
await this._camera.snapshot('vertical-search--menuitem-standard');
}
Expand Down

0 comments on commit 887b82a

Please sign in to comment.