-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.json
107 lines (107 loc) · 4.71 KB
/
index.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"stats": {
"suites": 1,
"tests": 1,
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2022-03-14T22:41:19.778Z",
"end": "2022-03-14T22:41:37.730Z",
"duration": 14948,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false
},
"results": [
{
"uuid": "12d6ee1c-820e-496a-8c8b-d1fda6cae452",
"title": "",
"fullFile": "cypress/integration/cadastro.spec.js",
"file": "cypress/integration/cadastro.spec.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "cbf0d859-6968-4e7b-ae64-b602b4b83435",
"title": "Cadastro",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "Quando eu informar os dados e finalizar, o cadastro deve ser efetuado com sucesso!",
"fullTitle": "Cadastro Quando eu informar os dados e finalizar, o cadastro deve ser efetuado com sucesso!",
"timedOut": null,
"duration": 14948,
"state": "passed",
"speed": "slow",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "cy.visit('http://automationpractice.com/index.php?controller=authentication&back=my-account');\ncy.get('input[name=email_create]').type(chance.email()); /// segunda etapa do cadastro\n// cy.intercept('GET', '**/index.php?controller=authentication&back=my-account#account-creation').as('accountCreated');\ncy.get('#SubmitCreate > span').click(); // cy.wait('accountCreated')\ncy.url('').should('be.equal', 'http://automationpractice.com/index.php?controller=authentication&back=my-account#account-creation');\ncy.get('input#id_gender1').check().should('be.checked');\ncy.get('input#id_gender2').should('not.be.checked');\ncy.get('input#customer_firstname').type(chance.first());\ncy.get('input#customer_lastname').type(chance.last());\ncy.get('input#passwd').should('to.be.empty').type('Cadastro@1234');\ncy.get('#days').select('27').should('not.be.empty');\ncy.get('#months').select('March').should('not.be.empty');\ncy.get('#years').select('1997').should('not.be.empty');\ncy.get('input#newsletter').check().should('be.checked');\n;\ncy.get('input#optin').check().should('be.checked');\n;\ncy.get('input#firstname').should('to.be.empty').type(chance.name());\ncy.get('input#lastname').should('to.be.empty').type(chance.last({\n nationality: 'en'\n}));\ncy.get('input#company').should('to.be.empty').type(chance.word({\n length: 5\n}));\ncy.get('input#address1').should('to.be.empty').type(chance.address());\ncy.get('input#address2').should('to.be.empty').type(chance.address());\ncy.get('input#city').should('to.be.empty').type(chance.city());\ncy.get('#id_state').select('Colorado').should('not.be.empty');\ncy.get('#postcode').type(chance.zip());\ncy.get('textarea[name=other]').type(chance.paragraph({\n sentences: 1\n}));\ncy.get('#phone').type(chance.phone({\n country: \"us\"\n}));\ncy.get('#phone_mobile').type(chance.phone({\n country: 'us',\n mobile: true\n}));\ncy.get('input[name=alias]').type(chance.word({\n length: 5\n}));\ncy.get('#submitAccount > span').click();\ncy.url('').should('be.equal', 'http://automationpractice.com/index.php?controller=my-account');",
"err": {},
"uuid": "fdb1abcb-b3b8-41a2-842b-a599007c5dc3",
"parentUUID": "cbf0d859-6968-4e7b-ae64-b602b4b83435",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"fdb1abcb-b3b8-41a2-842b-a599007c5dc3"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 14948,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
}
],
"meta": {
"mocha": {
"version": "7.0.1"
},
"mochawesome": {
"options": {
"quiet": true,
"reportFilename": "mochawesome",
"saveHtml": false,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false,
"code": true
},
"version": "7.1.2"
},
"marge": {
"options": {
"id": "default",
"reportDir": "mochawesome-report",
"quiet": true,
"overwrite": false,
"html": false,
"json": true
},
"version": "6.1.1"
}
}
}