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

fix(test): increase timeout #6203

Closed
wants to merge 3 commits into from
Closed

fix(test): increase timeout #6203

wants to merge 3 commits into from

Conversation

elzody
Copy link
Contributor

@elzody elzody commented Aug 13, 2024

Should fix ImageView.spec.js. The issue seemed to be that the elements were loading, but too slowly and the Cypress commands timed out. Adding a longer timeout should be reasonable enough.

@elzody elzody self-assigned this Aug 13, 2024
@elzody elzody added tests If you write them we ♥ you 3. to review javascript labels Aug 13, 2024
@elzody elzody force-pushed the fix/image-test branch 3 times, most recently from 221f4ae to c734317 Compare August 13, 2024 17:32
@elzody elzody enabled auto-merge (squash) August 13, 2024 17:35
Copy link

cypress bot commented Aug 13, 2024



Test summary

207 3 2 0Flakiness 5


Run details

Project Text
Status Failed
Commit 0fa3fb5
Started Aug 14, 2024 7:27 AM
Ended Aug 14, 2024 7:36 AM
Duration 09:04 💡
OS Linux Ubuntu -
Browser Electron 114

View run in Cypress Cloud ➡️


Failures

Run group: split-0 (Linux, Electron )
Assistant.spec.js Failed
1 Assistant > Open translate dialog
Run group: split-8 (Linux, Electron )
nodes/ImageView.spec.js Failed
1 Image View > native attachments > open image in modal
2 Image View > native attachments > download non-image gzip attachment

Flakiness

nodes/Table.spec.js Flakiness
1 table plugin > Enter creates newline and navigates
2 table plugin > Table column alignment
3 table plugin > Keep alignment on new row
workspace.spec.js Flakiness
1 Workspace > formats text
conflict.spec.js Flakiness
1 text/plain (lines.txt) > resolves conflict using server version

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

? cy.wrap(subject).find('[data-text-el="editor-container"]')
: cy.get('[data-text-el="editor-container"]')
? cy.wrap(subject).find('[data-text-el="editor-container"]', { timeout: 20000 })
: cy.get('[data-text-el="editor-container"]', { timeout: 20000 })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the replay it seems to be not the timeout but somehow viewer is not opening but the file is downloaded instead:

Screenshot 2024-08-14 at 08 44 43

@juliusknorr juliusknorr force-pushed the fix/image-test branch 2 times, most recently from f7c6714 to 0fa3fb5 Compare August 14, 2024 07:21
Signed-off-by: Elizabeth Danzberger <[email protected]>
Signed-off-by: Elizabeth Danzberger <[email protected]>
@juliusknorr
Copy link
Member

New attempt use chrome instead of electron, now downgrading to 114 due to the running out of memory error.

If that passes generally we may also want to try to bump cypress and keep chrome pinned for now

Next could be the fix from cypress-io/cypress#27415 (comment)

Signed-off-by: Julius Härtl <[email protected]>
@juliusknorr
Copy link
Member

Let me close this as it seems a timeout is not the problem and my attempts also failed 😢

auto-merge was automatically disabled September 13, 2024 08:14

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review javascript tests If you write them we ♥ you
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants