diff --git a/mocha/mochawesome.json b/mocha/mochawesome.json index 4a76fae..d48d627 100644 --- a/mocha/mochawesome.json +++ b/mocha/mochawesome.json @@ -5,9 +5,9 @@ "passes": 5, "pending": 0, "failures": 0, - "start": "2024-02-07T00:02:19.541Z", - "end": "2024-02-07T00:02:20.040Z", - "duration": 499, + "start": "2024-02-14T00:02:01.477Z", + "end": "2024-02-14T00:02:01.907Z", + "duration": 430, "testsRegistered": 5, "passPercent": 100, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "5b1f865b-21e8-4758-a0a3-1ac268801bf1", + "uuid": "df881f17-1366-4164-a522-bf2f9236c1a5", "title": "", "fullFile": "cypress/tests/api/user.cy.js", "file": "cypress/tests/api/user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "db527f49-0052-407b-9d9f-b330617fe542", "title": "Users endpoint", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Get all users", "fullTitle": "Users endpoint Get all users", "timedOut": null, - "duration": 228, + "duration": 160, "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": "5ca42572-ddbf-4248-bb38-759089a5c08a", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "ea04abf8-e955-4de0-9a8b-bf464cad53e2", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Create a user", "fullTitle": "Users endpoint Create a user", "timedOut": null, - "duration": 59, + "duration": 58, "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": "342f9f24-7ee8-42e9-9235-cb97d3c34feb", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "75f06ae5-3815-498e-842d-26eb5df5415c", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Get user by ID", "fullTitle": "Users endpoint Get user by ID", "timedOut": null, - "duration": 62, + "duration": 58, "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": "9395778c-5a8c-47bb-807b-349ec6b6e317", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "fb1cf543-eff1-43d8-ae75-db449eaad0a9", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -92,7 +92,7 @@ "title": "Update user by ID", "fullTitle": "Users endpoint Update user by ID", "timedOut": null, - "duration": 57, + "duration": 77, "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": "86f48954-b044-4126-81e4-01f9693a9ae1", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "83b38d0a-8049-4b94-91f0-64043bca4ee6", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -110,7 +110,7 @@ "title": "Delete user by ID", "fullTitle": "Users endpoint Delete user by ID", "timedOut": null, - "duration": 66, + "duration": 51, "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": "4bb69526-de88-4be1-a00c-c5f175fe5ac8", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "d5ffef4d-5242-4f5a-93d6-24e7557fef8c", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "5ca42572-ddbf-4248-bb38-759089a5c08a", - "342f9f24-7ee8-42e9-9235-cb97d3c34feb", - "9395778c-5a8c-47bb-807b-349ec6b6e317", - "86f48954-b044-4126-81e4-01f9693a9ae1", - "4bb69526-de88-4be1-a00c-c5f175fe5ac8" + "ea04abf8-e955-4de0-9a8b-bf464cad53e2", + "75f06ae5-3815-498e-842d-26eb5df5415c", + "fb1cf543-eff1-43d8-ae75-db449eaad0a9", + "83b38d0a-8049-4b94-91f0-64043bca4ee6", + "d5ffef4d-5242-4f5a-93d6-24e7557fef8c" ], "failures": [], "pending": [], "skipped": [], - "duration": 472, + "duration": 404, "root": false, "rootEmpty": false, "_timeout": 2000 diff --git a/mocha/mochawesome_001.json b/mocha/mochawesome_001.json index cd0b4a9..43ded6c 100644 --- a/mocha/mochawesome_001.json +++ b/mocha/mochawesome_001.json @@ -5,9 +5,9 @@ "passes": 3, "pending": 0, "failures": 0, - "start": "2024-02-07T00:02:26.160Z", - "end": "2024-02-07T00:02:33.991Z", - "duration": 7831, + "start": "2024-02-14T00:02:07.631Z", + "end": "2024-02-14T00:02:15.772Z", + "duration": 8141, "testsRegistered": 3, "passPercent": 100, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "db29f0c5-83d5-48cb-91cd-c26ec85b1e8d", + "uuid": "b567beed-2e84-467f-b813-dd6521e50f60", "title": "", "fullFile": "cypress/tests/e2e/create-user.cy.js", "file": "cypress/tests/e2e/create-user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "77017006-0201-455d-a6b5-e4afb03576a6", "title": "Signup", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Signup done successfully", "fullTitle": "Signup Signup done successfully", "timedOut": null, - "duration": 2374, + "duration": 2710, "state": "passed", "speed": "fast", "pass": true, @@ -47,8 +47,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);", "err": {}, - "uuid": "921ab43b-f7cf-4784-9214-2241a93a762d", - "parentUUID": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "d01a8947-9772-4fe6-af27-24c6e1687736", + "parentUUID": "77017006-0201-455d-a6b5-e4afb03576a6", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Signup with already used email", "fullTitle": "Signup Signup with already used email", "timedOut": null, - "duration": 1406, + "duration": 1452, "state": "passed", "speed": "fast", "pass": true, @@ -65,8 +65,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);", "err": {}, - "uuid": "6a44ba2d-b006-4414-b1e2-7d7209dadca9", - "parentUUID": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "0576ac00-b12d-4076-8f49-f08b2841e745", + "parentUUID": "77017006-0201-455d-a6b5-e4afb03576a6", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Signup with empty fields", "fullTitle": "Signup Signup with empty fields", "timedOut": null, - "duration": 367, + "duration": 378, "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": "3eee077b-1dd5-4ab7-9b8e-032dad5e024c", - "parentUUID": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "4d1350e3-b761-4a94-93b5-3c3856baf182", + "parentUUID": "77017006-0201-455d-a6b5-e4afb03576a6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "921ab43b-f7cf-4784-9214-2241a93a762d", - "6a44ba2d-b006-4414-b1e2-7d7209dadca9", - "3eee077b-1dd5-4ab7-9b8e-032dad5e024c" + "d01a8947-9772-4fe6-af27-24c6e1687736", + "0576ac00-b12d-4076-8f49-f08b2841e745", + "4d1350e3-b761-4a94-93b5-3c3856baf182" ], "failures": [], "pending": [], "skipped": [], - "duration": 4147, + "duration": 4540, "root": false, "rootEmpty": false, "_timeout": 2000 diff --git a/report.html b/report.html index 709f5bd..e4b992d 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 343318f..707c19f 100644 --- a/report.json +++ b/report.json @@ -12,13 +12,13 @@ "hasOther": false, "skipped": 0, "hasSkipped": false, - "start": "2024-02-07T00:02:19.541Z", - "end": "2024-02-07T00:02:33.991Z", - "duration": 14450 + "start": "2024-02-14T00:02:01.477Z", + "end": "2024-02-14T00:02:15.772Z", + "duration": 14295 }, "results": [ { - "uuid": "5b1f865b-21e8-4758-a0a3-1ac268801bf1", + "uuid": "df881f17-1366-4164-a522-bf2f9236c1a5", "title": "", "fullFile": "cypress/tests/api/user.cy.js", "file": "cypress/tests/api/user.cy.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "db527f49-0052-407b-9d9f-b330617fe542", "title": "Users endpoint", "fullFile": "", "file": "", @@ -38,7 +38,7 @@ "title": "Get all users", "fullTitle": "Users endpoint Get all users", "timedOut": null, - "duration": 228, + "duration": 160, "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": "5ca42572-ddbf-4248-bb38-759089a5c08a", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "ea04abf8-e955-4de0-9a8b-bf464cad53e2", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -56,7 +56,7 @@ "title": "Create a user", "fullTitle": "Users endpoint Create a user", "timedOut": null, - "duration": 59, + "duration": 58, "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": "342f9f24-7ee8-42e9-9235-cb97d3c34feb", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "75f06ae5-3815-498e-842d-26eb5df5415c", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -74,7 +74,7 @@ "title": "Get user by ID", "fullTitle": "Users endpoint Get user by ID", "timedOut": null, - "duration": 62, + "duration": 58, "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": "9395778c-5a8c-47bb-807b-349ec6b6e317", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "fb1cf543-eff1-43d8-ae75-db449eaad0a9", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -92,7 +92,7 @@ "title": "Update user by ID", "fullTitle": "Users endpoint Update user by ID", "timedOut": null, - "duration": 57, + "duration": 77, "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": "86f48954-b044-4126-81e4-01f9693a9ae1", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "83b38d0a-8049-4b94-91f0-64043bca4ee6", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false }, @@ -110,7 +110,7 @@ "title": "Delete user by ID", "fullTitle": "Users endpoint Delete user by ID", "timedOut": null, - "duration": 66, + "duration": 51, "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": "4bb69526-de88-4be1-a00c-c5f175fe5ac8", - "parentUUID": "d435c133-2dfe-4764-8a08-862955141480", + "uuid": "d5ffef4d-5242-4f5a-93d6-24e7557fef8c", + "parentUUID": "db527f49-0052-407b-9d9f-b330617fe542", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "5ca42572-ddbf-4248-bb38-759089a5c08a", - "342f9f24-7ee8-42e9-9235-cb97d3c34feb", - "9395778c-5a8c-47bb-807b-349ec6b6e317", - "86f48954-b044-4126-81e4-01f9693a9ae1", - "4bb69526-de88-4be1-a00c-c5f175fe5ac8" + "ea04abf8-e955-4de0-9a8b-bf464cad53e2", + "75f06ae5-3815-498e-842d-26eb5df5415c", + "fb1cf543-eff1-43d8-ae75-db449eaad0a9", + "83b38d0a-8049-4b94-91f0-64043bca4ee6", + "d5ffef4d-5242-4f5a-93d6-24e7557fef8c" ], "failures": [], "pending": [], "skipped": [], - "duration": 472, + "duration": 404, "root": false, "rootEmpty": false, "_timeout": 2000 @@ -152,7 +152,7 @@ "_timeout": 2000 }, { - "uuid": "db29f0c5-83d5-48cb-91cd-c26ec85b1e8d", + "uuid": "b567beed-2e84-467f-b813-dd6521e50f60", "title": "", "fullFile": "cypress/tests/e2e/create-user.cy.js", "file": "cypress/tests/e2e/create-user.cy.js", @@ -161,7 +161,7 @@ "tests": [], "suites": [ { - "uuid": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "77017006-0201-455d-a6b5-e4afb03576a6", "title": "Signup", "fullFile": "", "file": "", @@ -172,7 +172,7 @@ "title": "Signup done successfully", "fullTitle": "Signup Signup done successfully", "timedOut": null, - "duration": 2374, + "duration": 2710, "state": "passed", "speed": "fast", "pass": true, @@ -181,8 +181,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);", "err": {}, - "uuid": "921ab43b-f7cf-4784-9214-2241a93a762d", - "parentUUID": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "d01a8947-9772-4fe6-af27-24c6e1687736", + "parentUUID": "77017006-0201-455d-a6b5-e4afb03576a6", "isHook": false, "skipped": false }, @@ -190,7 +190,7 @@ "title": "Signup with already used email", "fullTitle": "Signup Signup with already used email", "timedOut": null, - "duration": 1406, + "duration": 1452, "state": "passed", "speed": "fast", "pass": true, @@ -199,8 +199,8 @@ "context": null, "code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);", "err": {}, - "uuid": "6a44ba2d-b006-4414-b1e2-7d7209dadca9", - "parentUUID": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "0576ac00-b12d-4076-8f49-f08b2841e745", + "parentUUID": "77017006-0201-455d-a6b5-e4afb03576a6", "isHook": false, "skipped": false }, @@ -208,7 +208,7 @@ "title": "Signup with empty fields", "fullTitle": "Signup Signup with empty fields", "timedOut": null, - "duration": 367, + "duration": 378, "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": "3eee077b-1dd5-4ab7-9b8e-032dad5e024c", - "parentUUID": "2deb2139-7390-47cb-ab09-de09b149aafc", + "uuid": "4d1350e3-b761-4a94-93b5-3c3856baf182", + "parentUUID": "77017006-0201-455d-a6b5-e4afb03576a6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "921ab43b-f7cf-4784-9214-2241a93a762d", - "6a44ba2d-b006-4414-b1e2-7d7209dadca9", - "3eee077b-1dd5-4ab7-9b8e-032dad5e024c" + "d01a8947-9772-4fe6-af27-24c6e1687736", + "0576ac00-b12d-4076-8f49-f08b2841e745", + "4d1350e3-b761-4a94-93b5-3c3856baf182" ], "failures": [], "pending": [], "skipped": [], - "duration": 4147, + "duration": 4540, "root": false, "rootEmpty": false, "_timeout": 2000