Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test(cy): fix assistant test to match new behavior
* Adjust `get notified` string.
* Check for changed icon rather than message.

Changes caused by
nextcloud/assistant#256

Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Jun 21, 2025
commit 712ac42fa5036bf572fe3f60fee9f1e2b06c4a71
6 changes: 3 additions & 3 deletions cypress/e2e/Assistant.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ describe('Assistant', () => {
cy.wait(2000)

cy.get('.assistant-modal--content button')
.contains('Run task in the background and get notified')
.contains('Get notified')
.click()

cy.get('.assistant-modal--content')
.should('contain', 'Your task has been scheduled')
cy.get('.assistant-modal--content button .bell-ring-outline-icon')
.should('be.visible')

cy.get('.assistant-modal--content .close-button')
.click()
Expand Down
Loading