Fixed schema for global styles REST API endpoint wp/v2/global-styles/{id}
#35870
end-to-end-tests.yml
on: pull_request
Matrix: e2e-tests
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
Annotations
8 errors and 2 notices
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L40
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Error: should redirect to the installation page
Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /wp-admin\/install\.php$/
Received string: "http://localhost:8889/"
Call log:
- should redirect to the installation page with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
38 | page,
39 | 'should redirect to the installation page'
> 40 | ).toHaveURL( /wp-admin\/install\.php$/ );
| ^
41 |
42 | await expect(
43 | page.getByText( /WordPress database error/ ),
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/install.test.js:40:5
|
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L60
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.check: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/Confirm use of weak password/)
- locator resolved to <input name="pw_weak" type="checkbox" class="pw-checkbox"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #22
- waiting 500ms
- waiting for e
|
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L60
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.check: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/Confirm use of weak password/)
- locator resolved to <input name="pw_weak" type="checkbox" class="pw-checkbox"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #22
- waiting 500ms
- waiting for e
|
Test with SCRIPT_DEBUG disabled / Run E2E tests
Process completed with exit code 1.
|
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L40
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Error: should redirect to the installation page
Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /wp-admin\/install\.php$/
Received string: "http://localhost:8889/"
Call log:
- should redirect to the installation page with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
38 | page,
39 | 'should redirect to the installation page'
> 40 | ).toHaveURL( /wp-admin\/install\.php$/ );
| ^
41 |
42 | await expect(
43 | page.getByText( /WordPress database error/ ),
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/install.test.js:40:5
|
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L60
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.check: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/Confirm use of weak password/)
- locator resolved to <input name="pw_weak" type="checkbox" class="pw-checkbox"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #22
- waiting 500ms
- waiting for e
|
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L60
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.check: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/Confirm use of weak password/)
- locator resolved to <input name="pw_weak" type="checkbox" class="pw-checkbox"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #22
- waiting 500ms
- waiting for e
|
Test with SCRIPT_DEBUG enabled / Run E2E tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
23 passed (1.0m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
23 passed (1.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts-10915729800
|
2.5 MB |
|
failures-artifacts-SCRIPT_DEBUG-10915729800
|
2.49 MB |
|