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
4 changes: 2 additions & 2 deletions src/ragger/backend/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def compare_screen_with_text(self, text: str) -> bool:
@abstractmethod
def wait_for_text_on_screen(self, text: str, timeout: float = 10.0) -> None:
"""
Wait until the screen content contains the text string provider.
Wait until the screen content contains the text string provided.

This method may be left void on backends connecting to physical devices,
where a physical interaction must be performed instead.
Expand All @@ -525,7 +525,7 @@ def wait_for_text_on_screen(self, text: str, timeout: float = 10.0) -> None:
@abstractmethod
def wait_for_text_not_on_screen(self, text: str, timeout: float = 10.0) -> None:
"""
Wait until the screen content does not contains the text string provider.
Wait until the screen content does not contain the text string provided.

This method may be left void on backends connecting to physical devices,
where a physical interaction must be performed instead.
Expand Down
2 changes: 1 addition & 1 deletion src/ragger/backend/speculos.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def clean_args(cls: type[T], speculos_args: list) -> None:
if argument in speculos_args:
logger.warning("'%s' argument is ignored on batch mode", argument)
index = speculos_args.index(argument)
# popipng argument and its value
# popping argument and its value
speculos_args.pop(index)
speculos_args.pop(index)

Expand Down
2 changes: 1 addition & 1 deletion src/ragger/conftest/base_conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def prepare_speculos_args(

# Legacy lib method, remove once exchange is ported
if len(conf.OPTIONAL.SIDELOADED_APPS) != 0:
# We are testing a a standalone app that needs libraries: search in SIDELOADED_APPS_DIR
# We are testing a standalone app that needs libraries: search in SIDELOADED_APPS_DIR
if conf.OPTIONAL.SIDELOADED_APPS_DIR is None:
raise ValueError('Configuration "SIDELOADED_APPS_DIR" is mandatory if "SIDELOADED_APPS" is used')
libs_dir = Path(project_root_dir / conf.OPTIONAL.SIDELOADED_APPS_DIR)
Expand Down
2 changes: 1 addition & 1 deletion src/ragger/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,5 @@ def open_app_from_dashboard(backend, app_name: str):
if e.status == ERROR_DENIED_BY_USER:
raise ValueError("Open app consent denied by the user") from e
elif e.status == ERROR_APP_NOT_FOUND:
raise ValueError(f"App '{app_name} is not present") from e
raise ValueError(f"App '{app_name}' is not present") from e
raise e
Loading