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 Mar 27, 2024
1 parent 75d1a45 commit bad7084
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-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,
Expand All @@ -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",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "e6330237-cd96-4faf-941c-5ed516c2bc32",
"uuid": "4c24a1d6-ba47-460f-bc65-186b6af978e1",
"title": "Users endpoint",
"fullFile": "",
"file": "",
Expand All @@ -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,
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": "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
},
{
"title": "Create a user",
"fullTitle": "Users endpoint Create a user",
"timedOut": null,
"duration": 77,
"duration": 56,
"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": "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
},
{
"title": "Get user by ID",
"fullTitle": "Users endpoint Get user by ID",
"timedOut": null,
"duration": 71,
"duration": 56,
"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": "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
},
{
"title": "Update user by ID",
"fullTitle": "Users endpoint Update user by ID",
"timedOut": null,
"duration": 72,
"duration": 55,
"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": "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
},
{
"title": "Delete user by ID",
"fullTitle": "Users endpoint Delete user by ID",
"timedOut": null,
"duration": 73,
"duration": 53,
"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": "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
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-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,
Expand All @@ -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",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "8b7946fb-9f06-4953-850c-d3a711ab038b",
"uuid": "721fc5aa-8a9b-4e91-aa7e-b8d6aa28954b",
"title": "Signup",
"fullFile": "",
"file": "",
Expand All @@ -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,
Expand All @@ -47,16 +47,16 @@
"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
},
{
"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,
Expand All @@ -65,16 +65,16 @@
"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
},
{
"title": "Signup with empty fields",
"fullTitle": "Signup Signup with empty fields",
"timedOut": null,
"duration": 405,
"duration": 370,
"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": "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
Expand Down
Loading

0 comments on commit bad7084

Please sign in to comment.