Polish client UI labels
This commit is contained in:
@@ -23,6 +23,6 @@ Feature: remove account connection
|
||||
And user "Alice" has set up a client with default settings
|
||||
When the user removes the connection for user "Alice"
|
||||
Then the settings tab should have the following options in the general section:
|
||||
| Start on Login |
|
||||
| Start QSfera when I sign in |
|
||||
And the folder "large-folder" should exist on the file system
|
||||
And the file "testFile.txt" should exist on the file system
|
||||
|
||||
@@ -19,11 +19,11 @@ Feature: Visually check all tabs
|
||||
And user "Alice" has set up a client with default settings
|
||||
When the user opens the settings tab
|
||||
Then the settings tab should have the following options in the general section:
|
||||
| Start on Login |
|
||||
| Start QSfera when I sign in |
|
||||
And the settings tab should have the following options in the advanced section:
|
||||
| Sync hidden files |
|
||||
| Edit ignored files |
|
||||
| Log settings |
|
||||
| Sync hidden files and folders |
|
||||
| Ignored files |
|
||||
| Logs |
|
||||
And the settings tab should have the following options in the network section:
|
||||
| Download Bandwidth |
|
||||
| Upload Bandwidth |
|
||||
|
||||
@@ -11,16 +11,16 @@ from helpers.SyncHelper import wait_for
|
||||
|
||||
class AccountSetting:
|
||||
ACCOUNT_CONNECTION_CONTAINER = SimpleNamespace(
|
||||
by=By.NAME, selector="Sync connections"
|
||||
by=By.NAME, selector="Synchronized folders"
|
||||
)
|
||||
MANAGE_ACCOUNT_BUTTON = SimpleNamespace(by=By.NAME, selector="Manage Account")
|
||||
MANAGE_ACCOUNT_BUTTON = SimpleNamespace(by=By.NAME, selector="Account")
|
||||
ACCOUNT_MENU = SimpleNamespace(by=By.NAME, selector="{menu_item}")
|
||||
CONFIRM_REMOVE_CONNECTION_BUTTON = SimpleNamespace(
|
||||
by=By.NAME, selector="Remove connection"
|
||||
)
|
||||
ACCOUNT_CONNECTION_LABEL = SimpleNamespace(
|
||||
by=By.XPATH,
|
||||
selector="//list[@name='Folder Sync']//label",
|
||||
selector="//list[@name='Synchronized folders']//label",
|
||||
)
|
||||
LOG_BROWSER_WINDOW = SimpleNamespace(by=None, selector=None)
|
||||
ACCOUNT_LOADING = SimpleNamespace(by=None, selector=None)
|
||||
@@ -50,7 +50,7 @@ class AccountSetting:
|
||||
|
||||
@staticmethod
|
||||
def remove_account_connection():
|
||||
AccountSetting.account_action("Remove")
|
||||
AccountSetting.account_action("Remove account")
|
||||
app().find_element(
|
||||
AccountSetting.CONFIRM_REMOVE_CONNECTION_BUTTON.by,
|
||||
AccountSetting.CONFIRM_REMOVE_CONNECTION_BUTTON.selector,
|
||||
|
||||
@@ -11,19 +11,19 @@ class Settings:
|
||||
ABOUT_DIALOG = SimpleNamespace(by=By.CLASS_NAME, selector="[page tab | About]")
|
||||
ABOUT_DIALOG_OK_BUTTON = SimpleNamespace(by=By.NAME, selector="OK")
|
||||
GENERAL_SETTING_START_ON_LOGIN = SimpleNamespace(
|
||||
by=By.XPATH, selector="//panel/*[@name='Start on Login']"
|
||||
by=By.XPATH, selector="//panel/*[@name='Start QSfera when I sign in']"
|
||||
)
|
||||
GENERAL_SETTING_LANGUAGE = SimpleNamespace(
|
||||
by=By.XPATH, selector="//panel/label[@name='Language']"
|
||||
)
|
||||
ADVANCED_SETTING_SYNC_HIDDEN_FILES = SimpleNamespace(
|
||||
by=By.XPATH, selector="//panel/*[@name='Sync hidden files']"
|
||||
by=By.XPATH, selector="//panel/*[@name='Sync hidden files and folders']"
|
||||
)
|
||||
ADVANCED_SETTING_EDIT_IGNORED_FILES = SimpleNamespace(
|
||||
by=By.XPATH, selector="//panel/*[@name='Edit Ignored Files']"
|
||||
by=By.XPATH, selector="//panel/*[@name='Ignored files']"
|
||||
)
|
||||
ADVANCED_SETTING_LOG_SETTINGS = SimpleNamespace(
|
||||
by=By.XPATH, selector="//panel/*[@name='Log Settings']"
|
||||
by=By.XPATH, selector="//panel/*[@name='Logs']"
|
||||
)
|
||||
NETWORK_SETTING_DOWNLOAD_BANDWIDTH = SimpleNamespace(
|
||||
by=By.XPATH, selector="//panel[@name='Download Bandwidth']"
|
||||
@@ -50,7 +50,7 @@ class Settings:
|
||||
|
||||
@staticmethod
|
||||
def has_general_setting(setting):
|
||||
if setting.lower() == "start on login":
|
||||
if setting.lower() == "start qsfera when i sign in":
|
||||
locator = Settings.GENERAL_SETTING_START_ON_LOGIN
|
||||
elif setting.lower() == "language":
|
||||
locator = Settings.GENERAL_SETTING_LANGUAGE
|
||||
@@ -60,11 +60,11 @@ class Settings:
|
||||
|
||||
@staticmethod
|
||||
def has_advanced_setting(setting):
|
||||
if setting.lower() == "sync hidden files":
|
||||
if setting.lower() == "sync hidden files and folders":
|
||||
locator = Settings.ADVANCED_SETTING_SYNC_HIDDEN_FILES
|
||||
elif setting.lower() == "edit ignored files":
|
||||
elif setting.lower() == "ignored files":
|
||||
locator = Settings.ADVANCED_SETTING_EDIT_IGNORED_FILES
|
||||
elif setting.lower() == "log settings":
|
||||
elif setting.lower() == "logs":
|
||||
locator = Settings.ADVANCED_SETTING_LOG_SETTINGS
|
||||
else:
|
||||
raise ValueError(f"Unknown advanced setting: {setting}")
|
||||
|
||||
@@ -8,7 +8,7 @@ from helpers.AppHelper import app
|
||||
|
||||
class SyncConnection:
|
||||
ACCOUNT_CONNECTION_CONTAINER = SimpleNamespace(
|
||||
by=By.NAME, selector="Sync connections"
|
||||
by=By.NAME, selector="Synchronized folders"
|
||||
)
|
||||
FOLDER_SYNC_CONNECTION_MENU_BUTTON = SimpleNamespace(
|
||||
by=By.NAME,
|
||||
@@ -18,7 +18,7 @@ class SyncConnection:
|
||||
SELECTIVE_SYNC_APPLY_BUTTON = SimpleNamespace(by=None, selector=None)
|
||||
CANCEL_FOLDER_SYNC_CONNECTION_DIALOG = SimpleNamespace(by=None, selector=None)
|
||||
CONFIRM_FOLDER_SYNC_CONNECTION_REMOVE = SimpleNamespace(
|
||||
by=By.NAME, selector="Remove Space"
|
||||
by=By.NAME, selector="Remove folder sync"
|
||||
)
|
||||
PERMISSION_ERROR_LABEL = SimpleNamespace(by=None, selector=None)
|
||||
|
||||
@@ -98,7 +98,7 @@ class SyncConnection:
|
||||
|
||||
@staticmethod
|
||||
def remove_folder_sync_connection():
|
||||
SyncConnection.perform_action("Remove Space")
|
||||
SyncConnection.perform_action("Remove folder sync")
|
||||
|
||||
@staticmethod
|
||||
def cancel_folder_sync_connection_removal():
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
```
|
||||
|
||||
- If not stated otherwise each test should be run on every platform win/linux/mac. Record the result as per platform.
|
||||
- "Enable logging to temporary folder" and "Log Http traffic" (tab 'Settings', button 'Log Settings') to have log-files available if needed to report an issue.
|
||||
- "Enable logging to temporary folder" and "Log Http traffic" (tab 'Settings', button 'Logs') to have log-files available if needed to report an issue.
|
||||
- Make sure all automated UI tests run successfully in CI and run them locally on Windows.
|
||||
- all tests that are automated are marked with a :robot: in the 'Result' column (for the corresponding platform) and the name of the test in the 'Related Comment' column
|
||||
- If multiple people are working on the tests at the same time, mark the tests everyone is working on with the GitHub name of the tester.
|
||||
|
||||
Reference in New Issue
Block a user