Skip to content

Commit

Permalink
tests: fix language selection
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Warning <[email protected]>
  • Loading branch information
mwarning committed Sep 25, 2024
1 parent 17dc62f commit 588467f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_spa.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ def test_spa(simplehttpserver):
locator = page.locator("xpath=/html/body/div/div/p")
expect(locator).to_contain_text('Type the name or model of your device')

page.select_option("#languages", "Deutsch (German)")
page.select_option("#languages-select", "Deutsch (German)")
expect(locator).to_contain_text('benutze die Eingabe um die passende')

page.select_option("#languages", "ca")
page.select_option("#languages-select", "ca")
expect(locator).to_contain_text('el nom o el model del vostre dispositiu')

page.select_option("#languages", "Polski (Polish)")
page.select_option("#languages-select", "Polski (Polish)")
expect(locator).to_contain_text('nazwę lub model swojego urządzenia')

browser.close()

0 comments on commit 588467f

Please sign in to comment.