Skip to content

Commit

Permalink
Fix sidebar version switcher smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Apr 29, 2022
1 parent c1f1c90 commit abc9ea9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/sidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ test.describe("Version Switcher", () => {
[
{
title: "links to the same page if it exists in previous versions",
page: "/enterprise/2.5.x/deployment/installation/docker/",
selector: 'a[data-version-id="2.1.x"]',
href: "/enterprise/2.1.x/deployment/installation/docker/",
page: "/gateway/2.8.x/install-and-run/docker/",
selector: 'a[data-version-id="2.6.x"]',
href: "/gateway/2.6.x/install-and-run/docker/",
},
{
title:
"links to the root page if the page does not exist in previous versions",
page: "/enterprise/2.5.x/deployment/installation/docker/",
selector: 'a[data-version-id="0.34-x"]',
href: "/enterprise/0.34-x",
page: "/gateway/2.8.x/admin-api/consumer-groups/examples/",
selector: 'a[data-version-id="2.6.x"]',
href: "/gateway/2.6.x",
},
].forEach((t) => {
test(t.title, async ({ page }) => {
Expand Down

0 comments on commit abc9ea9

Please sign in to comment.