File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
py/test/selenium/webdriver/common Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 15
15
from selenium .webdriver .common .html5 .application_cache import ApplicationCache
16
16
17
17
import unittest
18
+ import pytest
18
19
19
20
class AppCacheTests (unittest .TestCase ):
20
21
22
+ @pytest .mark .ignore_firefox
21
23
def testWeCanGetTheStatusOfTheAppCache (self ):
22
24
self ._loadPage ('html5Page' )
23
25
self .driver .implicitly_wait (2 )
24
26
app_cache = self .driver .application_cache
25
27
26
- status = app_cache .status
28
+ status = app_cache .status
27
29
while status == ApplicationCache .DOWNLOADING :
28
30
status = app_cache .status
29
31
30
32
self .assertEquals (ApplicationCache .UNCACHED , app_cache .status )
31
-
33
+
32
34
33
35
def _pageURL (self , name ):
34
36
return "http://localhost:%d/%s.html" % (self .webserver .port , name )
Original file line number Diff line number Diff line change 15
15
16
16
17
17
import unittest
18
+ import pytest
19
+
18
20
19
21
class ConnectionTests (unittest .TestCase ):
20
22
23
+ @pytest .mark .ignore_firefox
21
24
def testWeCanSeeTheBrowserIsOnline (self ):
22
25
self ._loadPage ('html5Page' )
23
26
self .assertTrue (self .driver .is_online ())
You can’t perform that action at this time.
0 commit comments