File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/test-e2e/tests/e2e/specs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ describe('errorPolicy', () => {
33 cy . visit ( '/partial-error' )
44
55 // All
6- cy . get ( '.all .result' ) . should ( 'contain' , '{"bad":null, "good":"good" }' )
6+ cy . get ( '.all .result' ) . should ( 'contain' , '"good": "good"' ) . should ( 'contain' , '"bad":null }')
77 cy . get ( '.all .error' ) . should ( 'contain' , 'Error: GraphQL error: An error' )
88
99 // None
10- cy . get ( '.none .result' ) . should ( 'not.contain' , 'good' )
10+ cy . get ( '.none .result' ) . should ( 'not.contain' , 'good' ) . should ( 'not.contain' , 'bad' )
1111 cy . get ( '.none .error' ) . should ( 'contain' , 'Error: GraphQL error: An error' )
1212
1313 // Ignore
14- cy . get ( '.ignore .result' ) . should ( 'contain' , '{"bad":null, "good":"good" }' )
14+ cy . get ( '.ignore .result' ) . should ( 'contain' , '"good": "good"' ) . should ( 'contain' , '"bad":null }')
1515 cy . get ( '.ignore .error' ) . should ( 'not.exist' )
1616 } )
1717} )
You can’t perform that action at this time.
0 commit comments