Skip to content

Commit

Permalink
Fix autogenerated elements for UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Oct 20, 2023
1 parent 55bf2a5 commit 85072a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ __pycache__/
# testing
/coverage
geckodriver.log
/ui_tests/_autogenerated_ui_elements.py
/tests/ui/_autogenerated_ui_elements.py

# misc
.DS_Store
Expand Down
21 changes: 0 additions & 21 deletions tests/ui/_autogenerated_ui_elements.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/ui/generate_ui_test_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 85072a0

Please sign in to comment.