diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 94e2ec6..4e5f5fd 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -37,7 +37,8 @@ steps: - pip install -r requirements.txt - cd ./src - python manage.py collectstatic --noinput - - python manage.py test functional_tests --parallel --exclude-tag=channels + - python manage.py test functional_tests --parallel --exclude-tag=channels --exclude-tag=two-browser + - python manage.py test functional_tests --tag=two-browser - python manage.py test functional_tests --tag=channels when: - event: push diff --git a/src/functional_tests/test_sharing.py b/src/functional_tests/test_sharing.py index 0e31a78..98bc7eb 100644 --- a/src/functional_tests/test_sharing.py +++ b/src/functional_tests/test_sharing.py @@ -1,6 +1,7 @@ import os from django.conf import settings +from django.test import tag from selenium import webdriver from selenium.webdriver.common.by import By @@ -19,6 +20,7 @@ def quit_if_possible(browser): # Test mdls class SharingTest(FunctionalTest): + @tag("two-browser") def test_can_share_a_note_with_another_user(self): self.create_pre_authenticated_session("disco@test.io") disco_browser = self.browser