diff --git a/aleksis/core/tests/browser/test_selenium.py b/aleksis/core/tests/browser/test_selenium.py
index 6a5f737f31f9cb168a3f1508721c46db1c0adc22..a4861d6c18797f7d3e6ed37fa221a2ea1753b96b 100644
--- a/aleksis/core/tests/browser/test_selenium.py
+++ b/aleksis/core/tests/browser/test_selenium.py
@@ -52,9 +52,8 @@ class SeleniumTests(SeleniumTestCase):
         self._screenshot("login_default_superuser_filled.png")
 
         # Submit form by clicking django-two-factor-auth's Next button
-        self.selenium.find_element_by_xpath('//button[contains(text(), "Next")]').click()
+        self.selenium.find_element_by_xpath('//button[contains(text(), "Login")]').click()
         self._screenshot("login_default_superuser_submitted.png")
 
         # Should redirect away from login page and not put up an alert about wrong credentials
         assert "Please enter a correct username and password." not in self.selenium.page_source
-        assert reverse(settings.LOGIN_URL) not in self.selenium.current_url