diff --git a/test/e2e/constants/images_paths.py b/test/e2e/constants/images_paths.py index c48f4f8e3d..480510c9c2 100644 --- a/test/e2e/constants/images_paths.py +++ b/test/e2e/constants/images_paths.py @@ -1,18 +1,18 @@ # Images paths -PERMISSION_WELCOME_IMAGE_PATH = '/imports/assets/png/community/permissions2_3.png' -AIRDROPS_WELCOME_IMAGE_PATH = '/imports/assets/png/community/airdrops8_1.png' -TOKENS_WELCOME_IMAGE_PATH = '/imports/assets/png/community/mint2_1.png' -PLUG_IN_KEYCARD_IMAGE_PATH = '/imports/assets/png/keycard/empty-reader.png' -INSERT_KEYCARD_IMAGE_PATH = '/imports/assets/png/keycard/card_insert/img-15.png' -EMPTY_KEYCARD_IMAGE_PATH = '/imports/assets/png/keycard/card-empty.png' -KEYCARD_INSERTED_IMAGE_PATH = '/imports/assets/png/keycard/card-inserted.png' -CHOOSE_KEYCARD_PIN_IMAGE_PATH = '/imports/assets/png/keycard/enter-pin-0.png' -KEYCARD_SUCCESS_IMAGE_PATH = '/imports/assets/png/keycard/strong_success/img-20.png' -KEYCARD_RECOGNIZED_IMAGE_PATH = '/imports/assets/png/keycard/success/img-13.png' -KEYCARD_ERROR_IMAGE_PATH = '/imports/assets/png/keycard/plain-error.png' -HEART_EMOJI_PATH = '/imports/assets/icons/emojiReactions/heart.svg' -THUMBSUP_EMOJI_PATH = '/imports/assets/icons/emojiReactions/thumbsUp.svg' -THUMBSDOWN_EMOJI_PATH = '/imports/assets/icons/emojiReactions/thumbsDown.svg' -LAUGHING_EMOJI_PATH = '/imports/assets/icons/emojiReactions/laughing.svg' -SAD_EMOJI_PATH = '/imports/assets/icons/emojiReactions/sad.svg' -ANGRY_EMOJI_PATH = '/imports/assets/icons/emojiReactions/angry.svg' +PERMISSION_WELCOME_IMAGE_PATH = '/assets/png/community/permissions2_3.png' +AIRDROPS_WELCOME_IMAGE_PATH = '/assets/png/community/airdrops8_1.png' +TOKENS_WELCOME_IMAGE_PATH = '/assets/png/community/mint2_1.png' +PLUG_IN_KEYCARD_IMAGE_PATH = '/assets/png/keycard/empty-reader.png' +INSERT_KEYCARD_IMAGE_PATH = '/assets/png/keycard/card_insert/img-15.png' +EMPTY_KEYCARD_IMAGE_PATH = '/assets/png/keycard/card-empty.png' +KEYCARD_INSERTED_IMAGE_PATH = '/assets/png/keycard/card-inserted.png' +CHOOSE_KEYCARD_PIN_IMAGE_PATH = '/assets/png/keycard/enter-pin-0.png' +KEYCARD_SUCCESS_IMAGE_PATH = '/assets/png/keycard/strong_success/img-20.png' +KEYCARD_RECOGNIZED_IMAGE_PATH = '/assets/png/keycard/success/img-13.png' +KEYCARD_ERROR_IMAGE_PATH = '/assets/png/keycard/plain-error.png' +HEART_EMOJI_PATH = '/assets/img/icons/emojiReactions/heart.svg' +THUMBSUP_EMOJI_PATH = '/assets/img/icons/emojiReactions/thumbsUp.svg' +THUMBSDOWN_EMOJI_PATH = '/assets/img/icons/emojiReactions/thumbsDown.svg' +LAUGHING_EMOJI_PATH = '/assets/img/icons/emojiReactions/laughing.svg' +SAD_EMOJI_PATH = '/assets/img/icons/emojiReactions/sad.svg' +ANGRY_EMOJI_PATH = '/assets/img/icons/emojiReactions/angry.svg' diff --git a/test/e2e/tests/communities/test_communities_screens_overview.py b/test/e2e/tests/communities/test_communities_screens_overview.py index d68695190f..de87203d24 100644 --- a/test/e2e/tests/communities/test_communities_screens_overview.py +++ b/test/e2e/tests/communities/test_communities_screens_overview.py @@ -38,7 +38,7 @@ def test_manage_community_screens_overview(main_screen: MainWindow): assert airdrops_screen.is_new_airdrop_button_present is True, \ f'New airdrop button should be disabled by default' with step('Airdrops welcome image source path is correct'): - assert AIRDROPS_WELCOME_IMAGE_PATH == airdrops_screen.airdrops_welcome_image_path + assert AIRDROPS_WELCOME_IMAGE_PATH == str(airdrops_screen.airdrops_welcome_image_path) with step('Airdrops welcome title is correct'): assert airdrops_screen.airdrops_welcome_title == AirdropsElements.WELCOME_TITLE.value with step('Airdrops welcome subtitle is correct'): @@ -60,7 +60,7 @@ def test_manage_community_screens_overview(main_screen: MainWindow): assert tokens_screen.is_mint_token_button_present is True, \ f'Mint token button should be present' with step('Tokens welcome image path is correct'): - assert TOKENS_WELCOME_IMAGE_PATH == tokens_screen.tokens_welcome_image_path + assert TOKENS_WELCOME_IMAGE_PATH == str(tokens_screen.tokens_welcome_image_path) with step('Tokens welcome title is correct'): assert tokens_screen.tokens_welcome_title == TokensElements.WELCOME_TITLE.value with step('Tokens welcome subtitle is correct'): @@ -83,7 +83,7 @@ def test_manage_community_screens_overview(main_screen: MainWindow): assert permissions_settings.is_add_new_permission_button_present is True, \ f'Add new permission button should be visible' with step('Permission welcome image source path is correct'): - assert PERMISSION_WELCOME_IMAGE_PATH == permissions_settings.permission_welcome_image_source + assert PERMISSION_WELCOME_IMAGE_PATH == str(permissions_settings.permission_welcome_image_source) with step('Permission welcome title is correct'): assert permissions_settings.permission_welcome_title == PermissionsElements.WELCOME_TITLE.value with step('Permission welcome subtitle is correct'):