Merge branch 'fix/set-back-label'
This commit is contained in:
commit
1b12447c78
2 changed files with 6 additions and 2 deletions
|
|
@ -69,7 +69,11 @@ describe('set element layout', () => {
|
|||
|
||||
cy.location('pathname').should('equal', '/sets/41')
|
||||
cy.get('h1').should('have.text', 'Bible')
|
||||
cy.contains('a', 'Back to sets').should('have.attr', 'href', '/dashboard')
|
||||
cy.contains('a', 'Back to dashboard').should(
|
||||
'have.attr',
|
||||
'href',
|
||||
'/dashboard',
|
||||
)
|
||||
cy.get('ol[aria-label="Bible element layout"] > li').then(($nodes) => {
|
||||
expect([...$nodes].map((node) => node.dataset.elementId)).to.deep.equal([
|
||||
'1',
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ function toggleElement(elementId: number): void {
|
|||
<section class="set-layout">
|
||||
<RouterLink class="back-link" :to="{ name: 'dashboard' }">
|
||||
<span aria-hidden="true">←</span>
|
||||
Back to sets
|
||||
Back to dashboard
|
||||
</RouterLink>
|
||||
|
||||
<p v-if="loading" class="layout-state" role="status">Loading set layout...</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue