chore(deps-dev): bump phpstan/phpstan from 2.1.22 to 2.1.33 #1243
Annotations
7 errors and 1 notice
|
Run the tests
Process completed with exit code 1.
|
|
Run the tests:
tests/e2e/specs/onboarding.spec.ts#L57
2) [chromium] › onboarding.spec.ts:32:9 › Onboarding › Check the setup wizard ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toContainText: Error: strict mode violation: getByRole('heading') resolved to 12 elements:
1) <h2 class="h2 pb-8">↵⇆⇆⇆⇆⇆⇆⇆⇆⇆⇆Select a chart from the options availa…</h2> aka getByRole('heading', { name: 'Select a chart from the' })
2) <h3 class="h3">Pie/Donut chart</h3> aka getByRole('heading', { name: 'Pie/Donut chart' })
3) <h3 class="h3">Bar chart</h3> aka getByRole('heading', { name: 'Bar chart' })
4) <h3 class="h3">Line chart</h3> aka getByRole('heading', { name: 'Line chart' })
5) <h3 class="h3">Table</h3> aka getByRole('heading', { name: 'Table' })
6) <h3>Geo chart</h3> aka getByRole('heading', { name: 'Geo chart' })
7) <h3 class="h3">Discover the power of PRO!</h3> aka getByRole('heading', { name: 'Discover the power of PRO!' })
8) <h2 class="h2 pb-8">You're almost done!</h2> aka getByRole('heading', { name: 'You\'re almost done!' })
9) <h4 class="h4 pb-4">Importing demo data</h4> aka getByRole('heading', { name: 'Importing demo data' })
10) <h2 class="h2 pb-8">Insert a chart into the draft page</h2> aka getByRole('heading', { name: 'Insert a chart into the draft' })
...
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('heading')
55 |
56 | // Step 3
> 57 | await expect(page.getByRole('heading')).toContainText('Insert a chart into the draft page');
| ^
58 | await expect(page.getByRole('button', { name: 'Create a draft page We will' })).toBeVisible();
59 | await page.getByRole('button', { name: 'Create a draft page We will' }).click();
60 | await expect(page.getByRole('heading', { name: 'Chart preview' })).toBeVisible();
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/onboarding.spec.ts:57:49
|
|
Run the tests:
tests/e2e/specs/onboarding.spec.ts#L57
2) [chromium] › onboarding.spec.ts:32:9 › Onboarding › Check the setup wizard ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toContainText: Error: strict mode violation: getByRole('heading') resolved to 12 elements:
1) <h2 class="h2 pb-8">↵⇆⇆⇆⇆⇆⇆⇆⇆⇆⇆Select a chart from the options availa…</h2> aka getByRole('heading', { name: 'Select a chart from the' })
2) <h3 class="h3">Pie/Donut chart</h3> aka getByRole('heading', { name: 'Pie/Donut chart' })
3) <h3 class="h3">Bar chart</h3> aka getByRole('heading', { name: 'Bar chart' })
4) <h3 class="h3">Line chart</h3> aka getByRole('heading', { name: 'Line chart' })
5) <h3 class="h3">Table</h3> aka getByRole('heading', { name: 'Table' })
6) <h3>Geo chart</h3> aka getByRole('heading', { name: 'Geo chart' })
7) <h3 class="h3">Discover the power of PRO!</h3> aka getByRole('heading', { name: 'Discover the power of PRO!' })
8) <h2 class="h2 pb-8">You're almost done!</h2> aka getByRole('heading', { name: 'You\'re almost done!' })
9) <h4 class="h4 pb-4">Importing demo data</h4> aka getByRole('heading', { name: 'Importing demo data' })
10) <h2 class="h2 pb-8">Insert a chart into the draft page</h2> aka getByRole('heading', { name: 'Insert a chart into the draft' })
...
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('heading')
55 |
56 | // Step 3
> 57 | await expect(page.getByRole('heading')).toContainText('Insert a chart into the draft page');
| ^
58 | await expect(page.getByRole('button', { name: 'Create a draft page We will' })).toBeVisible();
59 | await page.getByRole('button', { name: 'Create a draft page We will' }).click();
60 | await expect(page.getByRole('heading', { name: 'Chart preview' })).toBeVisible();
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/onboarding.spec.ts:57:49
|
|
Run the tests:
tests/e2e/specs/onboarding.spec.ts#L57
2) [chromium] › onboarding.spec.ts:32:9 › Onboarding › Check the setup wizard ────────────────────
Error: expect.toContainText: Error: strict mode violation: getByRole('heading') resolved to 12 elements:
1) <h2 class="h2 pb-8">↵⇆⇆⇆⇆⇆⇆⇆⇆⇆⇆Select a chart from the options availa…</h2> aka getByRole('heading', { name: 'Select a chart from the' })
2) <h3 class="h3">Pie/Donut chart</h3> aka getByRole('heading', { name: 'Pie/Donut chart' })
3) <h3 class="h3">Bar chart</h3> aka getByRole('heading', { name: 'Bar chart' })
4) <h3 class="h3">Line chart</h3> aka getByRole('heading', { name: 'Line chart' })
5) <h3 class="h3">Table</h3> aka getByRole('heading', { name: 'Table' })
6) <h3>Geo chart</h3> aka getByRole('heading', { name: 'Geo chart' })
7) <h3 class="h3">Discover the power of PRO!</h3> aka getByRole('heading', { name: 'Discover the power of PRO!' })
8) <h2 class="h2 pb-8">You're almost done!</h2> aka getByRole('heading', { name: 'You\'re almost done!' })
9) <h4 class="h4 pb-4">Importing demo data</h4> aka getByRole('heading', { name: 'Importing demo data' })
10) <h2 class="h2 pb-8">Insert a chart into the draft page</h2> aka getByRole('heading', { name: 'Insert a chart into the draft' })
...
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('heading')
55 |
56 | // Step 3
> 57 | await expect(page.getByRole('heading')).toContainText('Insert a chart into the draft page');
| ^
58 | await expect(page.getByRole('button', { name: 'Create a draft page We will' })).toBeVisible();
59 | await page.getByRole('button', { name: 'Create a draft page We will' }).click();
60 | await expect(page.getByRole('heading', { name: 'Chart preview' })).toBeVisible();
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/onboarding.spec.ts:57:49
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L132
1) [chromium] › gutenberg-editor.spec.js:115:5 › Charts with Gutenberg Editor › check block Edit new button
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: ' Close dialog' })
130 | //await page.goto('http://localhost:8889/wp-admin/post.php?post=29&action=edit');
131 | await expect(page.getByLabel('Visualizer', { exact: true }).locator('h1')).toContainText('Visualizer');
> 132 | await page.getByRole('button', { name: ' Close dialog' }).click();
| ^
133 | } );
134 |
135 | test( 'check widgets', async ( { admin, editor, page } ) => {
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:132:68
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L132
1) [chromium] › gutenberg-editor.spec.js:115:5 › Charts with Gutenberg Editor › check block Edit new button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: ' Close dialog' })
130 | //await page.goto('http://localhost:8889/wp-admin/post.php?post=29&action=edit');
131 | await expect(page.getByLabel('Visualizer', { exact: true }).locator('h1')).toContainText('Visualizer');
> 132 | await page.getByRole('button', { name: ' Close dialog' }).click();
| ^
133 | } );
134 |
135 | test( 'check widgets', async ( { admin, editor, page } ) => {
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:132:68
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L132
1) [chromium] › gutenberg-editor.spec.js:115:5 › Charts with Gutenberg Editor › check block Edit new button
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: ' Close dialog' })
130 | //await page.goto('http://localhost:8889/wp-admin/post.php?post=29&action=edit');
131 | await expect(page.getByLabel('Visualizer', { exact: true }).locator('h1')).toContainText('Visualizer');
> 132 | await page.getByRole('button', { name: ' Close dialog' }).click();
| ^
133 | } );
134 |
135 | test( 'check widgets', async ( { admin, editor, page } ) => {
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:132:68
|
|
Run the tests
2 failed
[chromium] › gutenberg-editor.spec.js:115:5 › Charts with Gutenberg Editor › check block Edit new button
[chromium] › onboarding.spec.ts:32:9 › Onboarding › Check the setup wizard ─────────────────────
24 passed (2.5m)
|
Loading