Skip to content

Commit 8ef17f0

Browse files
committed
Try pressSequentially for password field.
1 parent c9db793 commit 8ef17f0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/e2e/specs/collaboration/fixtures/collaboration-utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ export default class CollaborationUtils {
105105
// Retry filling if the page resets during a cold Docker start.
106106
await expect( async () => {
107107
await page.locator( '#user_login' ).fill( userInfo.username );
108-
await page.locator( '#user_pass' ).fill( userInfo.password );
108+
await page.locator( '#user_pass' ).clear();
109+
await page.locator( '#user_pass' ).pressSequentially( userInfo.password );
109110
await expect( page.locator( '#user_pass' ) ).toHaveValue(
110111
userInfo.password
111112
);

0 commit comments

Comments
 (0)