Skip to content

Commit

Permalink
fix: docs redirect link
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanAce committed Dec 14, 2024
1 parent c1a6395 commit 162e668
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/components/TheFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config = useRuntimeConfig();
const navigation = reactive([
{
label: computed(() => t("footer.nav.docs")),
url: "https://docs.zksync.io/build/tooling/zksync-block-explorers",
url: "https://docs.zksync.io/zksync-era/tooling/block-explorers",
},
{
label: computed(() => t("footer.nav.terms")),
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/header/TheHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const { currentNetwork } = useContext();
const navigation = reactive([
{
label: computed(() => t("header.nav.documentation")),
url: "https://docs.zksync.io/build/tooling/zksync-block-explorers",
url: "https://docs.zksync.io/zksync-era/tooling/block-explorers",
},
]);
Expand Down
2 changes: 1 addition & 1 deletion packages/app/tests/components/TheFooter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe("TheFooter:", () => {
},
});
const links = wrapper.findAll("a");
expect(links[0].attributes("href")).toBe("https://docs.zksync.io/build/tooling/zksync-block-explorers");
expect(links[0].attributes("href")).toBe("https://docs.zksync.io/zksync-era/tooling/block-explorers");
expect(links[1].attributes("href")).toBe("https://zksync.io/terms");
expect(links[2].attributes("href")).toBe("https://zksync.io/contact");
});
Expand Down
2 changes: 1 addition & 1 deletion packages/app/tests/components/TheHeader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe("TheHeader:", () => {
expect(toolsLinks[2].attributes("href")).toBe("https://bridge.zksync.io/");

expect(wrapper.findAll(".navigation-container > .navigation-link")[0].attributes("href")).toBe(
"https://docs.zksync.io/build/tooling/zksync-block-explorers"
"https://docs.zksync.io/zksync-era/tooling/block-explorers"
);
});
it("renders social links", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: Redirection

Examples:
| Extra button name | url |
| Docs | https://docs.zksync.io/build/tooling/zksync-block-explorers |
| Docs | https://docs.zksync.io/zksync-era/tooling/block-explorers |
| Terms | https://zksync.io/terms |
| Contact | https://zksync.io/contact |

Expand All @@ -32,7 +32,7 @@ Feature: Redirection
@id251
Scenario: Verify redirection for Documentation link
Given I click by text "Documentation"
Then New page have "https://docs.zksync.io/build/tooling/zksync-block-explorers" address
Then New page have "https://docs.zksync.io/zksync-era/tooling/block-explorers" address

@id252
Scenario Outline: Verify redirection for "<Sub-Section>" in BE menu
Expand Down

0 comments on commit 162e668

Please sign in to comment.