Skip to content

Commit 3bac598

Browse files
authoredNov 11, 2024
chore(e2e): Fix tests after FastEndpoints casing change (#1432)
1 parent 7f84176 commit 3bac598

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎tests/k6/tests/enduser/dialogSearch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export default function () {
204204
expectStatusFor(r).to.equal(400);
205205
expect(r, 'response').to.have.validJsonBody();
206206
expect(r.json(), 'response json').to.have.property("errors");
207-
expect(r.json().errors, 'errors').to.have.property("Process").with.lengthOf(1);
207+
expect(r.json().errors, 'errors').to.have.property("process").with.lengthOf(1);
208208
})
209209

210210
describe('List with process filter', () => {

‎tests/k6/tests/serviceowner/dialogCreateInvalidActionCount.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function () {
88
expectStatusFor(r).to.equal(400);
99
expect(r, 'response').to.have.validJsonBody();
1010
expect(r.json(), 'reponse').to.have.property('errors');
11-
expect(r.json().errors, 'error').to.have.property('GuiActions');
11+
expect(r.json().errors, 'error').to.have.property('guiActions');
1212
};
1313

1414
let createDialogWithGuiActions = function(numActions, actionType) {
@@ -23,8 +23,6 @@ export default function () {
2323

2424
return dialog;
2525
};
26-
27-
2826

2927
describe('Attempt dialog create with two primary actions', () => {
3028
expectGuiActionErrorResponseForDialog(createDialogWithGuiActions(2, "primary"));

0 commit comments

Comments
 (0)