Skip to content

Commit

Permalink
help articles vertical and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
cea2aj committed Jun 4, 2021
1 parent 59d4593 commit fdd1e28
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 @@ -64,6 +64,11 @@ const verticalConfiguration = {
verticalKey: 'jobs',
template: 'vertical-standard',
cardName: 'job-standard'
},
help_articles: {
verticalKey: 'help_articles',
template: 'vertical-standard',
cardName: 'document-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 @@ -58,6 +58,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');
}

async _captureVerticalGridSearch () {
Expand Down

0 comments on commit fdd1e28

Please sign in to comment.