Skip to content
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
30 changes: 15 additions & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ recoverpy = "recoverpy.__init__:main"

[tool.poetry.dependencies]
python = "^3.8.1"
textual = "0.65.2"
textual = "0.68.0"

[tool.poetry.dev-dependencies]
coverage = "^7.5.3"
Expand Down
8 changes: 8 additions & 0 deletions tests/integration/test_full_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,21 @@ async def test_select_next_result(self, pilot):
add_expected_save_result(pilot)

async def test_select_previous_result(self, pilot):
previous_button = pilot.app.query("#previous-button").only_one()
current_inode = pilot.app.screen._inode
await pilot.click("#previous-button")
await pilot.pause()

assert pilot.app.screen._inode != current_inode

current_inode = pilot.app.screen._inode

await assert_with_timeout(
lambda: not previous_button.has_class("-active"),
False,
not previous_button.has_class("-active"),
)

await pilot.click("#previous-button")
await pilot.pause()

Expand Down