Skip to content

Commit

Permalink
Merge branch 'feature/card-visual-tests' into dev/document-standard-s…
Browse files Browse the repository at this point in the history
…napshots
  • Loading branch information
cea2aj authored Jun 7, 2021
2 parents fdd1e28 + b929f5e commit 52ff6b7
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 @@ -69,6 +69,11 @@ const verticalConfiguration = {
verticalKey: 'help_articles',
template: 'vertical-standard',
cardName: 'document-standard'
},
menu_items: {
verticalKey: 'menu_items',
template: 'vertical-grid',
cardName: 'menuitem-standard'
}
};

Expand Down
3 changes: 3 additions & 0 deletions tests/percy/photographer.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ class Photographer {

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');
}

async _captureVerticalGridSearch () {
Expand Down

0 comments on commit 52ff6b7

Please sign in to comment.