Skip to content

Commit

Permalink
Merge branch 'cvat-ai:develop' into opencv-image-clahe
Browse files Browse the repository at this point in the history
  • Loading branch information
denck007 authored Jan 3, 2025
2 parents e15f7b6 + c80091b commit 57ecbe4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ context('Basic markdown pipeline', () => {
username: 'md_job_assignee',
firstName: 'Firstname',
lastName: 'Lastname',
emailAddr: '[email protected]',
email: '[email protected]',
password: 'Fv5Df3#f55g',
},
taskAssignee: {
username: 'md_task_assignee',
firstName: 'Firstname',
lastName: 'Lastname',
emailAddr: '[email protected]',
email: '[email protected]',
password: 'UfdU21!dds',
},
notAssignee: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ context('Review pipeline feature', () => {
username: 'annotator',
firstName: 'Firstname',
lastName: 'Lastname',
emailAddr: '[email protected]',
email: '[email protected]',
password: 'UfdU21!dds',
},
reviewer: {
username: 'reviewer',
firstName: 'Firstname',
lastName: 'Lastname',
emailAddr: '[email protected]',
email: '[email protected]',
password: 'Fv5Df3#f55g',
},
};
Expand Down
6 changes: 5 additions & 1 deletion tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,12 @@ Cypress.Commands.add('headlessCreateUser', (userSpec) => {
headers: {
'Content-type': 'application/json',
},
}).then((response) => {
expect(response.status).to.eq(201);
expect(response.body.username).to.eq(userSpec.username);
expect(response.body.email).to.eq(userSpec.email);
return cy.wrap();
});
return cy.wrap();
});

Cypress.Commands.add('headlessLogout', () => {
Expand Down

0 comments on commit 57ecbe4

Please sign in to comment.