Skip to content

Conversation

@jesseduffield
Copy link
Owner

@jesseduffield jesseduffield commented Feb 25, 2023

PR Description

Migrates the patch building 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
@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2023

Uffizzi Preview Environment deployment-17436

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

📄 View Application Logs etc.

What is Uffizzi? Learn more

@jesseduffield jesseduffield force-pushed the migrate-patch-building-tests branch from e310e22 to 7a0c870 Compare February 25, 2023 09:35

// milliseconds we'll wait when an assertion fails.
var retryWaitTimes = []int{0, 1, 1, 1, 1, 1, 5, 10, 20, 40, 100, 200, 500, 1000, 2000, 4000}
var retryWaitTimes = []int{0, 1, 1, 1, 1, 1, 5, 10, 20, 40, 100}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for this! 😄 (I was always wondering why we have to wait so long.)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Ah actually that was accidentally committed: I was reducing the timeout for my own local usage. But if CI can handle it then I'm fine to keep it that way across the board

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah. 😄

Maybe we could have an environment variable that is only set on CI and that makes it wait longer.

return self.shell
}

// this will look for a list item in the current panel and if it finds it, it will
Copy link
Owner Author

Choose a reason for hiding this comment

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

moving to view_driver.go

Tap(func() {
t.ExpectPopup().Confirmation().
Title(Contains("")).
Content(Contains("")).
Copy link
Owner Author

Choose a reason for hiding this comment

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

whoops forgot to populate these

@jesseduffield jesseduffield force-pushed the migrate-patch-building-tests branch 4 times, most recently from f6a9b1d to 0cb637c Compare February 25, 2023 10:34
@jesseduffield jesseduffield force-pushed the migrate-patch-building-tests branch from 0cb637c to 9c64508 Compare February 25, 2023 10:37
@jesseduffield jesseduffield merged commit f6fafc6 into master Feb 25, 2023
@delete-merged-branch delete-merged-branch bot deleted the migrate-patch-building-tests branch February 25, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants