..........F...... [100%] =================================== FAILURES =================================== ________________________________ test_orneklem _________________________________ page = week = [['6212ef63-1', '2026-W49', 'Martı 6212ef63', 'Çınar 6212ef63', 2, 12, ...], ['6212ef63-2', '2026-W49', 'Deniz 6212ef63', 'Kaya 6212ef63', 12, 12, ...]] def test_orneklem(page, week): for row in week: card = match_card(page, row) for team, count in zip(row[2:4], row[4:6]): sample = visible(card.get_by_test_id("takim-orneklemi").filter(has_text=team)) > contains(sample, re.compile(rf"\b{count}\s+maç\b")) tests/test_bulten.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ locator = selector='internal:testid=[data-testid="tah...rt\\u0131 6212ef63"i >> internal:testid=[data-testid="takim-orneklemi"s] >> internal:has-text="Mart\\u0131 6212ef63"i'> value = re.compile('\\b2\\s+maç\\b') def contains(locator, value): > expect(locator).to_contain_text(value, timeout=1500) E AssertionError: Locator expected to contain text 're.compile('\\b2\\s+maç\\b')' E Actual value: Martı 6212ef63 · 2 maç E Call log: E - Expect "to_contain_text" get_by_test_id("tahmin-karti").filter(has_text="Martı 6212ef63").get_by_test_id("takim-orneklemi").filter(has_text="Martı 6212ef63") with timeout 1500ms E - waiting for get_by_test_id("tahmin-karti").filter(has_text="Martı 6212ef63").get_by_test_id("takim-orneklemi").filter(has_text="Martı 6212ef63") E 16 × locator resolved to Martı 6212ef63 · 2 maç E - unexpected value "Martı 6212ef63 · 2 maç" E E Aria snapshot: E - text: Martı 6212ef63 · 2 maç tests/test_bulten.py:18: AssertionError ----------------- generated xml file: /work/creovum-report.xml ----------------- =========================== short test summary info ============================ FAILED tests/test_bulten.py::test_orneklem - AssertionError: Locator expected... 1 failed, 16 passed in 9.62s