Skip to content

Conversation

@jesseduffield
Copy link
Owner

@jesseduffield jesseduffield commented Apr 14, 2023

  • PR Description

Me attempting to fix a couple flaky tests

  • Please check if the PR fulfills these requirements
  • Cheatsheets are up-to-date (run go run scripts/cheatsheet/main.go generate)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • Docs (specifically docs/Config.md) have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

).
// Add both files to the patch; the first will conflict, the second won't
PressPrimaryAction().
Tap(func() {
Copy link
Owner Author

Choose a reason for hiding this comment

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

I'm adding an assertion between pressing space and selecting the next item so that the test isn't going too fast for the code to keep up. The code should prevent an insanely fast user from tripping up the code, but at the moment it is failing to do that.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 14, 2023

Uffizzi Ephemeral Environment deployment-22257

☁️ https://app.uffizzi.com/github.com/jesseduffield/lazygit/pull/2550

📄 View Application Logs etc.

What is Uffizzi? Learn more!

@jesseduffield jesseduffield merged commit 981ba4c into master Apr 14, 2023
@jesseduffield jesseduffield deleted the handle-flakey-tests branch April 14, 2023 11:15
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