Skip to content

Commit

Permalink
Merge pull request #407 from maykinmedia/fix/976-rename-test
Browse files Browse the repository at this point in the history
[#976] Cleanup some selenium traces
  • Loading branch information
alextreme authored Jan 2, 2023
2 parents b1b665a + 2235264 commit 2c2d721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/open_inwoner/conf/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@

TWO_FACTOR_PATCH_ADMIN = False

# django-selenium-login needs an arbitrary and fast page to grab cookies
SELENIUM_LOGIN_START_PAGE = "/admin/password_reset/"

# Override settings with local settings.
try:
from .local import * # noqa
Expand Down
6 changes: 3 additions & 3 deletions src/open_inwoner/plans/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def test_plan_action_status_not_your_action(self):
self.assertEqual(response.status_code, 404)


class _PlanActionStatusSeleniumMixin:
class _PlanActionStatusPlaywrightMixin:
def setUp(self) -> None:
super().setUp()

Expand All @@ -578,13 +578,13 @@ def setUp(self) -> None:


class ChromePlanActionStatusPlaywrightTests(
_PlanActionStatusSeleniumMixin, ActionsPlaywrightTests
_PlanActionStatusPlaywrightMixin, ActionsPlaywrightTests
):
pass


class FirefoxPlanActionStatusPlaywrightTests(
_PlanActionStatusSeleniumMixin, ActionsPlaywrightTests
_PlanActionStatusPlaywrightMixin, ActionsPlaywrightTests
):
@classmethod
def launch_browser(cls, playwright):
Expand Down

0 comments on commit 2c2d721

Please sign in to comment.