feat(helper): always try to return a valid locale config #3978
e2e.yml
on: push
Matrix: e2e-node
Matrix: e2e-os
Matrix: e2e
e2e result
2s
Annotations
11 errors and 39 notices
|
e2e-node (22, vite)
Process completed with exit code 1.
|
|
[chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter:
e2e/tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts#L18
1) [chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveText(expected) failed
Locator: locator('.frontmatter-test')
Expected: "README"
Received: ""
Timeout: 5000ms
Call log:
- Expect "toHaveText" with timeout 5000ms
- waiting for locator('.frontmatter-test')
9 Γ locator resolved to <p class="frontmatter-test"></p>
- unexpected value ""
16 | await page.goto('auto-frontmatter/')
17 |
> 18 | await expect(page.locator('.frontmatter-test')).toHaveText('README')
| ^
19 | })
20 |
21 | test('should not auto frontmatter', async ({ page }) => {
at /home/runner/work/ecosystem/ecosystem/e2e/tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:18:51
|
|
[chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter:
e2e/tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts#L18
1) [chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveText(expected) failed
Locator: locator('.frontmatter-test')
Expected: "README"
Received: ""
Timeout: 5000ms
Call log:
- Expect "toHaveText" with timeout 5000ms
- waiting for locator('.frontmatter-test')
9 Γ locator resolved to <p class="frontmatter-test"></p>
- unexpected value ""
16 | await page.goto('auto-frontmatter/')
17 |
> 18 | await expect(page.locator('.frontmatter-test')).toHaveText('README')
| ^
19 | })
20 |
21 | test('should not auto frontmatter', async ({ page }) => {
at /home/runner/work/ecosystem/ecosystem/e2e/tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:18:51
|
|
[chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter:
e2e/tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts#L18
1) [chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter
Error: expect(locator).toHaveText(expected) failed
Locator: locator('.frontmatter-test')
Expected: "README"
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" with timeout 5000ms
- waiting for locator('.frontmatter-test')
16 | await page.goto('auto-frontmatter/')
17 |
> 18 | await expect(page.locator('.frontmatter-test')).toHaveText('README')
| ^
19 | })
20 |
21 | test('should not auto frontmatter', async ({ page }) => {
at /home/runner/work/ecosystem/ecosystem/e2e/tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:18:51
|
|
[chromium] βΊ tests/plugin-sass-palette/sass-palette.spec.ts:27:3 βΊ plugin-sass-palette βΊ user palette user:
e2e/tests/plugin-sass-palette/sass-palette.spec.ts#L28
1) [chromium] βΊ tests/plugin-sass-palette/sass-palette.spec.ts:27:3 βΊ plugin-sass-palette βΊ user palette user
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://127.0.0.1:9080/sass-palette/", waiting until "load"
26 |
27 | test('user palette user', async ({ page }) => {
> 28 | await page.goto('sass-palette/')
| ^
29 |
30 | await expect(page.locator('#color-new')).toHaveText('#00f')
31 | })
at /home/runner/work/ecosystem/ecosystem/e2e/tests/plugin-sass-palette/sass-palette.spec.ts:28:16
|
|
[chromium] βΊ tests/plugin-sass-palette/sass-palette.spec.ts:27:3 βΊ plugin-sass-palette βΊ user palette user:
e2e/tests/plugin-sass-palette/sass-palette.spec.ts#L0
1) [chromium] βΊ tests/plugin-sass-palette/sass-palette.spec.ts:27:3 βΊ plugin-sass-palette βΊ user palette user
Test timeout of 30000ms exceeded.
|
|
[chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page:
e2e/tests/plugin-blog/blog.spec.ts#L9
1) [chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page ββββββββββββ
Error: expect(locator).not.toHaveText(expected) failed
Locator: locator('main')
Expected: not "404"
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "not toHaveText" with timeout 5000ms
- waiting for locator('main')
7 | for (const type of types) {
8 | await page.goto(`${type}/`)
> 9 | await expect(page.locator('main')).not.toHaveText('404')
| ^
10 | await expect(page.locator('article').first()).toBeVisible()
11 | }
12 | })
at /Users/runner/work/ecosystem/ecosystem/e2e/tests/plugin-blog/blog.spec.ts:9:46
|
|
[chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page:
e2e/tests/plugin-blog/blog.spec.ts#L9
1) [chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page ββββββββββββ
Error: expect(locator).not.toHaveText(expected) failed
Locator: locator('main')
Expected: not "404"
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "not toHaveText" with timeout 5000ms
- waiting for locator('main')
7 | for (const type of types) {
8 | await page.goto(`${type}/`)
> 9 | await expect(page.locator('main')).not.toHaveText('404')
| ^
10 | await expect(page.locator('article').first()).toBeVisible()
11 | }
12 | })
at /Users/runner/work/ecosystem/ecosystem/e2e/tests/plugin-blog/blog.spec.ts:9:46
|
|
[chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page:
e2e/tests/plugin-blog/blog.spec.ts#L9
1) [chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page ββββββββββββ
Error: expect(locator).not.toHaveText(expected) failed
Locator: locator('main')
Expected: not "404"
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "not toHaveText" with timeout 5000ms
- waiting for locator('main')
7 | for (const type of types) {
8 | await page.goto(`${type}/`)
> 9 | await expect(page.locator('main')).not.toHaveText('404')
| ^
10 | await expect(page.locator('article').first()).toBeVisible()
11 | }
12 | })
at /Users/runner/work/ecosystem/ecosystem/e2e/tests/plugin-blog/blog.spec.ts:9:46
|
|
[chromium] βΊ tests\plugin-blog\blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page:
e2e\tests\plugin-blog\blog.spec.ts#L9
1) [chromium] βΊ tests\plugin-blog\blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page ββββββββββββ
Error: expect(locator).not.toHaveText(expected) failed
Locator: locator('main')
Expected: not "404"
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "not toHaveText" with timeout 5000ms
- waiting for locator('main')
7 | for (const type of types) {
8 | await page.goto(`${type}/`)
> 9 | await expect(page.locator('main')).not.toHaveText('404')
| ^
10 | await expect(page.locator('article').first()).toBeVisible()
11 | }
12 | })
at D:\a\ecosystem\ecosystem\e2e\tests\plugin-blog\blog.spec.ts:9:46
|
|
e2e result
Process completed with exit code 1.
|
|
π Playwright Run Summary
54 passed (18.9s)
|
|
π Playwright Run Summary
54 passed (33.3s)
|
|
π Playwright Run Summary
54 passed (18.8s)
|
|
π Playwright Run Summary
54 passed (33.4s)
|
|
π Playwright Run Summary
1 failed
[chromium] βΊ tests/plugin-auto-frontmatter/auto-frontmatter.spec.ts:15:1 βΊ should auto frontmatter
53 passed (49.1s)
|
|
π Playwright Run Summary
1 flaky
[chromium] βΊ tests/plugin-sass-palette/sass-palette.spec.ts:27:3 βΊ plugin-sass-palette βΊ user palette user
53 passed (47.1s)
|
|
π Playwright Run Summary
54 passed (31.8s)
|
|
π Playwright Run Summary
54 passed (29.8s)
|
|
π Playwright Run Summary
54 passed (34.6s)
|
|
π Playwright Run Summary
54 passed (28.9s)
|
|
π Playwright Run Summary
1 flaky
[chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page βββββββββββββ
53 passed (43.9s)
|
|
π Playwright Run Summary
54 passed (31.4s)
|
|
π Playwright Run Summary
54 passed (43.3s)
|
|
π Playwright Run Summary
54 passed (31.4s)
|
|
π Playwright Run Summary
54 passed (46.3s)
|
|
π Playwright Run Summary
54 passed (33.6s)
|
|
π Playwright Run Summary
54 passed (45.1s)
|
|
π Playwright Run Summary
54 passed (34.6s)
|
|
π Playwright Run Summary
54 passed (47.0s)
|
|
π Playwright Run Summary
54 passed (23.9s)
|
|
π Playwright Run Summary
1 flaky
[chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page βββββββββββββ
53 passed (40.4s)
|
|
π Playwright Run Summary
54 passed (27.3s)
|
|
π Playwright Run Summary
1 flaky
[chromium] βΊ tests/plugin-blog/blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page βββββββββββββ
53 passed (49.4s)
|
|
π Playwright Run Summary
54 passed (23.8s)
|
|
π Playwright Run Summary
54 passed (44.9s)
|
|
π Playwright Run Summary
54 passed (25.6s)
|
|
π Playwright Run Summary
54 passed (57.5s)
|
|
π Playwright Run Summary
54 passed (17.2s)
|
|
π Playwright Run Summary
54 passed (28.5s)
|
|
π Playwright Run Summary
54 passed (16.6s)
|
|
π Playwright Run Summary
54 passed (31.1s)
|
|
π Playwright Run Summary
54 passed (42.6s)
|
|
π Playwright Run Summary
1 flaky
[chromium] βΊ tests\plugin-blog\blog.spec.ts:4:3 βΊ plugin-blog βΊ generate type page βββββββββββββ
53 passed (59.8s)
|
|
π Playwright Run Summary
54 passed (41.4s)
|
|
π Playwright Run Summary
54 passed (56.4s)
|
|
π Playwright Run Summary
54 passed (29.0s)
|
|
π Playwright Run Summary
54 passed (40.5s)
|
|
π Playwright Run Summary
54 passed (29.1s)
|
|
π Playwright Run Summary
54 passed (43.1s)
|