Skip to content

Commit

Permalink
Update command to test-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed May 26, 2024
1 parent 7df0fa3 commit a5bd6c5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ test:
fi

test-ui:
docker compose up -d
poetry run pytest src/tests

lint:
Expand Down
2 changes: 1 addition & 1 deletion src/tests/home_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_home_loads_in_english(page: Page):
page.get_by_role("heading", name="Welcome to Jandig").click()


def test_example(page: Page) -> None:
def test_changing_language_to_portuguese_and_back_to_english(page: Page) -> None:
page.goto("http://localhost:8000/")
page.locator(".trigger-lang-modal").click()
page.get_by_label("pt-br").check()
Expand Down
Empty file removed src/users/media/markers/.gitkeep
Empty file.
Empty file removed src/users/media/objects/.gitkeep
Empty file.

0 comments on commit a5bd6c5

Please sign in to comment.