Skip to content

Commit b21bf03

Browse files
authored
feat: Modify the preheat parameter to filteredQueryParams (#351)
feat: Modify preheat parameters Signed-off-by: zhaoxinxin <1186037180@qq.com>
1 parent e72aab0 commit b21bf03

File tree

13 files changed

+54
-54
lines changed

13 files changed

+54
-54
lines changed

cypress/e2e/job/preheats/create-preheat.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ describe('Create preheat', () => {
282282
cy.get('#save').click();
283283

284284
// Show verification error message.
285-
cy.get('#filter-helper-text')
285+
cy.get('#filteredQueryParams-helper-text')
286286
.should('be.visible')
287287
.and('have.text', 'Please press ENTER to end the filter creation');
288288

@@ -293,7 +293,7 @@ describe('Create preheat', () => {
293293
cy.get('.MuiAutocomplete-root > .MuiFormControl-root > .MuiInputBase-root').type(filter);
294294

295295
// Show verification error message.
296-
cy.get('#filter-helper-text')
296+
cy.get('#filteredQueryParams-helper-text')
297297
.should('be.visible')
298298
.and('have.text', 'Fill in the characters, the length is 0-100.');
299299

cypress/fixtures/job/preheats/create-preheat.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "preheat",
1010
"state": "PENDING",
1111
"args": {
12-
"filter": "",
12+
"filteredQueryParams": "",
1313
"headers": {
1414
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
1515
},
@@ -61,7 +61,7 @@
6161
"type": "preheat",
6262
"state": "PENDING",
6363
"args": {
64-
"filter": "",
64+
"filteredQueryParams": "",
6565
"headers": {
6666
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
6767
},
@@ -113,7 +113,7 @@
113113
"type": "preheat",
114114
"state": "FAILURE",
115115
"args": {
116-
"filter": "",
116+
"filteredQueryParams": "",
117117
"headers": {
118118
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
119119
},
@@ -165,7 +165,7 @@
165165
"type": "preheat",
166166
"state": "FAILURE",
167167
"args": {
168-
"filter": "",
168+
"filteredQueryParams": "",
169169
"headers": {
170170
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
171171
},
@@ -217,7 +217,7 @@
217217
"type": "preheat",
218218
"state": "SUCCESS",
219219
"args": {
220-
"filter": "",
220+
"filteredQueryParams": "",
221221
"headers": {
222222
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
223223
},
@@ -269,7 +269,7 @@
269269
"type": "preheat",
270270
"state": "FAILURE",
271271
"args": {
272-
"filter": "",
272+
"filteredQueryParams": "",
273273
"headers": {
274274
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
275275
},
@@ -321,7 +321,7 @@
321321
"type": "preheat",
322322
"state": "SUCCESS",
323323
"args": {
324-
"filter": "",
324+
"filteredQueryParams": "",
325325
"headers": {
326326
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
327327
},
@@ -373,7 +373,7 @@
373373
"type": "preheat",
374374
"state": "SUCCESS",
375375
"args": {
376-
"filter": "",
376+
"filteredQueryParams": "",
377377
"headers": {
378378
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
379379
},
@@ -425,7 +425,7 @@
425425
"type": "preheat",
426426
"state": "SUCCESS",
427427
"args": {
428-
"filter": "",
428+
"filteredQueryParams": "",
429429
"headers": {
430430
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
431431
},
@@ -477,7 +477,7 @@
477477
"type": "preheat",
478478
"state": "FAILURE",
479479
"args": {
480-
"filter": "",
480+
"filteredQueryParams": "",
481481
"headers": {
482482
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
483483
},

cypress/fixtures/job/preheats/failure-preheat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "preheat",
99
"state": "FAILURE",
1010
"args": {
11-
"filter": "Expires&Signature",
11+
"filteredQueryParams": "Expires&Signature",
1212
"headers": {
1313
"Connection": "keep-alive"
1414
},

cypress/fixtures/job/preheats/failure-preheats.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "preheat",
1010
"state": "FAILURE",
1111
"args": {
12-
"filter": "",
12+
"filteredQueryParams": "",
1313
"headers": {
1414
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
1515
},
@@ -61,7 +61,7 @@
6161
"type": "preheat",
6262
"state": "FAILURE",
6363
"args": {
64-
"filter": "",
64+
"filteredQueryParams": "",
6565
"headers": {
6666
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
6767
},
@@ -113,7 +113,7 @@
113113
"type": "preheat",
114114
"state": "FAILURE",
115115
"args": {
116-
"filter": "",
116+
"filteredQueryParams": "",
117117
"headers": {
118118
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
119119
},
@@ -165,7 +165,7 @@
165165
"type": "preheat",
166166
"state": "FAILURE",
167167
"args": {
168-
"filter": "",
168+
"filteredQueryParams": "",
169169
"headers": {
170170
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
171171
},

cypress/fixtures/job/preheats/pagination-preheats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "preheat",
1010
"state": "SUCCESS",
1111
"args": {
12-
"filter": "",
12+
"filteredQueryParams": "",
1313
"headers": {
1414
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
1515
},

cypress/fixtures/job/preheats/pending-preheat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "preheat",
99
"state": "PENDING",
1010
"args": {
11-
"filter": "Expires&Signature",
11+
"filteredQueryParams": "Expires&Signature",
1212
"headers": {
1313
"Connection": "keep-alive"
1414
},

cypress/fixtures/job/preheats/pending-preheats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "preheat",
1010
"state": "PENDING",
1111
"args": {
12-
"filter": "",
12+
"filteredQueryParams": "",
1313
"headers": {
1414
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
1515
},

cypress/fixtures/job/preheats/preheats.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "preheat",
1010
"state": "PENDING",
1111
"args": {
12-
"filter": "",
12+
"filteredQueryParams": "",
1313
"headers": {
1414
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
1515
},
@@ -61,7 +61,7 @@
6161
"type": "preheat",
6262
"state": "FAILURE",
6363
"args": {
64-
"filter": "",
64+
"filteredQueryParams": "",
6565
"headers": {
6666
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
6767
},
@@ -113,7 +113,7 @@
113113
"type": "preheat",
114114
"state": "FAILURE",
115115
"args": {
116-
"filter": "",
116+
"filteredQueryParams": "",
117117
"headers": {
118118
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
119119
},
@@ -165,7 +165,7 @@
165165
"type": "preheat",
166166
"state": "SUCCESS",
167167
"args": {
168-
"filter": "",
168+
"filteredQueryParams": "",
169169
"headers": {
170170
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
171171
},
@@ -217,7 +217,7 @@
217217
"type": "preheat",
218218
"state": "FAILURE",
219219
"args": {
220-
"filter": "",
220+
"filteredQueryParams": "",
221221
"headers": {
222222
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
223223
},
@@ -269,7 +269,7 @@
269269
"type": "preheat",
270270
"state": "SUCCESS",
271271
"args": {
272-
"filter": "",
272+
"filteredQueryParams": "",
273273
"headers": {
274274
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
275275
},
@@ -321,7 +321,7 @@
321321
"type": "preheat",
322322
"state": "SUCCESS",
323323
"args": {
324-
"filter": "",
324+
"filteredQueryParams": "",
325325
"headers": {
326326
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
327327
},
@@ -373,7 +373,7 @@
373373
"type": "preheat",
374374
"state": "SUCCESS",
375375
"args": {
376-
"filter": "",
376+
"filteredQueryParams": "",
377377
"headers": {
378378
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
379379
},
@@ -425,7 +425,7 @@
425425
"type": "preheat",
426426
"state": "FAILURE",
427427
"args": {
428-
"filter": "",
428+
"filteredQueryParams": "",
429429
"headers": {
430430
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
431431
},
@@ -477,7 +477,7 @@
477477
"type": "preheat",
478478
"state": "SUCCESS",
479479
"args": {
480-
"filter": "",
480+
"filteredQueryParams": "",
481481
"headers": {
482482
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
483483
},

cypress/fixtures/job/preheats/success-preheat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "preheat",
99
"state": "SUCCESS",
1010
"args": {
11-
"filter": "",
11+
"filteredQueryParams": "",
1212
"headers": {
1313
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT",
1414
"Connection": "keep-alive"

cypress/fixtures/job/preheats/success-preheats.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "preheat",
1010
"state": "SUCCESS",
1111
"args": {
12-
"filter": "",
12+
"filteredQueryParams": "",
1313
"headers": {
1414
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
1515
},
@@ -61,7 +61,7 @@
6161
"type": "preheat",
6262
"state": "SUCCESS",
6363
"args": {
64-
"filter": "",
64+
"filteredQueryParams": "",
6565
"headers": {
6666
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
6767
},
@@ -113,7 +113,7 @@
113113
"type": "preheat",
114114
"state": "SUCCESS",
115115
"args": {
116-
"filter": "",
116+
"filteredQueryParams": "",
117117
"headers": {
118118
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
119119
},
@@ -165,7 +165,7 @@
165165
"type": "preheat",
166166
"state": "SUCCESS",
167167
"args": {
168-
"filter": "",
168+
"filteredQueryParams": "",
169169
"headers": {
170170
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
171171
},
@@ -217,7 +217,7 @@
217217
"type": "preheat",
218218
"state": "SUCCESS",
219219
"args": {
220-
"filter": "",
220+
"filteredQueryParams": "",
221221
"headers": {
222222
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
223223
},
@@ -269,7 +269,7 @@
269269
"type": "preheat",
270270
"state": "SUCCESS",
271271
"args": {
272-
"filter": "",
272+
"filteredQueryParams": "",
273273
"headers": {
274274
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
275275
},

0 commit comments

Comments
 (0)