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 27, 2023
1 parent e26091a commit 4db8e01
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-20T00:01:59.643Z",
"end": "2023-12-20T00:02:00.417Z",
"duration": 774,
"start": "2023-12-27T00:02:25.867Z",
"end": "2023-12-27T00:02:26.405Z",
"duration": 538,
"testsRegistered": 5,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "a1c6099f-a074-4635-b344-a6ed076705e3",
"uuid": "b1d17478-5d61-44ab-b3c2-7c2c7f02c968",
"title": "",
"fullFile": "cypress/tests/api/user.cy.js",
"file": "cypress/tests/api/user.cy.js",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"uuid": "da71d3e4-a461-4b13-ad35-cda21471d933",
"title": "Users endpoint",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Get all users",
"fullTitle": "Users endpoint Get all users",
"timedOut": null,
"duration": 286,
"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": "56a22847-0de8-4cba-a3ff-b8ff4f93920d",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"uuid": "1158e51e-7195-443a-b589-741f07d4075f",
"parentUUID": "da71d3e4-a461-4b13-ad35-cda21471d933",
"isHook": false,
"skipped": false
},
{
"title": "Create a user",
"fullTitle": "Users endpoint Create a user",
"timedOut": null,
"duration": 107,
"duration": 75,
"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": "00cf7b4f-67db-443d-8114-274d0ae3e660",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"uuid": "488e9eae-5e2a-4dd5-8ffd-b8837f3eab73",
"parentUUID": "da71d3e4-a461-4b13-ad35-cda21471d933",
"isHook": false,
"skipped": false
},
{
"title": "Get user by ID",
"fullTitle": "Users endpoint Get user by ID",
"timedOut": null,
"duration": 111,
"duration": 75,
"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": "c2fc8ba0-b1b2-4af4-bad8-0236c88efcc2",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"uuid": "4917a03f-15fa-4cbd-879a-6563b64f5071",
"parentUUID": "da71d3e4-a461-4b13-ad35-cda21471d933",
"isHook": false,
"skipped": false
},
{
"title": "Update user by ID",
"fullTitle": "Users endpoint Update user by ID",
"timedOut": null,
"duration": 116,
"duration": 72,
"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": "8c713238-524b-46f7-9908-a206ff9fd291",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"uuid": "3e9428d3-1771-4426-ae4e-651c16581349",
"parentUUID": "da71d3e4-a461-4b13-ad35-cda21471d933",
"isHook": false,
"skipped": false
},
{
"title": "Delete user by ID",
"fullTitle": "Users endpoint Delete user by ID",
"timedOut": null,
"duration": 125,
"duration": 84,
"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": "9e00b02e-9ba1-4b4b-9b20-ec1b17ffe0a6",
"parentUUID": "00ef157c-03d0-46b1-8d5d-c617f488762a",
"uuid": "7ffae393-c6f6-4771-a0bc-23ee3cb5394a",
"parentUUID": "da71d3e4-a461-4b13-ad35-cda21471d933",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"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"
"1158e51e-7195-443a-b589-741f07d4075f",
"488e9eae-5e2a-4dd5-8ffd-b8837f3eab73",
"4917a03f-15fa-4cbd-879a-6563b64f5071",
"3e9428d3-1771-4426-ae4e-651c16581349",
"7ffae393-c6f6-4771-a0bc-23ee3cb5394a"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 745,
"duration": 510,
"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-20T00:02:07.209Z",
"end": "2023-12-20T00:02:14.823Z",
"duration": 7614,
"start": "2023-12-27T00:02:32.033Z",
"end": "2023-12-27T00:02:39.928Z",
"duration": 7895,
"testsRegistered": 3,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "3bcbbda3-4a10-4b2c-83b2-b392d3994fc7",
"uuid": "d1339559-ab5c-45ed-ba61-eaff47ce906f",
"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": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"uuid": "ae584d14-3e18-4f18-ae9d-0023437dd981",
"title": "Signup",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Signup done successfully",
"fullTitle": "Signup Signup done successfully",
"timedOut": null,
"duration": 2370,
"duration": 2439,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -47,16 +47,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);",
"err": {},
"uuid": "f4558d6f-0ccf-4577-aee4-9169fa7aa6f6",
"parentUUID": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"uuid": "f16e667a-388d-4e34-af30-99c512119607",
"parentUUID": "ae584d14-3e18-4f18-ae9d-0023437dd981",
"isHook": false,
"skipped": false
},
{
"title": "Signup with already used email",
"fullTitle": "Signup Signup with already used email",
"timedOut": null,
"duration": 1312,
"duration": 1445,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -65,16 +65,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);",
"err": {},
"uuid": "c032dc38-f6c5-425b-a91f-17c16929adf1",
"parentUUID": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"uuid": "012d936f-dd1c-46f1-83e2-aedf9e6d8729",
"parentUUID": "ae584d14-3e18-4f18-ae9d-0023437dd981",
"isHook": false,
"skipped": false
},
{
"title": "Signup with empty fields",
"fullTitle": "Signup Signup with empty fields",
"timedOut": null,
"duration": 320,
"duration": 422,
"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": "fbb73bcc-7a26-4c9f-9a13-01bcde1ea0b6",
"parentUUID": "3e3ca20d-639b-42b0-b673-b09ce57fd8cb",
"uuid": "1e6d7e8a-e649-4772-97b1-3e5bbb316ae3",
"parentUUID": "ae584d14-3e18-4f18-ae9d-0023437dd981",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"f4558d6f-0ccf-4577-aee4-9169fa7aa6f6",
"c032dc38-f6c5-425b-a91f-17c16929adf1",
"fbb73bcc-7a26-4c9f-9a13-01bcde1ea0b6"
"f16e667a-388d-4e34-af30-99c512119607",
"012d936f-dd1c-46f1-83e2-aedf9e6d8729",
"1e6d7e8a-e649-4772-97b1-3e5bbb316ae3"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 4002,
"duration": 4306,
"root": false,
"rootEmpty": false,
"_timeout": 2000
Expand Down
Loading

0 comments on commit 4db8e01

Please sign in to comment.