Compare commits

..

2 commits

Author SHA1 Message Date
7df1caab66 mark the other selenium test as flaky 2024-02-05 21:11:47 +00:00
pre-commit-ci[bot]
7468ac8f05 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.2.0)
2024-02-05 21:11:47 +00:00
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,7 @@ repos:
hooks: hooks:
- id: djhtml - id: djhtml
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14 rev: v0.2.0
hooks: hooks:
- id: ruff - id: ruff
args: [--fix] args: [--fix]

View file

@ -253,6 +253,7 @@ def login(
selenium.find_element(By.ID, "id_password").send_keys(Keys.RETURN) selenium.find_element(By.ID, "id_password").send_keys(Keys.RETURN)
@pytest.mark.flaky(reruns=5)
@freezegun.freeze_time("2022-09-24 19:03:00+0200") @freezegun.freeze_time("2022-09-24 19:03:00+0200")
def test_baskets_list(live_server: LiveServer, selenium: WebDriver): def test_baskets_list(live_server: LiveServer, selenium: WebDriver):
wait = WebDriverWait(selenium, 10) wait = WebDriverWait(selenium, 10)