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

ci: flaky Cypress test for oas3-multiple-media-types #6570

Closed
tim-lai opened this issue Oct 27, 2020 · 0 comments · Fixed by #6571
Closed

ci: flaky Cypress test for oas3-multiple-media-types #6570

tim-lai opened this issue Oct 27, 2020 · 0 comments · Fixed by #6571

Comments

@tim-lai
Copy link
Contributor

tim-lai commented Oct 27, 2020

Q&A (please complete the following information)

see notes below on existing Cypress test.

Content & configuration

see notes below on existing Cypress test.

Describe the bug you're encountering

Recently, running CI on both Jenkins and GA,

1) OpenAPI 3.0 Multiple Media Types with different schemas
       multipart/form-data (only 'bar')
         should execute multipart/form-data:
     AssertionError: Timed out retrying: Expected to find element: `.responses-wrapper .curl-command`, but never found it.
      at Context.eval (http://localhost:3230/__cypress/tests?p=test/e2e-cypress/tests/features/oas3-multiple-media-type.js:123:50)

To reproduce...

Steps to reproduce the behavior:

  1. Go to Cypress, oas3-multiple-media-types.js test and run it.
  2. The first test sometimes fails

Expected behavior

This test file should always pass

Screenshots

Additional context or thoughts

likely async timing issue.

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