Improvements #3
Annotations
3 errors, 1 warning, and 1 notice
[Google Chrome] › smoke.spec.ts:25:5 › Verify file upload:
tests/smoke.spec.ts#L33
1) [Google Chrome] › smoke.spec.ts:25:5 › Verify file upload ─────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('uploaded-files')
Expected string: "playwright_image.svg"
Received string: ""
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('uploaded-files')
31 | );
32 | await fileupload.upload.click();
> 33 | await expect(fileupload.uploadedFileName).toHaveText('playwright_image.svg');
| ^
34 | await expect(page.getByText('File Uploaded!')).toBeVisible();
35 | });
36 |
at /home/runner/work/playwright-ts/playwright-ts/tests/smoke.spec.ts:33:45
|
[Google Chrome] › smoke.spec.ts:25:5 › Verify file upload:
tests/smoke.spec.ts#L33
1) [Google Chrome] › smoke.spec.ts:25:5 › Verify file upload ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('uploaded-files')
Expected string: "playwright_image.svg"
Received string: ""
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('uploaded-files')
31 | );
32 | await fileupload.upload.click();
> 33 | await expect(fileupload.uploadedFileName).toHaveText('playwright_image.svg');
| ^
34 | await expect(page.getByText('File Uploaded!')).toBeVisible();
35 | });
36 |
at /home/runner/work/playwright-ts/playwright-ts/tests/smoke.spec.ts:33:45
|
test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[Google Chrome] › smoke.spec.ts:25:5 › Verify file upload ──────────────────────────────────────
32 passed (4.8m)
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
html-report
Expired
|
6.19 MB |
|