Django 5: LogoutView must be called via POST now
Some checks failed
Run tests / Execute tox to run the test suite (push) Failing after 1m26s
Some checks failed
Run tests / Execute tox to run the test suite (push) Failing after 1m26s
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<form action="" method="post">
|
||||
<form id="id_event_update_form" action="" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{% if is_realized %}
|
||||
|
||||
@@ -544,7 +544,7 @@ class TestCase(SeleniumAuthMixin, RoleMixin, ScreenshotTestCase):
|
||||
if screenshots:
|
||||
self.save_screenshot('edit-form', sequence=sequence_name)
|
||||
|
||||
button = c.find_element(By.CSS_SELECTOR, 'form button[type="submit"]')
|
||||
button = c.find_element(By.CSS_SELECTOR, '#id_event_update_form button[type="submit"]')
|
||||
button.click()
|
||||
self.wait_until_stale(c, button)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user