Skip to content

Commit

Permalink
fix: tests using I.say
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Jan 19, 2024
1 parent 2d8ea71 commit 905360c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint-plugin-import": "2.18.2"
},
"peerDependencies": {
"codeceptjs": "3.5.11"
"codeceptjs": "3.5.1-2.beta.7"
},
"dependencies": {
"@reportportal/client-javascript": "5.0.14",
Expand Down
3 changes: 3 additions & 0 deletions test/rp_plugin_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ Scenario('Send failed results to RP @fail', () => {
});

Scenario('API tests with joi @api', async () => {
I.say('Getting the id');
let id = createdUser['data']['id'];
I.say('Send delete request');
await I.sendDeleteRequest(`/api/users/${id}`);
I.say('Assert the response');
I.seeResponseMatchesJsonSchema(resSchemaForImporting);
});

0 comments on commit 905360c

Please sign in to comment.