File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,10 @@ module.exports = {
199
199
. setValue ( '.import-state textarea' , '{invalid: json}' )
200
200
. waitForElementVisible ( '.message.invalid-json' , 100 )
201
201
. clearValue ( '.import-state textarea' )
202
- . setValue ( '.import-state textarea' , '{"valid": "json "}' )
202
+ . setValue ( '.import-state textarea' , '{"count":42,"date":"[native Date Fri Dec 22 2017 10:12:04 GMT+0100 (CET)] "}' )
203
203
. waitForElementNotVisible ( '.message.invalid-json' , 1000 )
204
- . assert . containsText ( '.vuex-state-inspector' , 'valid:"json"' )
204
+ . assert . containsText ( '.vuex-state-inspector' , 'count:42' )
205
+ . assert . containsText ( '.vuex-state-inspector' , 'date:Fri Dec 22 2017 10:12:04 GMT+0100 (CET)' )
205
206
. click ( '.import' )
206
207
. waitForElementNotPresent ( '.import-state' , 2000 )
207
208
You can’t perform that action at this time.
0 commit comments