Skip to content

Commit

Permalink
test(backstop): updates backstop tests with new classes for aside
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Sep 18, 2023
1 parent 0ca5a1b commit 15335b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _ci/backstop/scenarios/cats/cats_navigate_from_post.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
url: POST_URL,
viewports: aboveSmallViewports,
onReadyScript: 'playwright/onReadyCats.js',
clickSelector: '.post-aside a[href="/posts/category/development/"]',
clickSelector: '.post .aside a[href="/posts/category/development/"]',
postInteractionWait: 1000,
selectors: ['document'],
selectorExpansion: false,
Expand Down
2 changes: 1 addition & 1 deletion _ci/backstop/scenarios/cats/cats_select_tests_category.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
label: 'Cats - Select "Tests" Category',
url: CATS_URL,
viewports: aboveSmallViewports,
clickSelector: '.category-aside a[href="/posts/category/tests/"]',
clickSelector: '.category .aside a[href="/posts/category/tests/"]',
postInteractionWait: 1000,
selectors: ['viewport'],
selectorExpansion: false,
Expand Down
2 changes: 1 addition & 1 deletion _ci/backstop/scenarios/post/post_aside_toc_active.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
url: POST_URL,
viewports: aboveSmallViewports,
delay: 500,
selectors: ['.post-aside'],
selectors: ['.post .aside'],
selectorExpansion: false,
misMatchThreshold: 0.2,
requireSameDimensions: false,
Expand Down
2 changes: 1 addition & 1 deletion _ci/backstop/scenarios/post/post_aside_toc_click.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
url: POST_URL,
viewports: aboveSmallViewports,
clickSelector:
'.post-aside .page-navigation-list a[href="#step-2-caesar-dressing-the-holy-grail-of-salad-sauces"]',
'.post .aside .page-navigation-list a[href="#step-2-caesar-dressing-the-holy-grail-of-salad-sauces"]',
postInteractionWait: 800,
selectors: ['viewport'],
selectorExpansion: false,
Expand Down

0 comments on commit 15335b7

Please sign in to comment.