forked from testdino-hq/playwright-sample-tests-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreport.json
More file actions
184 lines (184 loc) · 10.3 KB
/
Copy pathreport.json
File metadata and controls
184 lines (184 loc) · 10.3 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"config": {
"configFile": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/playwright.config.js",
"rootDir": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/tests",
"forbidOnly": false,
"fullyParallel": true,
"globalSetup": null,
"globalTeardown": null,
"globalTimeout": 0,
"grep": {},
"grepInvert": null,
"maxFailures": 0,
"metadata": {
"actualWorkers": 1
},
"preserveOutput": "always",
"reporter": [
[
"list",
null
],
[
"html",
{
"outputFolder": "playwright-report",
"open": "never"
}
],
[
"json",
{
"outputFile": "report.json"
}
]
],
"reportSlowTests": {
"max": 5,
"threshold": 300000
},
"quiet": false,
"projects": [
{
"outputDir": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/test-results",
"repeatEach": 1,
"retries": 0,
"metadata": {
"actualWorkers": 1
},
"id": "chromium",
"name": "chromium",
"testDir": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/tests",
"testIgnore": [],
"testMatch": [
"**/*.@(spec|test).?(c|m)[jt]s?(x)"
],
"timeout": 30000
}
],
"shard": null,
"updateSnapshots": "missing",
"updateSourceMethod": "patch",
"version": "1.54.1",
"workers": 1,
"webServer": null
},
"suites": [
{
"title": "example.spec.js",
"file": "example.spec.js",
"column": 0,
"line": 0,
"specs": [],
"suites": [
{
"title": "Login to the application",
"file": "example.spec.js",
"line": 7,
"column": 6,
"specs": [
{
"title": "Verify that user can update personal information",
"ok": false,
"tags": [],
"tests": [
{
"timeout": 30000,
"annotations": [],
"expectedStatus": "passed",
"projectId": "chromium",
"projectName": "chromium",
"results": [
{
"workerIndex": 0,
"parallelIndex": 0,
"status": "timedOut",
"duration": 30564,
"error": {
"message": "\u001b[31mTest timeout of 30000ms exceeded.\u001b[39m",
"stack": "\u001b[31mTest timeout of 30000ms exceeded.\u001b[39m"
},
"errors": [
{
"message": "\u001b[31mTest timeout of 30000ms exceeded.\u001b[39m"
},
{
"location": {
"file": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/pages/UserPage.js",
"column": 58,
"line": 105
},
"message": "Error: locator.fill: Test timeout of 30000ms exceeded.\nCall log:\n\u001b[2m - waiting for locator('[name=\"firstname\"]')\u001b[22m\n\n\n\u001b[90m at \u001b[39m../pages/UserPage.js:105\n\n\u001b[0m \u001b[90m 103 |\u001b[39m }\n \u001b[90m 104 |\u001b[39m \u001b[36masync\u001b[39m updatePersonalInfo() {\n\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 105 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39mfirstName)\u001b[33m.\u001b[39mfill(\u001b[32m'Test1'\u001b[39m)\u001b[33m;\u001b[39m\n \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\n \u001b[90m 106 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39mlastName)\u001b[33m.\u001b[39mfill(\u001b[32m'Testing'\u001b[39m)\u001b[33m;\u001b[39m\n \u001b[90m 107 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39mcontactNumber)\u001b[33m.\u001b[39mfill(\u001b[32m'9999999999'\u001b[39m)\u001b[33m;\u001b[39m\n \u001b[90m 108 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39msavePersonalInfo)\u001b[33m.\u001b[39mclick()\u001b[33m;\u001b[39m\u001b[0m\n\u001b[2m at UserPage.updatePersonalInfo (/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/pages/UserPage.js:105:58)\u001b[22m\n\u001b[2m at /Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/tests/example.spec.js:80:31\u001b[22m\n\u001b[2m at /Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/tests/example.spec.js:79:16\u001b[22m"
}
],
"stdout": [],
"stderr": [],
"retry": 0,
"steps": [
{
"title": "Login to the application",
"duration": 5394
},
{
"title": "Navigate to the user porifle page",
"duration": 29
},
{
"title": "Update First Name, Last Name, Contact Number and save",
"duration": 24561,
"error": {
"message": "Error: locator.fill: Test timeout of 30000ms exceeded.\nCall log:\n\u001b[2m - waiting for locator('[name=\"firstname\"]')\u001b[22m\n",
"stack": "Error: locator.fill: Test timeout of 30000ms exceeded.\nCall log:\n\u001b[2m - waiting for locator('[name=\"firstname\"]')\u001b[22m\n\n at UserPage.updatePersonalInfo (/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/pages/UserPage.js:105:58)\n at /Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/tests/example.spec.js:80:31\n at /Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/tests/example.spec.js:79:16",
"location": {
"file": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/pages/UserPage.js",
"column": 58,
"line": 105
},
"snippet": "\u001b[90m at \u001b[39m../pages/UserPage.js:105\n\n\u001b[0m \u001b[90m 103 |\u001b[39m }\n \u001b[90m 104 |\u001b[39m \u001b[36masync\u001b[39m updatePersonalInfo() {\n\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 105 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39mfirstName)\u001b[33m.\u001b[39mfill(\u001b[32m'Test1'\u001b[39m)\u001b[33m;\u001b[39m\n \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\n \u001b[90m 106 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39mlastName)\u001b[33m.\u001b[39mfill(\u001b[32m'Testing'\u001b[39m)\u001b[33m;\u001b[39m\n \u001b[90m 107 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39mcontactNumber)\u001b[33m.\u001b[39mfill(\u001b[32m'9999999999'\u001b[39m)\u001b[33m;\u001b[39m\n \u001b[90m 108 |\u001b[39m \u001b[36mawait\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mpage\u001b[33m.\u001b[39mlocator(\u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mlocators\u001b[33m.\u001b[39msavePersonalInfo)\u001b[33m.\u001b[39mclick()\u001b[33m;\u001b[39m\u001b[0m"
}
}
],
"startTime": "2025-08-25T14:52:57.921Z",
"annotations": [],
"attachments": [
{
"name": "screenshot",
"contentType": "image/png",
"path": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/test-results/example-Login-to-the-appli-650ac-update-personal-information-chromium/test-failed-1.png"
},
{
"name": "video",
"contentType": "video/webm",
"path": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/test-results/example-Login-to-the-appli-650ac-update-personal-information-chromium/video.webm"
},
{
"name": "error-context",
"contentType": "text/markdown",
"path": "/Users/alphabin/Downloads/alphabin-demo-test/alphabin-demo-test-playwright/test-results/example-Login-to-the-appli-650ac-update-personal-information-chromium/error-context.md"
}
]
}
],
"status": "unexpected"
}
],
"id": "dd9b2edffe9b7501040c-ae932c045beb4fac4e31",
"file": "example.spec.js",
"line": 69,
"column": 8
}
]
}
]
}
],
"errors": [],
"stats": {
"startTime": "2025-08-25T14:52:57.587Z",
"duration": 31218.743,
"expected": 0,
"skipped": 0,
"unexpected": 1,
"flaky": 0
}
}