Skip to content

Bump lazygit version in ci #184

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

Merged
merged 2 commits into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
# https://github.com/jesseduffield/lazygit?tab=readme-ov-file#ubuntu
# https://api.github.com/repos/jesseduffield/lazygit/releases/latest
LAZYGIT_VERSION="https://github.com/jesseduffield/lazygit/releases/download/v0.47.1/lazygit_0.47.1_Linux_x86_64.tar.gz"
LAZYGIT_VERSION="https://github.com/jesseduffield/lazygit/releases/download/v0.49.0/lazygit_0.49.0_Linux_x86_64.tar.gz"
curl -Lo lazygit.tar.gz $LAZYGIT_VERSION
tar xf lazygit.tar.gz lazygit
sudo install lazygit -D -t /usr/local/bin/
Expand Down
22 changes: 17 additions & 5 deletions integration-tests/cypress/e2e/lazygit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,17 @@ describe("testing", () => {
cy.typeIntoTerminal("{rightarrow}")
cy.contains("main")

// TODO tui-sandbox should have a human readable way to match the text on the screen
//
// for now just match on the symbol before the file since the test
// environment is well controlled anyway
cy.contains("??").should(
// the file tree root item (📁 /) should be selected
cy.contains("/").should(
"have.css",
"background-color",
colors.selectedItem,
)

// select the first file in the file tree (move the selection away from
// the root of the tree)
cy.typeIntoTerminal("j")

// stage all files
cy.typeIntoTerminal("a")
cy.contains("A").should(
Expand Down Expand Up @@ -157,6 +158,17 @@ describe("testing", () => {
cy.typeIntoTerminal("{rightarrow}")
cy.contains("Donate")

// the file tree root item (📁 /) should be selected
cy.contains("/").should(
"have.css",
"background-color",
colors.selectedItem,
)

// select the first file in the file tree (move the selection away from
// the root of the tree)
cy.typeIntoTerminal("j")

cy.contains("??").should(
"have.css",
"background-color",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prettier-plugin-organize-imports": "4.1.0",
"prettier-plugin-packagejson": "2.5.10"
},
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808",
"packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677",
"pnpm": {
"onlyBuiltDependencies": [
"core-js",
Expand Down
Loading