Skip to content

Commit

Permalink
Merge pull request #43 from globaldothealth/41-change-mpox-to-monkeyp…
Browse files Browse the repository at this point in the history
…ox-fixes

41 Replace monkeypox to mpox for line list cases
  • Loading branch information
stanislaw-zakrzewski authored Nov 10, 2023
2 parents 9a4b8bc + d61eb3d commit 5cf281f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/Sidebar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ describe('<SideBar />', () => {

cy.get('[data-cy="sidebar"]').should('be.visible');

cy.contains('MONKEYPOX LINE LIST CASES');
cy.contains('MPOX LINE LIST CASES');
cy.get('#sidebar-tab-icon').should('be.visible').click();

cy.get('[data-cy="sidebar"]').should('not.be.visible');
cy.contains('MONKEYPOX LINE LIST CASES').should('not.be.visible');
cy.contains('MPOX LINE LIST CASES').should('not.be.visible');

cy.get('#sidebar-tab-icon').click();

Expand Down
2 changes: 1 addition & 1 deletion src/components/SideBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ const SideBar = () => {
<StyledSideBar sidebaropen={openSidebar} data-cy="sidebar">
<>
<SideBarHeader id="sidebar-header">
<h1 id="total">MONKEYPOX LINE LIST CASES</h1>
<h1 id="total">MPOX LINE LIST CASES</h1>
</SideBarHeader>

{location.pathname !== '/chart' && <DataTypeButtons />}
Expand Down

0 comments on commit 5cf281f

Please sign in to comment.