forked from mayank2193/Java_TestNG_Web-App
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathresult.json
86 lines (86 loc) · 3.32 KB
/
result.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
{
"data": {
"suites": [
{
"title": "E2E Tests - Login",
"tests": [
{
"title": "I navigate to the login page",
"fullTitle": "E2E Tests - Login I navigate to the login page",
"timedOut": null,
"duration": 1442,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "cy.visit('https://the-internet.herokuapp.com/login');\ncy.get('h2').should('contain', 'Login Page');",
"err": {},
"uuid": "4d4f9dcf-50ac-4839-a347-b6e4d2370a1f",
"parentUUID": "d295d56e-f349-407e-b023-910caed67a37",
"isHook": false,
"skipped": false
},
{
"title": "I submit invalid login credentials",
"fullTitle": "E2E Tests - Login I submit invalid login credentials",
"timedOut": null,
"duration": 2366,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "cy.get('#username').type('invalid_usr');\ncy.get('#password').type('invalid_pass');\ncy.get('button[type=\"submit\"]').click();\ncy.get('.flash.error').should('be.visible');\ncy.screenshot({\n capture: 'fullPage'\n});",
"err": {},
"uuid": "5e742de4-1619-4c42-8032-f37d9c638e18",
"parentUUID": "d295d56e-f349-407e-b023-910caed67a37",
"isHook": false,
"skipped": false
},
{
"title": "I submit valid login credentials",
"fullTitle": "E2E Tests - Login I submit valid login credentials",
"timedOut": null,
"duration": 2717,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "cy.get('#username').type('tomsmith');\ncy.get('#password').type('SuperSecretPassword!');\ncy.get('button[type=\"submit\"]').click();\ncy.get('.flash.success').should('be.visible');\ncy.screenshot({\n capture: 'fullPage'\n});",
"err": {},
"uuid": "11f16fd6-fc84-45e4-b615-e840d1a55462",
"parentUUID": "d295d56e-f349-407e-b023-910caed67a37",
"isHook": false,
"skipped": false
},
{
"title": "I logout from the app",
"fullTitle": "E2E Tests - Login I logout from the app",
"timedOut": null,
"duration": 725,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "cy.get('.button.secondary.radius').click();\ncy.get('h2').should('contain', 'Login Page');\ncy.screenshot({\n capture: 'fullPage'\n});",
"err": {},
"uuid": "a2585cd6-dd66-4094-b354-a68ec8621cbd",
"parentUUID": "d295d56e-f349-407e-b023-910caed67a37",
"isHook": false,
"skipped": false
}
]
}
],
"spec": "cypress/integration/examples/login.spec.js"
},
"status": "success",
"message": "Retrieve logs list was successful"
}