pytest.mark.skip_selenium

Here are the examples of the python api pytest.mark.skip_selenium taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

6 Examples 7

Example 1

Project: fjord Source File: test_redirects.py
    @pytest.mark.skip_selenium
    @pytest.mark.nondestructive
    def test_root_without_locale_redirects_to_root_with_locale(self, mozwebqa):
        self._check_redirect(mozwebqa, '/', '/en-US/')

Example 2

Project: fjord Source File: test_redirects.py
    @pytest.mark.skip_selenium
    @pytest.mark.nondestructive
    def test_root_without_locale_redirects_to_root_with_german_locale(self, mozwebqa):
        self._check_redirect(mozwebqa, '/', '/de/', locale='de')

Example 3

Project: fjord Source File: test_redirects.py
    @pytest.mark.skip_selenium
    @pytest.mark.nondestructive
    def test_feedback_search_without_locale_redirects_to_feedback_search_with_locale(self, mozwebqa):
        self._check_redirect(mozwebqa, '/?sentiment=happy', '/en-US/?sentiment=happy')

Example 4

Project: fjord Source File: test_redirects.py
    @pytest.mark.skip_selenium
    @pytest.mark.nondestructive
    def test_feedback_without_locale(self, mozwebqa):
        self._check_redirect(mozwebqa, '/feedback', '/en-US/feedback')
        self._check_redirect(mozwebqa, '/feedback/', '/en-US/feedback/')

Example 5

Project: fjord Source File: test_redirects.py
    @pytest.mark.skip_selenium
    @pytest.mark.nondestructive
    def test_happy_backwards_compatibility(self, mozwebqa):
        self._check_redirect(mozwebqa, '/happy', '/en-US/feedback?happy=1')
        self._check_redirect(mozwebqa, '/happy/', '/en-US/feedback?happy=1')

Example 6

Project: fjord Source File: test_redirects.py
    @pytest.mark.skip_selenium
    @pytest.mark.nondestructive
    def test_sad_backwards_compatibility(self, mozwebqa):
        self._check_redirect(mozwebqa, '/sad', '/en-US/feedback?happy=0')
        self._check_redirect(mozwebqa, '/sad/', '/en-US/feedback?happy=0')