Skip to content

Commit

Permalink
Merge pull request #16 from trilitech/palmer@functori@home-screens-tests
Browse files Browse the repository at this point in the history
Tests: checks that the home screens behave as intended
  • Loading branch information
ajinkyaraj-23 authored Feb 1, 2024
2 parents 86e13c4 + 9262156 commit 7fc866e
Show file tree
Hide file tree
Showing 142 changed files with 485 additions and 272 deletions.
12 changes: 12 additions & 0 deletions test/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
import pytest
from ragger.backend import BackendInterface
from ragger.conftest import configuration
from ragger.firmware import Firmware
from ragger.navigator import Navigator
from utils.client import TezosClient
from utils.navigator import TezosNavigator
from common import DEFAULT_SEED

configuration.OPTIONAL.CUSTOM_SEED = DEFAULT_SEED
Expand All @@ -15,3 +18,12 @@
def client(backend: BackendInterface):
"""Get a tezos client."""
return TezosClient(backend)

@pytest.fixture(scope="function")
def tezos_navigator(backend: BackendInterface,
client: TezosClient,
firmware: Firmware,
navigator: Navigator,
golden_run: bool):
"""Get a tezos navigator."""
return TezosNavigator(backend, firmware, client, navigator, golden_run)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/python/snapshots/nanos/test_reset_app_context/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/python/snapshots/nanos/test_setup_app_context/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/python/snapshots/nanos/test_setup_app_context/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/python/snapshots/nanos/test_setup_app_context/00006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/python/snapshots/nanosp/test_reset_app_context/00001.png
Binary file modified test/python/snapshots/nanosp/test_setup_app_context/00003.png
Binary file modified test/python/snapshots/nanosp/test_setup_app_context/00004.png
Binary file modified test/python/snapshots/nanosp/test_setup_app_context/00005.png
Binary file modified test/python/snapshots/nanox/test_reset_app_context/00001.png
Binary file modified test/python/snapshots/nanox/test_setup_app_context/00003.png
Binary file modified test/python/snapshots/nanox/test_setup_app_context/00004.png
Binary file modified test/python/snapshots/nanox/test_setup_app_context/00005.png
Binary file modified test/python/snapshots/stax/test_reset_app_context/00001.png
Binary file modified test/python/snapshots/stax/test_setup_app_context/00001.png
Loading

0 comments on commit 7fc866e

Please sign in to comment.