Skip to content

Commit

Permalink
Update the test report 3989a44
Browse files Browse the repository at this point in the history
  • Loading branch information
Samska committed Dec 20, 2023
1 parent ecf708b commit e26091a
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 86 deletions.
52 changes: 26 additions & 26 deletions mocha/mochawesome.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"passes": 5,
"pending": 0,
"failures": 0,
"start": "2023-12-13T00:01:59.874Z",
"end": "2023-12-13T00:02:00.411Z",
"duration": 537,
"start": "2023-12-20T00:01:59.643Z",
"end": "2023-12-20T00:02:00.417Z",
"duration": 774,
"testsRegistered": 5,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "ddedbc64-8c87-45ff-be0b-8bc6dc865869",
"uuid": "a1c6099f-a074-4635-b344-a6ed076705e3",
"title": "",
"fullFile": "cypress/tests/api/user.cy.js",
"file": "cypress/tests/api/user.cy.js",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "ded44428-2a17-4525-9b1e-66d273aea0a2",
"uuid": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"title": "Users endpoint",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Get all users",
"fullTitle": "Users endpoint Get all users",
"timedOut": null,
"duration": 202,
"duration": 286,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -47,16 +47,16 @@
"context": null,
"code": "cy.getAllUsers().then(body => {\n expect(body).to.have.property('quantidade');\n expect(body).to.have.property('usuarios');\n});",
"err": {},
"uuid": "3c7e61b6-f3ba-44a9-ad68-71e8faf740f4",
"parentUUID": "ded44428-2a17-4525-9b1e-66d273aea0a2",
"uuid": "56a22847-0de8-4cba-a3ff-b8ff4f93920d",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"isHook": false,
"skipped": false
},
{
"title": "Create a user",
"fullTitle": "Users endpoint Create a user",
"timedOut": null,
"duration": 78,
"duration": 107,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -65,16 +65,16 @@
"context": null,
"code": "cy.createUser(payload).then(response => {\n expect(response.status).to.eq(201);\n expect(response.body).to.have.property('message', 'Cadastro realizado com sucesso');\n Cypress.env('userId', response.body._id);\n});",
"err": {},
"uuid": "14e7cc5d-f7a6-4a82-aa10-2f0e2258eee9",
"parentUUID": "ded44428-2a17-4525-9b1e-66d273aea0a2",
"uuid": "00cf7b4f-67db-443d-8114-274d0ae3e660",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"isHook": false,
"skipped": false
},
{
"title": "Get user by ID",
"fullTitle": "Users endpoint Get user by ID",
"timedOut": null,
"duration": 76,
"duration": 111,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -83,16 +83,16 @@
"context": null,
"code": "cy.getUserById(Cypress.env('userId')).then(response => {\n expect(response.status).to.eq(200);\n expect(response.body).to.have.property('nome');\n expect(response.body).to.have.property('email');\n expect(response.body).to.have.property('password');\n expect(response.body).to.have.property('administrador');\n expect(response.body).to.have.property('_id');\n});",
"err": {},
"uuid": "a1484e57-e037-4349-83f1-e41534351ab9",
"parentUUID": "ded44428-2a17-4525-9b1e-66d273aea0a2",
"uuid": "c2fc8ba0-b1b2-4af4-bad8-0236c88efcc2",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"isHook": false,
"skipped": false
},
{
"title": "Update user by ID",
"fullTitle": "Users endpoint Update user by ID",
"timedOut": null,
"duration": 74,
"duration": 116,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -101,16 +101,16 @@
"context": null,
"code": "const updatedEmail = _faker.faker.internet.email();\nconst updatedPayload = _objectSpread(_objectSpread({}, payload), {}, {\n email: updatedEmail\n});\ncy.updateUserById(Cypress.env('userId'), updatedPayload).then(response => {\n expect(response.status).to.eq(200);\n expect(response.body).to.have.property('message', 'Registro alterado com sucesso');\n});",
"err": {},
"uuid": "f37d9638-085e-45f3-a076-59874041ce3d",
"parentUUID": "ded44428-2a17-4525-9b1e-66d273aea0a2",
"uuid": "8c713238-524b-46f7-9908-a206ff9fd291",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"isHook": false,
"skipped": false
},
{
"title": "Delete user by ID",
"fullTitle": "Users endpoint Delete user by ID",
"timedOut": null,
"duration": 79,
"duration": 125,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -119,24 +119,24 @@
"context": null,
"code": "cy.deleteUserById(Cypress.env('userId')).then(response => {\n expect(response.status).to.eq(200);\n expect(response.body).to.have.property('message', 'Registro excluído com sucesso');\n});",
"err": {},
"uuid": "a39b0261-0d9d-43c3-9222-58434d30e2f2",
"parentUUID": "ded44428-2a17-4525-9b1e-66d273aea0a2",
"uuid": "9e00b02e-9ba1-4b4b-9b20-ec1b17ffe0a6",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"3c7e61b6-f3ba-44a9-ad68-71e8faf740f4",
"14e7cc5d-f7a6-4a82-aa10-2f0e2258eee9",
"a1484e57-e037-4349-83f1-e41534351ab9",
"f37d9638-085e-45f3-a076-59874041ce3d",
"a39b0261-0d9d-43c3-9222-58434d30e2f2"
"56a22847-0de8-4cba-a3ff-b8ff4f93920d",
"00cf7b4f-67db-443d-8114-274d0ae3e660",
"c2fc8ba0-b1b2-4af4-bad8-0236c88efcc2",
"8c713238-524b-46f7-9908-a206ff9fd291",
"9e00b02e-9ba1-4b4b-9b20-ec1b17ffe0a6"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 509,
"duration": 745,
"root": false,
"rootEmpty": false,
"_timeout": 2000
Expand Down
36 changes: 18 additions & 18 deletions mocha/mochawesome_001.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"passes": 3,
"pending": 0,
"failures": 0,
"start": "2023-12-13T00:02:06.040Z",
"end": "2023-12-13T00:02:14.130Z",
"duration": 8090,
"start": "2023-12-20T00:02:07.209Z",
"end": "2023-12-20T00:02:14.823Z",
"duration": 7614,
"testsRegistered": 3,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "ff663232-4906-4b44-aca5-a490d75df47a",
"uuid": "3bcbbda3-4a10-4b2c-83b2-b392d3994fc7",
"title": "",
"fullFile": "cypress/tests/e2e/create-user.cy.js",
"file": "cypress/tests/e2e/create-user.cy.js",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "1a4ed9ea-0ab6-4f7c-8767-e974da0eef00",
"uuid": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"title": "Signup",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Signup done successfully",
"fullTitle": "Signup Signup done successfully",
"timedOut": null,
"duration": 2487,
"duration": 2370,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -47,16 +47,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);",
"err": {},
"uuid": "5f16608c-c29f-4cb3-8211-b63503fbf4e4",
"parentUUID": "1a4ed9ea-0ab6-4f7c-8767-e974da0eef00",
"uuid": "f4558d6f-0ccf-4577-aee4-9169fa7aa6f6",
"parentUUID": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"isHook": false,
"skipped": false
},
{
"title": "Signup with already used email",
"fullTitle": "Signup Signup with already used email",
"timedOut": null,
"duration": 1450,
"duration": 1312,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -65,16 +65,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);",
"err": {},
"uuid": "c55ce487-cd09-41c6-af43-0d60e651a11a",
"parentUUID": "1a4ed9ea-0ab6-4f7c-8767-e974da0eef00",
"uuid": "c032dc38-f6c5-425b-a91f-17c16929adf1",
"parentUUID": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"isHook": false,
"skipped": false
},
{
"title": "Signup with empty fields",
"fullTitle": "Signup Signup with empty fields",
"timedOut": null,
"duration": 424,
"duration": 320,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -83,22 +83,22 @@
"context": null,
"code": "cy.get('.btn.btn-primary').click();\ncy.contains(requiredNameMessage);\ncy.contains(requiredEmailMessage);\ncy.contains(requiredPasswordMessage);",
"err": {},
"uuid": "11bc3569-9564-4685-bc65-0fed54193479",
"parentUUID": "1a4ed9ea-0ab6-4f7c-8767-e974da0eef00",
"uuid": "fbb73bcc-7a26-4c9f-9a13-01bcde1ea0b6",
"parentUUID": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"5f16608c-c29f-4cb3-8211-b63503fbf4e4",
"c55ce487-cd09-41c6-af43-0d60e651a11a",
"11bc3569-9564-4685-bc65-0fed54193479"
"f4558d6f-0ccf-4577-aee4-9169fa7aa6f6",
"c032dc38-f6c5-425b-a91f-17c16929adf1",
"fbb73bcc-7a26-4c9f-9a13-01bcde1ea0b6"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 4361,
"duration": 4002,
"root": false,
"rootEmpty": false,
"_timeout": 2000
Expand Down
Loading

0 comments on commit e26091a

Please sign in to comment.