Skip to content

Commit 1e97acd

Browse files
committed
fix: e2e error
1 parent a67c2d5 commit 1e97acd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ describe('Dataset', () => {
845845
})
846846
})
847847

848-
it('opens the guestbook modal for guests when downloading a dataset with an assigned guestbook', () => {
848+
it.only('opens the guestbook modal for guests when downloading a dataset with an assigned guestbook', () => {
849849
const guestbookName = `Guestbook ${faker.datatype.uuid()}`
850850

851851
cy.wrap(DatasetHelper.createWithFiles(FileHelper.createMany(2))).then((dataset) => {
@@ -868,7 +868,7 @@ describe('Dataset', () => {
868868
.click({ force: true })
869869

870870
cy.findByRole('dialog').should('be.visible')
871-
cy.findByText(/Dataset Terms/i).should('exist')
871+
cy.findByRole('dialog').find('.modal-title').should('contain.text', 'Dataset Terms')
872872
cy.findByLabelText(/name/i).should('be.enabled')
873873
cy.findByLabelText(/email/i).should('be.enabled')
874874
})

0 commit comments

Comments
 (0)