Skip to content

Commit

Permalink
Update virusScan test.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLin0991 committed Oct 5, 2023
1 parent ceb6783 commit 1e4de28
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ describe.only('documents', () => {
filePath: 'documents/eicar_com.pdf',
encoding: 'binary',
})
cy.findAllByTestId('upload-finished-indicator', {
cy.findByText('Failed security scan, please remove', {
timeout: 200_000,
})
cy.findByText('Failed security scan, please remove').should(
}).should(
'exist'
)
})
Expand Down

0 comments on commit 1e4de28

Please sign in to comment.