diff --git a/.gitignore b/.gitignore index f71727d9..6e091a69 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,7 @@ __pycache__/ # testing /coverage geckodriver.log -/ui_tests/_autogenerated_ui_elements.py +/tests/ui/_autogenerated_ui_elements.py # misc .DS_Store diff --git a/tests/ui/_autogenerated_ui_elements.py b/tests/ui/_autogenerated_ui_elements.py deleted file mode 100644 index 5a6b37c5..00000000 --- a/tests/ui/_autogenerated_ui_elements.py +++ /dev/null @@ -1,21 +0,0 @@ -"""AUTO GENERATED BY generate_ui_test_elements.py""" - - -class DataTestTags: # pylint: disable=too-few-public-methods - """list of all tags found in src/*.ts*""" - - DATAGRID = "datagrid" - DATAGRID_ADD_COLUMN_BUTTON = "datagrid-add-column-button" - DATAGRID_ALL_COUNT = "datagrid-all-count" - DATAGRID_ALL_TAB_BUTTON = "datagrid-all-tab-button" - DATAGRID_FILTERED_COUNT = "datagrid-filtered-count" - DATAGRID_FILTERED_TAB_BUTTON = "datagrid-filtered-tab-button" - DATAGRID_SELECTED_COUNT = "datagrid-selected-count" - DATAGRID_SELECTED_TAB_BUTTON = "datagrid-selected-tab-button" - DATAGRID_SETTINGS_DROPDOWN = "datagrid-settings-dropdown" - GLOBAL_LOADING_INDICATOR = "global-loading-indicator" - HELP_BUTTON = "help-button" - MESHVIEW_SETTINGS_DROPDOWN = "meshview-settings-dropdown" - SEQUENCEVIEW_SETTINGS_DROPDOWN = "sequenceview-settings-dropdown" - SIMILARITYMAP = "similaritymap" - SIMILARITYMAP_SETTINGS_DROPDOWN = "similaritymap-settings-dropdown" diff --git a/tests/ui/generate_ui_test_elements.py b/tests/ui/generate_ui_test_elements.py index dee66cc4..df5021e9 100644 --- a/tests/ui/generate_ui_test_elements.py +++ b/tests/ui/generate_ui_test_elements.py @@ -22,7 +22,7 @@ def generate_ui_test_elements_py() -> None: """Get tagged elements and create a python file containing all tags as constants""" data_tags = get_data_tags_from_src("src/") with open( - "ui_tests/_autogenerated_ui_elements.py", "w", encoding="utf-8" + "tests/ui/_autogenerated_ui_elements.py", "w", encoding="utf-8" ) as tagged_src: tagged_src.write(f'"""AUTO GENERATED BY {Path(__file__).name}"""\n\n\n')