Skip to content

Commit 4c93a8c

Browse files
committed
Fix tests caused by strapi notifications
1 parent 04030ae commit 4c93a8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cypress/integration/ui_spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ describe('Strapi Login flow', () => {
5858
})
5959

6060
it('Add credentials', () => {
61+
cy.removeNotifications()
6162
cy.get('input[name="MSHost"]').clear().type(host)
6263
cy.get('input[name="MSApiKey"]').clear().type(apiKey)
6364
cy.get('.credentials_button').click()
@@ -98,6 +99,7 @@ describe('Strapi Login flow', () => {
9899
})
99100
cy.contains('Reload needed', { timeout: 10000 })
100101
cy.reloadServer()
102+
cy.removeNotifications()
101103
})
102104

103105
it('Check for successfull listened in develop mode', () => {
@@ -205,6 +207,7 @@ describe('Strapi Login flow', () => {
205207
cy.contains('Reload needed', { timeout: 10000 })
206208
}
207209
cy.reloadServer()
210+
cy.removeNotifications()
208211
})
209212

210213
it('Check that collections are not in MeiliSearch anymore', () => {

0 commit comments

Comments
 (0)