Skip to content

Commit

Permalink
I ❤️ css
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakadus committed Jan 13, 2025
1 parent 4698461 commit f52d035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evap/student/tests/test_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_resolving_submit_errors_clears_warning(self):
self.selenium.get(self.live_server_url + reverse("student:vote", args=[self.evaluation.pk]))
self.wait.until(expected_conditions.presence_of_element_located((By.ID, "vote-submit-btn"))).click()

for row in self.selenium.find_elements(By.CSS_SELECTOR, "#student-vote-form .row :has(.btn-check)"):
for row in self.selenium.find_elements(By.CSS_SELECTOR, "#student-vote-form .row:has(.btn-check)"):
checkbox = row.find_element(By.CSS_SELECTOR, "input[type=radio][value='2'] + label.choice-error")
checkbox.click()

Expand Down

0 comments on commit f52d035

Please sign in to comment.