Skip to content

Commit

Permalink
add e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Oct 24, 2024
1 parent 34d7f26 commit 9c9955a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/metadata-editor-e2e/src/e2e/edit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ describe('editor form', () => {
})

describe('form display', () => {
it.only('opens the first page by default', () => {

Check failure on line 86 in apps/metadata-editor-e2e/src/e2e/edit.cy.ts

View workflow job for this annotation

GitHub Actions / Format check, lint, unit tests

it.only not permitted
cy.get('@accessContactPageBtn').click()
cy.visit('/catalog/search')
cy.get('@recordUuid').then((recordUuid) => {
cy.visit(`/edit/${recordUuid}`)
})
cy.get('@abstractField').should('be.visible')
})
it('form shows correctly', () => {
cy.get('gn-ui-record-form').should('be.visible')
cy.get('gn-ui-record-form gn-ui-form-field').should('have.length.gt', 0)
Expand Down

0 comments on commit 9c9955a

Please sign in to comment.