Skip to content

Commit bafea44

Browse files
author
Guillaume Chau
committed
test: wait before checking vuex import
1 parent 57e04a0 commit bafea44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cypress/integration/vuex.tab.js

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ suite('vuex tab', () => {
182182
cy.get('.import-state textarea').clear().type('{{}invalid: json}')
183183
cy.get('.message.invalid-json').should('be.visible')
184184
cy.get('.import-state textarea').clear().type('{{}"count":42,"date":"[native Date Fri Dec 22 2017 10:12:04 GMT+0100 (CET)]"}')
185+
cy.wait(500)
185186
cy.get('.message.invalid-json').should('not.be.visible')
186187
cy.get('.vuex-state-inspector').then(el => {
187188
expect(el.text()).to.include('count:42')

0 commit comments

Comments
 (0)