diff --git a/mocha/mochawesome.json b/mocha/mochawesome.json index e019292..faf2425 100644 --- a/mocha/mochawesome.json +++ b/mocha/mochawesome.json @@ -5,9 +5,9 @@ "passes": 5, "pending": 0, "failures": 0, - "start": "2024-03-20T00:02:28.734Z", - "end": "2024-03-20T00:02:29.323Z", - "duration": 589, + "start": "2024-03-27T00:02:34.793Z", + "end": "2024-03-27T00:02:35.219Z", + "duration": 426, "testsRegistered": 5, "passPercent": 100, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "59065d9d-6e9a-4635-b911-14e8c44e65d8", + "uuid": "a5b64e1d-de07-4475-9778-dfec6f8d5e70", "title": "", "fullFile": "cypress/tests/api/user.cy.js", "file": "cypress/tests/api/user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "title": "Users endpoint", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Get all users", "fullTitle": "Users endpoint Get all users", "timedOut": null, - "duration": 196, + "duration": 179, "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": "6c42c10e-e23e-4cd5-b0b9-aac84a03557c", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "d8e390d2-563f-4aeb-b2fa-f01a47cc9a6d", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Create a user", "fullTitle": "Users endpoint Create a user", "timedOut": null, - "duration": 77, + "duration": 56, "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": "1a9c410d-16d2-4e73-8f1e-72fba22f58a9", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "93c85136-5e86-4ea7-a461-1e6066201028", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Get user by ID", "fullTitle": "Users endpoint Get user by ID", "timedOut": null, - "duration": 71, + "duration": 56, "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": "99b7b8ad-02bb-4ef9-b17b-de64d57b115c", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "62472e44-68ef-42e2-831a-1695f8b2e8c5", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -92,7 +92,7 @@ "title": "Update user by ID", "fullTitle": "Users endpoint Update user by ID", "timedOut": null, - "duration": 72, + "duration": 55, "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": "e4134437-8ef5-42d0-8880-92263600ebc3", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "5ceff530-ecd5-428b-aec3-73c540610765", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -110,7 +110,7 @@ "title": "Delete user by ID", "fullTitle": "Users endpoint Delete user by ID", "timedOut": null, - "duration": 73, + "duration": 53, "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": "4791aa33-bc67-4643-94ae-d5f80985905d", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "38d25f68-3a89-4664-8275-3ba7f770e3fd", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "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" + "d8e390d2-563f-4aeb-b2fa-f01a47cc9a6d", + "93c85136-5e86-4ea7-a461-1e6066201028", + "62472e44-68ef-42e2-831a-1695f8b2e8c5", + "5ceff530-ecd5-428b-aec3-73c540610765", + "38d25f68-3a89-4664-8275-3ba7f770e3fd" ], "failures": [], "pending": [], "skipped": [], - "duration": 489, + "duration": 399, "root": false, "rootEmpty": false, "_timeout": 2000 diff --git a/mocha/mochawesome_001.json b/mocha/mochawesome_001.json index ff4f824..53d8e7b 100644 --- a/mocha/mochawesome_001.json +++ b/mocha/mochawesome_001.json @@ -5,9 +5,9 @@ "passes": 3, "pending": 0, "failures": 0, - "start": "2024-03-20T00:02:35.090Z", - "end": "2024-03-20T00:02:42.721Z", - "duration": 7631, + "start": "2024-03-27T00:02:41.039Z", + "end": "2024-03-27T00:02:48.681Z", + "duration": 7642, "testsRegistered": 3, "passPercent": 100, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "dd8829da-25b2-4a00-bc40-bf6072c37acd", + "uuid": "fb322a25-a9b8-4302-864a-df6bb69dd74f", "title": "", "fullFile": "cypress/tests/e2e/create-user.cy.js", "file": "cypress/tests/e2e/create-user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "title": "Signup", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Signup done successfully", "fullTitle": "Signup Signup done successfully", "timedOut": null, - "duration": 2323, + "duration": 2353, "state": "passed", "speed": "fast", "pass": true, @@ -47,8 +47,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);", "err": {}, - "uuid": "814b31cd-9e3f-47c6-b68c-71a44c7fa3e2", - "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "1467fa28-3e77-48b4-91e1-9007fdf2ab8a", + "parentUUID": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Signup with already used email", "fullTitle": "Signup Signup with already used email", "timedOut": null, - "duration": 1394, + "duration": 1340, "state": "passed", "speed": "fast", "pass": true, @@ -65,8 +65,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);", "err": {}, - "uuid": "a7cf21b7-4518-4f7b-a3ef-20c52492ef80", - "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "78615de6-1f0e-4de9-979b-7ece1ad7ca35", + "parentUUID": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Signup with empty fields", "fullTitle": "Signup Signup with empty fields", "timedOut": null, - "duration": 405, + "duration": 370, "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": "46835456-0ca3-401b-970a-148412c21480", - "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "ecc15162-74b2-4b31-b50b-26b9f637271a", + "parentUUID": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "814b31cd-9e3f-47c6-b68c-71a44c7fa3e2", - "a7cf21b7-4518-4f7b-a3ef-20c52492ef80", - "46835456-0ca3-401b-970a-148412c21480" + "1467fa28-3e77-48b4-91e1-9007fdf2ab8a", + "78615de6-1f0e-4de9-979b-7ece1ad7ca35", + "ecc15162-74b2-4b31-b50b-26b9f637271a" ], "failures": [], "pending": [], "skipped": [], - "duration": 4122, + "duration": 4063, "root": false, "rootEmpty": false, "_timeout": 2000 diff --git a/report.html b/report.html index d767918..ff326c8 100644 --- a/report.html +++ b/report.html @@ -1,2 +1,2 @@ -Mochawesome Report
\ No newline at end of file +Mochawesome Report
\ No newline at end of file diff --git a/report.json b/report.json index d9abab5..9457dd0 100644 --- a/report.json +++ b/report.json @@ -12,13 +12,13 @@ "hasOther": false, "skipped": 0, "hasSkipped": false, - "start": "2024-03-20T00:02:28.734Z", - "end": "2024-03-20T00:02:42.721Z", - "duration": 13987 + "start": "2024-03-27T00:02:34.793Z", + "end": "2024-03-27T00:02:48.681Z", + "duration": 13888 }, "results": [ { - "uuid": "59065d9d-6e9a-4635-b911-14e8c44e65d8", + "uuid": "a5b64e1d-de07-4475-9778-dfec6f8d5e70", "title": "", "fullFile": "cypress/tests/api/user.cy.js", "file": "cypress/tests/api/user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "title": "Users endpoint", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Get all users", "fullTitle": "Users endpoint Get all users", "timedOut": null, - "duration": 196, + "duration": 179, "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": "6c42c10e-e23e-4cd5-b0b9-aac84a03557c", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "d8e390d2-563f-4aeb-b2fa-f01a47cc9a6d", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Create a user", "fullTitle": "Users endpoint Create a user", "timedOut": null, - "duration": 77, + "duration": 56, "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": "1a9c410d-16d2-4e73-8f1e-72fba22f58a9", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "93c85136-5e86-4ea7-a461-1e6066201028", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Get user by ID", "fullTitle": "Users endpoint Get user by ID", "timedOut": null, - "duration": 71, + "duration": 56, "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": "99b7b8ad-02bb-4ef9-b17b-de64d57b115c", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "62472e44-68ef-42e2-831a-1695f8b2e8c5", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -92,7 +92,7 @@ "title": "Update user by ID", "fullTitle": "Users endpoint Update user by ID", "timedOut": null, - "duration": 72, + "duration": 55, "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": "e4134437-8ef5-42d0-8880-92263600ebc3", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "5ceff530-ecd5-428b-aec3-73c540610765", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false }, @@ -110,7 +110,7 @@ "title": "Delete user by ID", "fullTitle": "Users endpoint Delete user by ID", "timedOut": null, - "duration": 73, + "duration": 53, "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": "4791aa33-bc67-4643-94ae-d5f80985905d", - "parentUUID": "e6330237-cd96-4faf-941c-5ed516c2bc32", + "uuid": "38d25f68-3a89-4664-8275-3ba7f770e3fd", + "parentUUID": "4c24a1d6-ba47-460f-bc65-186b6af978e1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "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" + "d8e390d2-563f-4aeb-b2fa-f01a47cc9a6d", + "93c85136-5e86-4ea7-a461-1e6066201028", + "62472e44-68ef-42e2-831a-1695f8b2e8c5", + "5ceff530-ecd5-428b-aec3-73c540610765", + "38d25f68-3a89-4664-8275-3ba7f770e3fd" ], "failures": [], "pending": [], "skipped": [], - "duration": 489, + "duration": 399, "root": false, "rootEmpty": false, "_timeout": 2000 @@ -152,7 +152,7 @@ "_timeout": 2000 }, { - "uuid": "dd8829da-25b2-4a00-bc40-bf6072c37acd", + "uuid": "fb322a25-a9b8-4302-864a-df6bb69dd74f", "title": "", "fullFile": "cypress/tests/e2e/create-user.cy.js", "file": "cypress/tests/e2e/create-user.cy.js", @@ -161,7 +161,7 @@ "tests": [], "suites": [ { - "uuid": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "title": "Signup", "fullFile": "", "file": "", @@ -172,7 +172,7 @@ "title": "Signup done successfully", "fullTitle": "Signup Signup done successfully", "timedOut": null, - "duration": 2323, + "duration": 2353, "state": "passed", "speed": "fast", "pass": true, @@ -181,8 +181,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);", "err": {}, - "uuid": "814b31cd-9e3f-47c6-b68c-71a44c7fa3e2", - "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "1467fa28-3e77-48b4-91e1-9007fdf2ab8a", + "parentUUID": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "isHook": false, "skipped": false }, @@ -190,7 +190,7 @@ "title": "Signup with already used email", "fullTitle": "Signup Signup with already used email", "timedOut": null, - "duration": 1394, + "duration": 1340, "state": "passed", "speed": "fast", "pass": true, @@ -199,8 +199,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);", "err": {}, - "uuid": "a7cf21b7-4518-4f7b-a3ef-20c52492ef80", - "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "78615de6-1f0e-4de9-979b-7ece1ad7ca35", + "parentUUID": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "isHook": false, "skipped": false }, @@ -208,7 +208,7 @@ "title": "Signup with empty fields", "fullTitle": "Signup Signup with empty fields", "timedOut": null, - "duration": 405, + "duration": 370, "state": "passed", "speed": "fast", "pass": true, @@ -217,22 +217,22 @@ "context": null, "code": "cy.get('.btn.btn-primary').click();\ncy.contains(requiredNameMessage);\ncy.contains(requiredEmailMessage);\ncy.contains(requiredPasswordMessage);", "err": {}, - "uuid": "46835456-0ca3-401b-970a-148412c21480", - "parentUUID": "8b7946fb-9f06-4953-850c-d3a711ab038b", + "uuid": "ecc15162-74b2-4b31-b50b-26b9f637271a", + "parentUUID": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "814b31cd-9e3f-47c6-b68c-71a44c7fa3e2", - "a7cf21b7-4518-4f7b-a3ef-20c52492ef80", - "46835456-0ca3-401b-970a-148412c21480" + "1467fa28-3e77-48b4-91e1-9007fdf2ab8a", + "78615de6-1f0e-4de9-979b-7ece1ad7ca35", + "ecc15162-74b2-4b31-b50b-26b9f637271a" ], "failures": [], "pending": [], "skipped": [], - "duration": 4122, + "duration": 4063, "root": false, "rootEmpty": false, "_timeout": 2000