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 Jan 10, 2024
1 parent 4448dc7 commit addeed5
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 84 deletions.
50 changes: 25 additions & 25 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": "2024-01-03T00:02:11.931Z",
"end": "2024-01-03T00:02:12.449Z",
"duration": 518,
"start": "2024-01-10T00:02:08.788Z",
"end": "2024-01-10T00:02:09.313Z",
"duration": 525,
"testsRegistered": 5,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "2144682d-f7d3-4b13-92ea-9990a4e066de",
"uuid": "2c4e6d52-0299-4504-809d-712d7c2afcf8",
"title": "",
"fullFile": "cypress/tests/api/user.cy.js",
"file": "cypress/tests/api/user.cy.js",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "86fb10e4-2a82-411e-80ca-842fe3357f2a",
"uuid": "0462cfc0-85a3-4917-ae9e-47428abdea66",
"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": 204,
"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": "1b43276c-e398-452d-92ca-7c7204375d8c",
"parentUUID": "86fb10e4-2a82-411e-80ca-842fe3357f2a",
"uuid": "d14e355e-6493-4a00-836d-da119431a0bd",
"parentUUID": "0462cfc0-85a3-4917-ae9e-47428abdea66",
"isHook": false,
"skipped": false
},
{
"title": "Create a user",
"fullTitle": "Users endpoint Create a user",
"timedOut": null,
"duration": 73,
"duration": 74,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -65,8 +65,8 @@
"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": "62ec78bd-6ac2-4ce1-a92b-e8b53727ef92",
"parentUUID": "86fb10e4-2a82-411e-80ca-842fe3357f2a",
"uuid": "59faf1d0-b656-4b8e-8d1c-e72b8c4c11ff",
"parentUUID": "0462cfc0-85a3-4917-ae9e-47428abdea66",
"isHook": false,
"skipped": false
},
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": "a60814d4-25d2-4aa2-9cad-a3fdcb7ee151",
"parentUUID": "86fb10e4-2a82-411e-80ca-842fe3357f2a",
"uuid": "cb1e2b7a-6ba4-46aa-be76-e87bc2820f4e",
"parentUUID": "0462cfc0-85a3-4917-ae9e-47428abdea66",
"isHook": false,
"skipped": false
},
{
"title": "Update user by ID",
"fullTitle": "Users endpoint Update user by ID",
"timedOut": null,
"duration": 79,
"duration": 76,
"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": "5210a7e1-ede0-4f27-a0cc-cb5db5cad259",
"parentUUID": "86fb10e4-2a82-411e-80ca-842fe3357f2a",
"uuid": "5e59bf2b-c4d0-4dfd-a6d7-3c995cbf6218",
"parentUUID": "0462cfc0-85a3-4917-ae9e-47428abdea66",
"isHook": false,
"skipped": false
},
{
"title": "Delete user by ID",
"fullTitle": "Users endpoint Delete user by ID",
"timedOut": null,
"duration": 67,
"duration": 72,
"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": "04332b9d-1bdf-4589-9f57-c10d5c233cf8",
"parentUUID": "86fb10e4-2a82-411e-80ca-842fe3357f2a",
"uuid": "a1d0bd1c-0132-4c18-9e15-ff83a86aaac6",
"parentUUID": "0462cfc0-85a3-4917-ae9e-47428abdea66",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"1b43276c-e398-452d-92ca-7c7204375d8c",
"62ec78bd-6ac2-4ce1-a92b-e8b53727ef92",
"a60814d4-25d2-4aa2-9cad-a3fdcb7ee151",
"5210a7e1-ede0-4f27-a0cc-cb5db5cad259",
"04332b9d-1bdf-4589-9f57-c10d5c233cf8"
"d14e355e-6493-4a00-836d-da119431a0bd",
"59faf1d0-b656-4b8e-8d1c-e72b8c4c11ff",
"cb1e2b7a-6ba4-46aa-be76-e87bc2820f4e",
"5e59bf2b-c4d0-4dfd-a6d7-3c995cbf6218",
"a1d0bd1c-0132-4c18-9e15-ff83a86aaac6"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 493,
"duration": 498,
"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": "2024-01-03T00:02:18.012Z",
"end": "2024-01-03T00:02:25.898Z",
"duration": 7886,
"start": "2024-01-10T00:02:15.081Z",
"end": "2024-01-10T00:02:23.826Z",
"duration": 8745,
"testsRegistered": 3,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "2bb9b121-9612-436e-a606-b3f0c09004ca",
"uuid": "021fdd15-0946-4dad-8a0c-0427995ab5e5",
"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": "bfab5aa5-0eaa-4ead-8975-11a97411256e",
"uuid": "3fab2238-299c-4640-850f-33d9d24eaaad",
"title": "Signup",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Signup done successfully",
"fullTitle": "Signup Signup done successfully",
"timedOut": null,
"duration": 2387,
"duration": 2798,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -47,16 +47,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);",
"err": {},
"uuid": "f7aeed1c-51bb-41bb-bf15-d19560fd4c0c",
"parentUUID": "bfab5aa5-0eaa-4ead-8975-11a97411256e",
"uuid": "486aa3d2-8b4d-4b10-9c89-ba53b64e0048",
"parentUUID": "3fab2238-299c-4640-850f-33d9d24eaaad",
"isHook": false,
"skipped": false
},
{
"title": "Signup with already used email",
"fullTitle": "Signup Signup with already used email",
"timedOut": null,
"duration": 1403,
"duration": 1432,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -65,16 +65,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);",
"err": {},
"uuid": "57c491ba-07d3-4fc9-a49a-031380afd685",
"parentUUID": "bfab5aa5-0eaa-4ead-8975-11a97411256e",
"uuid": "94d9dba4-20cb-435a-80c6-dfcb6f136ccc",
"parentUUID": "3fab2238-299c-4640-850f-33d9d24eaaad",
"isHook": false,
"skipped": false
},
{
"title": "Signup with empty fields",
"fullTitle": "Signup Signup with empty fields",
"timedOut": null,
"duration": 417,
"duration": 409,
"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": "3a7d29e9-3af5-42eb-98a4-df0e65bbf982",
"parentUUID": "bfab5aa5-0eaa-4ead-8975-11a97411256e",
"uuid": "eea666a1-22d5-431d-bb6b-99f1d62bc664",
"parentUUID": "3fab2238-299c-4640-850f-33d9d24eaaad",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"f7aeed1c-51bb-41bb-bf15-d19560fd4c0c",
"57c491ba-07d3-4fc9-a49a-031380afd685",
"3a7d29e9-3af5-42eb-98a4-df0e65bbf982"
"486aa3d2-8b4d-4b10-9c89-ba53b64e0048",
"94d9dba4-20cb-435a-80c6-dfcb6f136ccc",
"eea666a1-22d5-431d-bb6b-99f1d62bc664"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 4207,
"duration": 4639,
"root": false,
"rootEmpty": false,
"_timeout": 2000
Expand Down
Loading

0 comments on commit addeed5

Please sign in to comment.