Dependencies: Set prefer-dedupe true in npm configuration #36701
Annotations
2 errors and 1 notice
Run E2E tests:
tests/e2e/specs/profile/applications-passwords.test.js#L98
1) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Error: Not logged in
96 |
97 | async create(applicationName = TEST_APPLICATION_NAME) {
> 98 | await this.admin.visitAdminPage( '/profile.php' );
| ^
99 |
100 | const newPasswordField = this.page.getByRole( 'textbox', { name: 'New Application Password Name' } );
101 | await expect( newPasswordField ).toBeVisible();
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at ApplicationPasswords.create (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:98:3)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:23:3
|
Run E2E tests:
tests/e2e/specs/profile/applications-passwords.test.js#L26
1) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'name')
24 |
25 | const [ app ] = await applicationPasswords.get();
> 26 | expect( app['name']).toBe( TEST_APPLICATION_NAME );
| ^
27 |
28 | const successMessage = page.getByRole( 'alert' );
29 |
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:26:14
|
Run E2E tests
1 flaky
[chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
22 passed (47.5s)
|
Loading