Skip to content

Commit

Permalink
feat(fe): Changed name of the application (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamartinezmejia authored Mar 14, 2024
1 parent 142b2c6 commit 913842c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/FormBCSCPage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("BCSC Form", () => {
cy.visit("/");
cy.wait(500);

cy.get("#landing-title").should("contain", "Forest Client Management System");
cy.get("#landing-title").should("contain", "Forests Client Management System");

cy.get("#landing-subtitle").should(
"contain",
Expand Down
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/FormGeneral.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe("General Form", () => {

it("should render the component", () => {
cy.visit("/");
cy.get("#landing-title").should("contain", "Forest Client Management System");
cy.get("#landing-title").should("contain", "Forests Client Management System");

cy.get("#landing-subtitle").should(
"contain",
Expand Down
8 changes: 4 additions & 4 deletions frontend/cypress/e2e/SubmissionReviewPage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe("Submission Review Page", () => {
cy.visit("/");
cy.wait(500);

cy.get("#landing-title").should("contain", "Forest Client Management System");
cy.get("#landing-title").should("contain", "Forests Client Management System");

cy.get("#landing-subtitle").should(
"contain",
Expand Down Expand Up @@ -105,7 +105,7 @@ describe("Submission Review Page", () => {
.should("exist")
.should(
"contain",
"Review their information in the Forest Client Management System to determine if this submission should be approved or rejected:"
"Review their information in the Forests Client Management System to determine if this submission should be approved or rejected:"
)
.should(
"contain",
Expand All @@ -118,7 +118,7 @@ describe("Submission Review Page", () => {
.should("exist")
.should(
"contain",
"Review their information in the Forest Client Management System to determine if this submission should be approved or rejected:"
"Review their information in the Forests Client Management System to determine if this submission should be approved or rejected:"
)
.should(
"contain",
Expand All @@ -131,7 +131,7 @@ describe("Submission Review Page", () => {
.should("exist")
.should(
"contain",
"Review their information in the Forest Client Management System to determine if this submission should be approved or rejected:"
"Review their information in the Forests Client Management System to determine if this submission should be approved or rejected:"
)
.should(
"contain",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/MainHeaderComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const adminEmail = "[email protected]";

<template>

<cds-header aria-label="Forest Client Management System">
<cds-header aria-label="Forests Client Management System">

<cds-header-menu-button
v-if="$session?.user?.provider === 'idir'"
Expand All @@ -125,7 +125,7 @@ const adminEmail = "[email protected]";

<cds-header-name @click.prevent>
<span class="heading-compact-02" v-if="$session?.user?.provider !== 'idir'">Ministry of Forests</span>
<span class="heading-compact-02" v-else>Forest Client Management System</span>
<span class="heading-compact-02" v-else>Forests Client Management System</span>
<span class="heading-compact-02" v-if="env !== 'Prod' && !isSmallScreen">Env. {{ env }} - Rel. {{appVersion}}</span>
</cds-header-name>

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/LandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (query.ref && query.ref === "individual") {
alt="Government of British Columbia Logo"
/>

<h1 id="landing-title" class="landing-title">Forest Client Management System</h1>
<h1 id="landing-title" class="landing-title">Forests Client Management System</h1>

<h2 id="landing-subtitle" class="landing-subtitle">Create and manage client accounts</h2>

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/SubmissionReviewPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ const renderListItem = (label, clientNumbers) => {
<span v-if="matchingData.length === 1">record was</span>
<span v-else>records were</span>
found.
Review their information in the Forest Client Management System to determine if this submission should be approved or rejected:
Review their information in the Forests Client Management System to determine if this submission should be approved or rejected:
</p>
<ul class="bulleted-list-disc body-compact-01">
<!-- The content here is sanitized using vue-3-sanitize, and it is safe. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe("MainHeaderComponent.vue", () => {
await nextTick();

expect(wrapper.html()).toBeTruthy();
expect(wrapper.html()).toContain("Forest Client Management System");
expect(wrapper.html()).toContain("Forests Client Management System");

const panelAction = wrapper.find("[data-testid='panel-action']");

Expand Down

0 comments on commit 913842c

Please sign in to comment.