|
from testapi import *
|
|
import sys
|
|
sys.path.insert(1, '/var/lib/openqa/tests/openqa-os-autoinst-distri-altlinux/lib/')
|
|
from altdistribution import *
|
|
from altutils import *
|
|
from sudo import *
|
|
from tty_console import *
|
|
from virtual_console import *
|
|
from x11_console import *
|
|
import time
|
|
|
|
def run(self):
|
|
x11_start_program('systemsettings')
|
|
assert_and_click('plasma5_breeze-click-external-viev')
|
|
assert_and_click('plasma5_breeze-click-breeze-theme')
|
|
assert_and_click('plasma5_breeze-click-breeze-theme-apply')
|
|
time.sleep(10)
|
|
assert_and_click('plasma5_breeze-click-application-design-breeze')
|
|
assert_screen('plasma5_breeze-check-application-design-breeze')
|
|
assert_and_click('plasma5_breeze-click-desktop-theme')
|
|
assert_screen('plasma5_breeze-check-desktop-theme-breeze')
|
|
assert_and_click('plasma5_breeze-click-window-theme-breeze')
|
|
assert_screen('plasma5_breeze-check-window-theme-breeze')
|
|
assert_and_click('close-settings')
|
|
|
|
mouse_click('right')
|
|
assert_screen('plasma5_breeze-check-context-menu')
|
|
assert_and_dclick('plasma5_breeze-click-applycation-menu')
|
|
assert_screen('plasma5_breeze-check-applycation-menu')
|
|
x11_start_program('discover')
|
|
assert_screen('plasma5_breeze-check-discover')
|
|
assert_and_click('close-discover')
|
|
|
|
|
|
def test_flags(self):
|
|
return {'fatal': 1}
|