Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Apr 28, 2022
1 parent 627b8c1 commit b00a0cd
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 b00a0cd

Please sign in to comment.