Skip to content

Commit

Permalink
FIX: Project Name (#510)
Browse files Browse the repository at this point in the history
closes #510
  • Loading branch information
dwhieb committed May 30, 2023
1 parent f5a28c1 commit 37e20ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pages/Project/Project.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<main id=main class='main project-page'>
{{#with project }}

<h1 class=page-title>{{ name }}</h1>
<h1 class=page-title>{{mls name }}</h1>

<nav class=page-nav>
<ul>
Expand Down
1 change: 1 addition & 0 deletions pages/Project/Project.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ describe(`Project`, function() {

cy.visit(`/projects/${ project.id }`)

cy.contains(`.page-title`, project.name.eng)
cy.contains(`# of languages`).next().should(`have.text`, count)
cy.contains(`# of lexemes`).next().should(`have.text`, count)
cy.contains(`# of collaborators`).next().should(`have.text`, `2`)
Expand Down

0 comments on commit 37e20ae

Please sign in to comment.