We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2b871 commit 5b9c8daCopy full SHA for 5b9c8da
1 file changed
tests/e2e-integration/e2e/sections/dataset/Dataset.spec.tsx
@@ -552,11 +552,10 @@ describe('Dataset', () => {
552
553
cy.get('#edit-files-menu').should('exist')
554
555
- // TODO: Bring back this part of the test when access datafile supports bearer tokens, downloading of files temporary disabled for draft datasets
556
- // cy.findByRole('button', { name: 'Access File' }).as('accessButton')
557
- // cy.get('@accessButton').should('exist')
558
- // cy.get('@accessButton').click()
559
- // cy.findByText('Embargoed').should('exist')
+ cy.findByRole('button', { name: 'Access File' }).as('accessButton')
+ cy.get('@accessButton').should('exist')
+ cy.get('@accessButton').click()
+ cy.findByText('Embargoed').should('exist')
560
})
561
562
0 commit comments