@@ -57,7 +57,7 @@ describe('Example 6 - GraphQL Grid', () => {
57
57
{field:"gender",operator:EQ,value:"male"},{field:"name",operator:Contains,value:"JohnDoe"},
58
58
{field:"company",operator:IN,value:"xyz"},{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
59
59
],locale:"en",userId:123){
60
- totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
60
+ totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
61
61
} ) ;
62
62
} ) ;
63
63
@@ -75,7 +75,7 @@ describe('Example 6 - GraphQL Grid', () => {
75
75
filterBy:[
76
76
{field:"gender",operator:EQ,value:"male"},{field:"name",operator:Contains,value:"JohnDoe"},
77
77
{field:"company",operator:IN,value:"xyz"},{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
78
- ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
78
+ ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
79
79
} ) ;
80
80
} ) ;
81
81
@@ -93,7 +93,7 @@ describe('Example 6 - GraphQL Grid', () => {
93
93
filterBy:[
94
94
{field:"gender",operator:EQ,value:"male"},{field:"name",operator:Contains,value:"JohnDoe"},
95
95
{field:"company",operator:IN,value:"xyz"},{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
96
- ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
96
+ ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
97
97
} ) ;
98
98
} ) ;
99
99
@@ -115,7 +115,7 @@ describe('Example 6 - GraphQL Grid', () => {
115
115
{field:"company",operator:IN,value:"xyz"},
116
116
{field:"finish",operator:GE,value:"${ presetLowestDay } "},
117
117
{field:"finish",operator:LE,value:"${ presetHighestDay } "}
118
- ],locale:"en",userId:123) { totalCount, nodes { id,name,gender,company,billing{address{street, zip}},finish } } }` ) ) ;
118
+ ],locale:"en",userId:123) { totalCount, nodes { id,name,gender,company,billing{address{zip,street }},finish } } }` ) ) ;
119
119
} ) ;
120
120
} ) ;
121
121
@@ -134,7 +134,7 @@ describe('Example 6 - GraphQL Grid', () => {
134
134
filterBy:[
135
135
{field:"gender",operator:EQ,value:"male"},{field:"name",operator:Contains,value:"JohnDoe"},
136
136
{field:"company",operator:IN,value:"xyz"},{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
137
- ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
137
+ ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
138
138
} ) ;
139
139
} ) ;
140
140
@@ -154,7 +154,7 @@ describe('Example 6 - GraphQL Grid', () => {
154
154
filterBy:[
155
155
{field:"gender",operator:EQ,value:"male"},{field:"name",operator:Contains,value:"JohnDoe"},
156
156
{field:"company",operator:IN,value:"xyz"},{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
157
- ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
157
+ ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
158
158
} ) ;
159
159
} ) ;
160
160
@@ -185,7 +185,7 @@ describe('Example 6 - GraphQL Grid', () => {
185
185
filterBy:[
186
186
{field:"gender",operator:EQ,value:"male"},{field:"company",operator:IN,value:"xyz"},
187
187
{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
188
- ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
188
+ ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
189
189
} ) ;
190
190
} ) ;
191
191
@@ -215,7 +215,7 @@ describe('Example 6 - GraphQL Grid', () => {
215
215
filterBy:[
216
216
{field:"gender",operator:EQ,value:"male"},{field:"company",operator:IN,value:"xyz"},
217
217
{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}
218
- ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
218
+ ],locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
219
219
} ) ;
220
220
} ) ;
221
221
@@ -244,7 +244,7 @@ describe('Example 6 - GraphQL Grid', () => {
244
244
expect ( text ) . to . eq ( removeSpaces ( `query{users(first:30,offset:0,
245
245
orderBy:[{field:"name",direction:ASC},{field:"company",direction:DESC}],
246
246
filterBy:[{field:"gender",operator:EQ,value:"male"},{field:"company",operator:IN,value:"xyz"}],
247
- locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
247
+ locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
248
248
} ) ;
249
249
} ) ;
250
250
@@ -257,7 +257,7 @@ describe('Example 6 - GraphQL Grid', () => {
257
257
cy . get ( '[data-test=graphql-query-result]' )
258
258
. should ( ( $span ) => {
259
259
const text = removeSpaces ( $span . text ( ) ) ; // remove all white spaces
260
- expect ( text ) . to . eq ( removeSpaces ( `query{users(first:30,offset:0,locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
260
+ expect ( text ) . to . eq ( removeSpaces ( `query{users(first:30,offset:0,locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
261
261
} ) ;
262
262
} ) ;
263
263
@@ -279,7 +279,7 @@ describe('Example 6 - GraphQL Grid', () => {
279
279
const text = removeSpaces ( $span . text ( ) ) ; // remove all white spaces
280
280
expect ( text ) . to . eq ( removeSpaces ( `query{users(first:30,offset:0,
281
281
orderBy:[{field:"name",direction:ASC}],
282
- locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
282
+ locale:"en",userId:123){totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
283
283
} ) ;
284
284
} ) ;
285
285
@@ -325,7 +325,7 @@ describe('Example 6 - GraphQL Grid', () => {
325
325
filterBy:[{field:"gender",operator:EQ,value:"female"},{field:"name",operator:StartsWith,value:"Jane"},
326
326
{field:"company",operator:IN,value:"acme"},{field:"billing.address.zip",operator:GE,value:"11"},
327
327
{field:"finish",operator:GE,value:"${ presetLowestDay } "},{field:"finish",operator:LE,value:"${ presetHighestDay } "}],locale:"en",userId:123)
328
- {totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
328
+ {totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
329
329
} ) ;
330
330
} ) ;
331
331
@@ -362,7 +362,7 @@ describe('Example 6 - GraphQL Grid', () => {
362
362
const text = removeSpaces ( $span . text ( ) ) ; // remove all white spaces
363
363
expect ( text ) . to . eq ( removeSpaces ( `query{users(first:30,offset:0,
364
364
orderBy:[{field:"billing.address.zip",direction:DESC},{field:"company",direction:ASC}],locale:"en",userId:123){
365
- totalCount,nodes{id,name,gender,company,billing{address{street, zip}},finish}}}` ) ) ;
365
+ totalCount,nodes{id,name,gender,company,billing{address{zip,street }},finish}}}` ) ) ;
366
366
} ) ;
367
367
} ) ;
368
368
} ) ;
0 commit comments