diff --git a/mocha/mochawesome.json b/mocha/mochawesome.json index fa98440..e019292 100644 --- a/mocha/mochawesome.json +++ b/mocha/mochawesome.json @@ -5,9 +5,9 @@ "passes": 5, "pending": 0, "failures": 0, - "start": "2024-03-13T00:02:41.996Z", - "end": "2024-03-13T00:02:42.553Z", - "duration": 557, + "start": "2024-03-20T00:02:28.734Z", + "end": "2024-03-20T00:02:29.323Z", + "duration": 589, "testsRegistered": 5, "passPercent": 100, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "c6281c21-c783-47ab-81e8-8f4caa375dbd", + "uuid": "59065d9d-6e9a-4635-b911-14e8c44e65d8", "title": "", "fullFile": "cypress/tests/api/user.cy.js", "file": "cypress/tests/api/user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "7838959f-e1ac-451e-af11-bd3798f7c971", + "uuid": "e6330237-cd96-4faf-941c-5ed516c2bc32", "title": "Users endpoint", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Get all users", "fullTitle": "Users endpoint Get all users", "timedOut": null, - "duration": 226, + "duration": 196, "state": "passed", "speed": "fast", "pass": true, @@ -47,8 +47,8 @@ "context": null, "code": "cy.getAllUsers().then(body => {\n expect(body).to.have.property('quantidade');\n expect(body).to.have.property('usuarios');\n});", "err": {}, - "uuid": "731f9353-3cb8-498b-809b-075deab5e21c", - "parentUUID": "7838959f-e1ac-451e-af11-bd3798f7c971", + "uuid": "6c42c10e-e23e-4cd5-b0b9-aac84a03557c", + "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Create a user", "fullTitle": "Users endpoint Create a user", "timedOut": null, - "duration": 74, + "duration": 77, "state": "passed", "speed": "fast", "pass": true, @@ -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": "dbdbe462-1fdc-4a88-a890-fc119e63c6d9", - "parentUUID": "7838959f-e1ac-451e-af11-bd3798f7c971", + "uuid": "1a9c410d-16d2-4e73-8f1e-72fba22f58a9", + "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Get user by ID", "fullTitle": "Users endpoint Get user by ID", "timedOut": null, - "duration": 77, + "duration": 71, "state": "passed", "speed": "fast", "pass": true, @@ -83,8 +83,8 @@ "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": "8924eadf-8547-4e0e-8b12-e41d4a36cfb9", - "parentUUID": "7838959f-e1ac-451e-af11-bd3798f7c971", + "uuid": "99b7b8ad-02bb-4ef9-b17b-de64d57b115c", + "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", "isHook": false, "skipped": false }, @@ -92,7 +92,7 @@ "title": "Update user by ID", "fullTitle": "Users endpoint Update user by ID", "timedOut": null, - "duration": 73, + "duration": 72, "state": "passed", "speed": "fast", "pass": true, @@ -101,8 +101,8 @@ "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": "57090662-7e14-4f62-84a2-facf2116fec2", - "parentUUID": "7838959f-e1ac-451e-af11-bd3798f7c971", + "uuid": "e4134437-8ef5-42d0-8880-92263600ebc3", + "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", "isHook": false, "skipped": false }, @@ -110,7 +110,7 @@ "title": "Delete user by ID", "fullTitle": "Users endpoint Delete user by ID", "timedOut": null, - "duration": 76, + "duration": 73, "state": "passed", "speed": "fast", "pass": true, @@ -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": "31799e95-621b-4b46-8f9b-2a8e5b405840", - "parentUUID": "7838959f-e1ac-451e-af11-bd3798f7c971", + "uuid": "4791aa33-bc67-4643-94ae-d5f80985905d", + "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "731f9353-3cb8-498b-809b-075deab5e21c", - "dbdbe462-1fdc-4a88-a890-fc119e63c6d9", - "8924eadf-8547-4e0e-8b12-e41d4a36cfb9", - "57090662-7e14-4f62-84a2-facf2116fec2", - "31799e95-621b-4b46-8f9b-2a8e5b405840" + "6c42c10e-e23e-4cd5-b0b9-aac84a03557c", + "1a9c410d-16d2-4e73-8f1e-72fba22f58a9", + "99b7b8ad-02bb-4ef9-b17b-de64d57b115c", + "e4134437-8ef5-42d0-8880-92263600ebc3", + "4791aa33-bc67-4643-94ae-d5f80985905d" ], "failures": [], "pending": [], "skipped": [], - "duration": 526, + "duration": 489, "root": false, "rootEmpty": false, "_timeout": 2000 diff --git a/mocha/mochawesome_001.json b/mocha/mochawesome_001.json index 6c92468..ff4f824 100644 --- a/mocha/mochawesome_001.json +++ b/mocha/mochawesome_001.json @@ -5,9 +5,9 @@ "passes": 3, "pending": 0, "failures": 0, - "start": "2024-03-13T00:02:48.296Z", - "end": "2024-03-13T00:02:56.906Z", - "duration": 8610, + "start": "2024-03-20T00:02:35.090Z", + "end": "2024-03-20T00:02:42.721Z", + "duration": 7631, "testsRegistered": 3, "passPercent": 100, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "a60f69d3-8553-49b8-958a-fde0cf5b2446", + "uuid": "dd8829da-25b2-4a00-bc40-bf6072c37acd", "title": "", "fullFile": "cypress/tests/e2e/create-user.cy.js", "file": "cypress/tests/e2e/create-user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "410c13e6-452c-46c0-90e7-93c362de8ff5", + "uuid": "8b7946fb-9f06-4953-850c-d3a711ab038b", "title": "Signup", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Signup done successfully", "fullTitle": "Signup Signup done successfully", "timedOut": null, - "duration": 2675, + "duration": 2323, "state": "passed", "speed": "fast", "pass": true, @@ -47,8 +47,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);", "err": {}, - "uuid": "5022c1ea-826c-4180-84cd-ae90fd5c5072", - "parentUUID": "410c13e6-452c-46c0-90e7-93c362de8ff5", + "uuid": "814b31cd-9e3f-47c6-b68c-71a44c7fa3e2", + "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Signup with already used email", "fullTitle": "Signup Signup with already used email", "timedOut": null, - "duration": 1486, + "duration": 1394, "state": "passed", "speed": "fast", "pass": true, @@ -65,8 +65,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);", "err": {}, - "uuid": "338c5010-8141-46d9-8b48-a9f36bdb064f", - "parentUUID": "410c13e6-452c-46c0-90e7-93c362de8ff5", + "uuid": "a7cf21b7-4518-4f7b-a3ef-20c52492ef80", + "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Signup with empty fields", "fullTitle": "Signup Signup with empty fields", "timedOut": null, - "duration": 428, + "duration": 405, "state": "passed", "speed": "fast", "pass": true, @@ -83,22 +83,22 @@ "context": null, "code": "cy.get('.btn.btn-primary').click();\ncy.contains(requiredNameMessage);\ncy.contains(requiredEmailMessage);\ncy.contains(requiredPasswordMessage);", "err": {}, - "uuid": "0957777c-97ac-4e22-a742-8f7863f9d60b", - "parentUUID": "410c13e6-452c-46c0-90e7-93c362de8ff5", + "uuid": "46835456-0ca3-401b-970a-148412c21480", + "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "5022c1ea-826c-4180-84cd-ae90fd5c5072", - "338c5010-8141-46d9-8b48-a9f36bdb064f", - "0957777c-97ac-4e22-a742-8f7863f9d60b" + "814b31cd-9e3f-47c6-b68c-71a44c7fa3e2", + "a7cf21b7-4518-4f7b-a3ef-20c52492ef80", + "46835456-0ca3-401b-970a-148412c21480" ], "failures": [], "pending": [], "skipped": [], - "duration": 4589, + "duration": 4122, "root": false, "rootEmpty": false, "_timeout": 2000 diff --git a/report.html b/report.html index df328aa..d767918 100644 --- a/report.html +++ b/report.html @@ -1,2 +1,2 @@ -