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 Apr 10, 2024
1 parent c6f8b3f commit df23809
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-04-03T00:02:47.691Z",
"end": "2024-04-03T00:02:48.622Z",
"duration": 931,
"start": "2024-04-10T00:02:20.306Z",
"end": "2024-04-10T00:02:20.852Z",
"duration": 546,
"testsRegistered": 5,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "dd7b94b9-c0aa-4067-8a41-7bb687b8c48e",
"uuid": "15e254ca-a093-4e4e-b1cd-f82682f0efc1",
"title": "",
"fullFile": "cypress/tests/api/user.cy.js",
"file": "cypress/tests/api/user.cy.js",
Expand All @@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "b0f20f61-b9fb-4266-a3fe-001ba7ba40bb",
"uuid": "d888fc2a-e226-4b18-9fad-aa12a7bccfae",
"title": "Users endpoint",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Get all users",
"fullTitle": "Users endpoint Get all users",
"timedOut": null,
"duration": 497,
"duration": 252,
"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": "60bf333e-3b46-4bc6-864d-7ad982ea57ae",
"parentUUID": "b0f20f61-b9fb-4266-a3fe-001ba7ba40bb",
"uuid": "81fa119c-0bcd-4a52-a292-6ae7bb452405",
"parentUUID": "d888fc2a-e226-4b18-9fad-aa12a7bccfae",
"isHook": false,
"skipped": false
},
{
"title": "Create a user",
"fullTitle": "Users endpoint Create a user",
"timedOut": null,
"duration": 108,
"duration": 66,
"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": "16a73ee5-ecfd-4b9a-9fa9-fcc021b8eca2",
"parentUUID": "b0f20f61-b9fb-4266-a3fe-001ba7ba40bb",
"uuid": "081ca953-5165-4919-8f7f-225e75ce9019",
"parentUUID": "d888fc2a-e226-4b18-9fad-aa12a7bccfae",
"isHook": false,
"skipped": false
},
{
"title": "Get user by ID",
"fullTitle": "Users endpoint Get user by ID",
"timedOut": null,
"duration": 96,
"duration": 63,
"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": "b0d31932-19a5-4ad6-a03b-5a0b5129b720",
"parentUUID": "b0f20f61-b9fb-4266-a3fe-001ba7ba40bb",
"uuid": "49b7891c-dcf0-4298-99be-7f205eaf5516",
"parentUUID": "d888fc2a-e226-4b18-9fad-aa12a7bccfae",
"isHook": false,
"skipped": false
},
{
"title": "Update user by ID",
"fullTitle": "Users endpoint Update user by ID",
"timedOut": null,
"duration": 104,
"duration": 62,
"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": "d07be068-62e3-477f-b98a-1eabf2548b52",
"parentUUID": "b0f20f61-b9fb-4266-a3fe-001ba7ba40bb",
"uuid": "108bc6f1-3229-469c-9d70-ee03220aa8bf",
"parentUUID": "d888fc2a-e226-4b18-9fad-aa12a7bccfae",
"isHook": false,
"skipped": false
},
{
"title": "Delete user by ID",
"fullTitle": "Users endpoint Delete user by ID",
"timedOut": null,
"duration": 94,
"duration": 63,
"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": "0d977fa7-e2e9-47ce-a6a9-d60596a5db74",
"parentUUID": "b0f20f61-b9fb-4266-a3fe-001ba7ba40bb",
"uuid": "65605ca0-9e2c-46ea-baa5-1bc34e78d3d4",
"parentUUID": "d888fc2a-e226-4b18-9fad-aa12a7bccfae",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"60bf333e-3b46-4bc6-864d-7ad982ea57ae",
"16a73ee5-ecfd-4b9a-9fa9-fcc021b8eca2",
"b0d31932-19a5-4ad6-a03b-5a0b5129b720",
"d07be068-62e3-477f-b98a-1eabf2548b52",
"0d977fa7-e2e9-47ce-a6a9-d60596a5db74"
"81fa119c-0bcd-4a52-a292-6ae7bb452405",
"081ca953-5165-4919-8f7f-225e75ce9019",
"49b7891c-dcf0-4298-99be-7f205eaf5516",
"108bc6f1-3229-469c-9d70-ee03220aa8bf",
"65605ca0-9e2c-46ea-baa5-1bc34e78d3d4"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 899,
"duration": 506,
"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-04-03T00:02:55.256Z",
"end": "2024-04-03T00:03:03.211Z",
"duration": 7955,
"start": "2024-04-10T00:02:27.306Z",
"end": "2024-04-10T00:02:35.023Z",
"duration": 7717,
"testsRegistered": 3,
"passPercent": 100,
"pendingPercent": 0,
Expand All @@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "862ab09a-ee7c-428a-af67-b22be477e9c0",
"uuid": "a17c6612-4dd6-4cc1-8853-b7fffc4fd055",
"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": "71e16361-e09e-4c8c-8c66-170d68d46fea",
"uuid": "01cff6ee-ae39-4a38-8cde-1905eb6b3a2f",
"title": "Signup",
"fullFile": "",
"file": "",
Expand All @@ -38,7 +38,7 @@
"title": "Signup done successfully",
"fullTitle": "Signup Signup done successfully",
"timedOut": null,
"duration": 2587,
"duration": 2316,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -47,16 +47,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(successMessage);",
"err": {},
"uuid": "4baa94fe-e7cf-4035-bf8b-509248fb47d9",
"parentUUID": "71e16361-e09e-4c8c-8c66-170d68d46fea",
"uuid": "d94ab830-2972-494d-ba43-9c439eca4cef",
"parentUUID": "01cff6ee-ae39-4a38-8cde-1905eb6b3a2f",
"isHook": false,
"skipped": false
},
{
"title": "Signup with already used email",
"fullTitle": "Signup Signup with already used email",
"timedOut": null,
"duration": 1331,
"duration": 1345,
"state": "passed",
"speed": "fast",
"pass": true,
Expand All @@ -65,16 +65,16 @@
"context": null,
"code": "cy.fillAndSubmitForm(user);\ncy.contains(usedEmailMessage);",
"err": {},
"uuid": "14c6773e-d9cd-495d-b343-0777dcfef6b2",
"parentUUID": "71e16361-e09e-4c8c-8c66-170d68d46fea",
"uuid": "bba89da1-ee9e-4b49-9cb3-505f1385f001",
"parentUUID": "01cff6ee-ae39-4a38-8cde-1905eb6b3a2f",
"isHook": false,
"skipped": false
},
{
"title": "Signup with empty fields",
"fullTitle": "Signup Signup with empty fields",
"timedOut": null,
"duration": 297,
"duration": 364,
"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": "63dffb52-c50b-47ef-ba03-0bd1ee7426bd",
"parentUUID": "71e16361-e09e-4c8c-8c66-170d68d46fea",
"uuid": "7909f383-11c5-41ff-a377-f593a3587aa7",
"parentUUID": "01cff6ee-ae39-4a38-8cde-1905eb6b3a2f",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"4baa94fe-e7cf-4035-bf8b-509248fb47d9",
"14c6773e-d9cd-495d-b343-0777dcfef6b2",
"63dffb52-c50b-47ef-ba03-0bd1ee7426bd"
"d94ab830-2972-494d-ba43-9c439eca4cef",
"bba89da1-ee9e-4b49-9cb3-505f1385f001",
"7909f383-11c5-41ff-a377-f593a3587aa7"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 4215,
"duration": 4025,
"root": false,
"rootEmpty": false,
"_timeout": 2000
Expand Down
Loading

0 comments on commit df23809

Please sign in to comment.