Add selector conditional in testZoomSpeedControls
Fixes downstream failure
This commit is contained in:
parent
e561f18f56
commit
2c16ca3e2f
1 changed files with 7 additions and 3 deletions
|
|
@ -296,10 +296,14 @@ class TestApplication(MachineCase):
|
||||||
b.wait_present(".pf-c-data-list:contains('authentication failure')")
|
b.wait_present(".pf-c-data-list:contains('authentication failure')")
|
||||||
|
|
||||||
def testZoomSpeedControls(self):
|
def testZoomSpeedControls(self):
|
||||||
|
b, m = self._login()
|
||||||
default_scale_sel = '.console-ct[style^="transform: scale(1)"]'
|
default_scale_sel = '.console-ct[style^="transform: scale(1)"]'
|
||||||
play_scale_sel = '.console-ct[style^="transform: scale(0.4"]'
|
if m.image.startswith('rhel') or m.image.startswith('centos'):
|
||||||
zoom_one_scale_sel = '.console-ct[style^="transform: scale(0.5"]'
|
play_scale_sel = '.console-ct[style^="transform: scale(0.3"]'
|
||||||
b, _ = self._login()
|
zoom_one_scale_sel = '.console-ct[style^="transform: scale(0.4"]'
|
||||||
|
else:
|
||||||
|
play_scale_sel = '.console-ct[style^="transform: scale(0.4"]'
|
||||||
|
zoom_one_scale_sel = '.console-ct[style^="transform: scale(0.5"]'
|
||||||
self._sel_rec('rec1')
|
self._sel_rec('rec1')
|
||||||
# set speed x16 and begin playing, expecting a size adjustment
|
# set speed x16 and begin playing, expecting a size adjustment
|
||||||
for _ in range(4):
|
for _ in range(4):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue