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 Feb 14, 2024
1 parent 2eddd11 commit 07542b6
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": "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,
Expand All @@ -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",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "d435c133-2dfe-4764-8a08-862955141480",
"uuid": "db527f49-0052-407b-9d9f-b330617fe542",
"title": "Users endpoint",
"fullFile": "",
"file": "",
Expand All @@ -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,
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": "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
},
{
"title": "Create a user",
"fullTitle": "Users endpoint Create a user",
"timedOut": null,
"duration": 59,
"duration": 58,
"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": "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
},
{
"title": "Get user by ID",
"fullTitle": "Users endpoint Get user by ID",
"timedOut": null,
"duration": 62,
"duration": 58,
"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": "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
},
{
"title": "Update user by ID",
"fullTitle": "Users endpoint Update user by ID",
"timedOut": null,
"duration": 57,
"duration": 77,
"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": "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
},
{
"title": "Delete user by ID",
"fullTitle": "Users endpoint Delete user by ID",
"timedOut": null,
"duration": 66,
"duration": 51,
"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": "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
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-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,
Expand All @@ -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",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "2deb2139-7390-47cb-ab09-de09b149aafc",
"uuid": "77017006-0201-455d-a6b5-e4afb03576a6",
"title": "Signup",
"fullFile": "",
"file": "",
Expand All @@ -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,
Expand All @@ -47,16 +47,16 @@
"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
},
{
"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,
Expand All @@ -65,16 +65,16 @@
"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
},
{
"title": "Signup with empty fields",
"fullTitle": "Signup Signup with empty fields",
"timedOut": null,
"duration": 367,
"duration": 378,
"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": "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
Expand Down
Loading

0 comments on commit 07542b6

Please sign in to comment.