Skip to content

Commit

Permalink
fix(test): updates AddTile test for new stopplace list
Browse files Browse the repository at this point in the history
  • Loading branch information
stianjsu committed Jul 13, 2023
1 parent 2b0822e commit 7d45b2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion next-tavla/src/Admin/scenarios/AddTile/AddTile.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ describe('<AddTile />', () => {
cy.findByRole('textbox').type('Jernbanetorget')
cy.findByRole('listbox').children().first().click()
cy.findByRole('button', { name: /legg til/i }).click()
/* cy.get('[data-cy="tiles"]').children().should('have.length', 1) */
cy.get('[data-cy="tiles"]')
.children()
.should('contain.text', 'Jernbanetorget')
})
})

0 comments on commit 7d45b2a

Please sign in to comment.