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

Improving the UI test runtime #457

Merged
merged 24 commits into from
Sep 30, 2024
Merged

Improving the UI test runtime #457

merged 24 commits into from
Sep 30, 2024

Conversation

DavyLandman
Copy link
Member

@DavyLandman DavyLandman commented Sep 27, 2024

The UI test were taking too long to run, locally and on CI.

I dove in and started measure what was taking long, and bit by bit removing generic sleeps and replacing them by driver.wait calls. It also involved tuning memory and splitting of non UI tests to a separate stage.

Before (30min total time):
image

Now (13min total time):

image

@DavyLandman DavyLandman marked this pull request as ready for review September 30, 2024 09:40
@DavyLandman DavyLandman changed the title Improving the UX test runtime Improving the UI test runtime Sep 30, 2024
@jurgenvinju
Copy link
Member

Much appreciated, especially since my laptop can't be used for anything else during the wait!

@jurgenvinju
Copy link
Member

Just one more wait in macosx outline test to make longer.

Copy link

sonarcloud bot commented Sep 30, 2024

@DavyLandman
Copy link
Member Author

Just one more wait in macosx outline test to make longer.

It was already waiting 70s which should be enough for clicking on an outline item, what it needed was re-clicking, somehow we were too fast.

@DavyLandman DavyLandman merged commit fede0a0 into main Sep 30, 2024
13 checks passed
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 this pull request may close these issues.

2 participants