Skip to content

Commit

Permalink
Adjust masthead test case
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jun 28, 2024
1 parent f5b73ab commit b29c828
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Masthead/Masthead.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ describe("Masthead.vue", () => {
});

it("should render simple tab item links", () => {
expect(wrapper.findAll("li.nav-item").length).toBe(6);
expect(wrapper.findAll("li.nav-item").length).toBe(5);
// Ensure specified link title respected.
expect(wrapper.find("#analysis a").text()).toBe("Tools, Workflows and Histories");
expect(wrapper.find("#analysis a").attributes("href")).toBe("#");
expect(wrapper.find("#help").text()).toBe("Support, Contact, and Community");
expect(wrapper.find("#help a").attributes("href")).toBe("/about");
});

it("should display window manager button", async () => {
Expand Down
1 change: 1 addition & 0 deletions client/src/components/Masthead/Masthead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ onMounted(() => {
<MastheadItem
id="help"
icon="fa-question"
url="/about"
tooltip="Support, Contact, and Community"
@click="openUrl('/about')" />
<QuotaMeter />
Expand Down

0 comments on commit b29c828

Please sign in to comment.