Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test in rich-text e2e test. #22201

Closed
sainthkh opened this issue May 8, 2020 · 0 comments · Fixed by #22202
Closed

Flaky test in rich-text e2e test. #22201

sainthkh opened this issue May 8, 2020 · 0 comments · Fixed by #22202

Comments

@sainthkh
Copy link
Contributor

sainthkh commented May 8, 2020

Describe the bug

To reproduce

It's flaky. It happens randomly.

Error:

  ● RichText › should handle Home and End keys
    expect(received).toMatchSnapshot()
    Snapshot name: `RichText should handle Home and End keys 1`
    - Snapshot  - 1
    + Received  + 1
      <!-- wp:paragraph -->
    - <p>-<strong>12</strong>+</p>
    + <p>-12+</p>
      <!-- /wp:paragraph -->
      266 | 		await page.keyboard.type( '+' );
      267 | 
    > 268 | 		expect( await getEditedPostContent() ).toMatchSnapshot();
          | 		                                       ^
      269 | 	} );
      270 | 
      271 | 	it( 'should update internal selection after fresh focus', async () => {
      at Object.<anonymous> (specs/editor/various/rich-text.test.js:268:42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant