feat: Update terminology from "Profiles" to "Setups" across translations and UI for clarity
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions

This commit is contained in:
claudi 2026-04-15 09:52:40 +02:00
parent 8ba38c14ac
commit f022d984b6
8 changed files with 221 additions and 134 deletions

View file

@ -89,11 +89,20 @@ class TestSettingsDialogInitialization:
assert dialog.tabs.tabText(5) == "Window"
def test_dialog_has_profiles_tab(self, qtbot, sample_config):
"""Test Profiles tab exists."""
"""Test Setups tab exists with clearer wording."""
dialog = SettingsDialog(sample_config)
qtbot.addWidget(dialog)
assert dialog.tabs.tabText(6) == "Profiles"
assert dialog.tabs.tabText(6) == "Setups"
def test_profiles_actions_have_explanatory_tooltips(self, qtbot, sample_config):
"""Test profile/config actions expose helpful explanations."""
dialog = SettingsDialog(sample_config)
qtbot.addWidget(dialog)
assert "this device" in dialog.save_profile_btn.toolTip().lower()
assert "backup" in dialog.export_btn.toolTip().lower()
assert "json" in dialog.import_btn.toolTip().lower()
class TestPathsTab:
@ -190,7 +199,7 @@ class TestWindowTab:
class TestProfilesTab:
"""Test Profiles management tab."""
"""Test profiles management tab."""
def test_profiles_list_initialized(self, qtbot, sample_config):
"""Test profiles list is initialized."""
@ -198,6 +207,7 @@ class TestProfilesTab:
qtbot.addWidget(dialog)
assert dialog.profiles_list is not None
assert dialog.profiles_help_label.wordWrap() is True
class TestConfigDataRetrieval: