Fix block API usage for wp 6.7 #692
Annotations
25 errors and 2 notices
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
1) [chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode › Render in block editor
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:58:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:56:4
|
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
1) [chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode › Render in block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:58:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:56:4
|
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
1) [chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode › Render in block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:58:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:56:4
|
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor:
test/e2e/specs/wptelegram-login/public-ui.spec.ts#L87
2) [chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
85 | await page
86 | .getByRole('textbox', { name: 'Add title' })
> 87 | .fill('Test post for Telegram Login block');
| ^
88 |
89 | await editor.insertBlock({ name: 'wptelegram/login' });
90 |
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:87:5
|
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor:
test/e2e/specs/wptelegram-login/public-ui.spec.ts#L87
2) [chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
85 | await page
86 | .getByRole('textbox', { name: 'Add title' })
> 87 | .fill('Test post for Telegram Login block');
| ^
88 |
89 | await editor.insertBlock({ name: 'wptelegram/login' });
90 |
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:87:5
|
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor:
test/e2e/specs/wptelegram-login/public-ui.spec.ts#L87
2) [chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
85 | await page
86 | .getByRole('textbox', { name: 'Add title' })
> 87 | .fill('Test post for Telegram Login block');
| ^
88 |
89 | await editor.insertBlock({ name: 'wptelegram/login' });
90 |
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:87:5
|
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically:
test/e2e/specs/wptelegram-widget/public-ui.spec.ts#L74
3) [chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically › Prepare
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
72 | await page
73 | .getByRole('textbox', { name: 'Add title' })
> 74 | .fill('A published post');
| ^
75 |
76 | return {
77 | postId: await editor.publishPost(),
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:74:6
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:69:35
|
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically:
test/e2e/specs/wptelegram-widget/public-ui.spec.ts#L74
3) [chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically › Prepare
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
72 | await page
73 | .getByRole('textbox', { name: 'Add title' })
> 74 | .fill('A published post');
| ^
75 |
76 | return {
77 | postId: await editor.publishPost(),
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:74:6
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:69:35
|
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically:
test/e2e/specs/wptelegram-widget/public-ui.spec.ts#L74
3) [chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically › Prepare
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
72 | await page
73 | .getByRole('textbox', { name: 'Add title' })
> 74 | .fill('A published post');
| ^
75 |
76 | return {
77 | postId: await editor.publishPost(),
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:74:6
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:69:35
|
[chromium] › wptelegram-widget/public-ui.spec.ts:140:2 › Public UI › Should render the join link via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
4) [chromium] › wptelegram-widget/public-ui.spec.ts:140:2 › Public UI › Should render the join link via shortcode › Render in block editor
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:155:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:153:4
|
E2E Tests - PHP: 8.3, WP: 6.4
The job was canceled because "_8_3_master" failed.
|
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
1) [chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode › Render in block editor
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:58:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:56:4
|
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
1) [chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode › Render in block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:58:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:56:4
|
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
1) [chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode › Render in block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:58:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:56:4
|
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor:
test/e2e/specs/wptelegram-login/public-ui.spec.ts#L87
2) [chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
85 | await page
86 | .getByRole('textbox', { name: 'Add title' })
> 87 | .fill('Test post for Telegram Login block');
| ^
88 |
89 | await editor.insertBlock({ name: 'wptelegram/login' });
90 |
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:87:5
|
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor:
test/e2e/specs/wptelegram-login/public-ui.spec.ts#L87
2) [chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
85 | await page
86 | .getByRole('textbox', { name: 'Add title' })
> 87 | .fill('Test post for Telegram Login block');
| ^
88 |
89 | await editor.insertBlock({ name: 'wptelegram/login' });
90 |
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:87:5
|
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor:
test/e2e/specs/wptelegram-login/public-ui.spec.ts#L87
2) [chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
85 | await page
86 | .getByRole('textbox', { name: 'Add title' })
> 87 | .fill('Test post for Telegram Login block');
| ^
88 |
89 | await editor.insertBlock({ name: 'wptelegram/login' });
90 |
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-login/public-ui.spec.ts:87:5
|
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically:
test/e2e/specs/wptelegram-widget/public-ui.spec.ts#L74
3) [chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically › Prepare
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
72 | await page
73 | .getByRole('textbox', { name: 'Add title' })
> 74 | .fill('A published post');
| ^
75 |
76 | return {
77 | postId: await editor.publishPost(),
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:74:6
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:69:35
|
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically:
test/e2e/specs/wptelegram-widget/public-ui.spec.ts#L74
3) [chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically › Prepare
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
72 | await page
73 | .getByRole('textbox', { name: 'Add title' })
> 74 | .fill('A published post');
| ^
75 |
76 | return {
77 | postId: await editor.publishPost(),
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:74:6
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:69:35
|
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically:
test/e2e/specs/wptelegram-widget/public-ui.spec.ts#L74
3) [chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically › Prepare
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
72 | await page
73 | .getByRole('textbox', { name: 'Add title' })
> 74 | .fill('A published post');
| ^
75 |
76 | return {
77 | postId: await editor.publishPost(),
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:74:6
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:69:35
|
[chromium] › wptelegram-widget/public-ui.spec.ts:140:2 › Public UI › Should render the join link via shortcode:
tools/e2e-utils/src/editor/base-editor.ts#L32
4) [chromium] › wptelegram-widget/public-ui.spec.ts:140:2 › Public UI › Should render the join link via shortcode › Render in block editor
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Add title' })
at ../../../tools/e2e-utils/src/editor/base-editor.ts:32
30 |
31 | async setTitle(title: string): Promise<void> {
> 32 | await this.page.getByRole('textbox', { name: 'Add title' }).fill(title);
| ^
33 | }
34 |
35 | async createNewPost() {
at BlockEditor.setTitle (/home/runner/work/wp-projects/wp-projects/tools/e2e-utils/src/editor/base-editor.ts:32:63)
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:155:26
at /home/runner/work/wp-projects/wp-projects/test/e2e/specs/wptelegram-widget/public-ui.spec.ts:153:4
|
E2E Tests - PHP: 7.4, WP: master
The job was canceled because "_8_3_master" failed.
|
E2E Tests - PHP: 7.4, WP: master
The operation was canceled.
|
E2E Tests - PHP: 7.4, WP: 6.4
The job was canceled because "_8_3_master" failed.
|
E2E Tests - PHP: 7.4, WP: 6.4
The operation was canceled.
|
🎭 Playwright Run Summary
6 failed
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically
[chromium] › wptelegram-widget/public-ui.spec.ts:140:2 › Public UI › Should render the join link via shortcode
[chromium] › wptelegram-widget/public-ui.spec.ts:185:2 › Public UI › Should render the ajax widget via shortcode
[chromium] › wptelegram-widget/public-ui.spec.ts:227:2 › Public UI › Should render the ajax widget via the block in block editor
31 passed (6.2m)
|
🎭 Playwright Run Summary
6 failed
[chromium] › wptelegram-login/public-ui.spec.ts:43:2 › Public UI › Should render the login button via shortcode
[chromium] › wptelegram-login/public-ui.spec.ts:78:2 › Public UI › Should render the login button via the block in block editor
[chromium] › wptelegram-widget/public-ui.spec.ts:63:2 › Public UI › Should render the join link automatically
[chromium] › wptelegram-widget/public-ui.spec.ts:140:2 › Public UI › Should render the join link via shortcode
[chromium] › wptelegram-widget/public-ui.spec.ts:185:2 › Public UI › Should render the ajax widget via shortcode
[chromium] › wptelegram-widget/public-ui.spec.ts:227:2 › Public UI › Should render the ajax widget via the block in block editor
31 passed (6.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-artifacts-wp-master-php-8.3
|
76.9 MB |
|