summaryrefslogtreecommitdiffstats
path: root/dom/media/test/external/external_media_tests/test_example.py
blob: 99782014f87f718ed6586bc820b9631c91edf1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from marionette_harness import Marionette

from external_media_harness.testcase import MediaTestCase


class TestSomethingElse(MediaTestCase):
    def setUp(self):
        MediaTestCase.setUp(self)
        self.test_urls = [
            'mozilla.html',
            ]
        self.test_urls = [self.marionette.absolute_url(t)
                          for t in self.test_urls]

    def tearDown(self):
        MediaTestCase.tearDown(self)

    def test_foo(self):
        self.logger.info('foo!')
        with self.marionette.using_context(Marionette.CONTEXT_CONTENT):
            self.marionette.navigate(self.test_urls[0])