Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap authored and Guaris committed Aug 16, 2022
1 parent ef31f70 commit 6321497
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions jekyll-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ defaults:
layout: "docs-v2"
version-index: 2

- scope:
path: "gateway/3.0.x/"
values:
layout: "docs-v2"
version-index: 3

- scope:
path: "about"
values:
Expand Down
6 changes: 6 additions & 0 deletions jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ defaults:
layout: "docs-v2"
version-index: 2

- scope:
path: "gateway/3.0.x/"
values:
layout: "docs-v2"
version-index: 3

- scope:
path: "about"
values:
Expand Down
2 changes: 1 addition & 1 deletion tests/sidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test.describe("Version Switcher", () => {
test.describe("Outdated version documentation", () => {
const oldVersionSelector =
'blockquote:has-text("You are browsing documentation for an outdated version.") a';
const latestGatewayVersion = "2.8.x";
const latestGatewayVersion = "3.0.x";

test("does not show on the latest version", async ({ page }) => {
await page.goto(`/gateway/${latestGatewayVersion}/install-and-run/rhel/`);
Expand Down

0 comments on commit 6321497

Please sign in to comment.