Project

General

Profile

action #132656 » t03_plasma5_breeze_twilight_theme.py

NoF3X, 2023-07-13 13:21

 
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-twilight-click-external-viev')
assert_and_click('plasma5_breeze-twilight-click-breeze-theme')
assert_and_click('plasma5_breeze-twilight-click-breeze-theme-apply')
time.sleep(10)
assert_and_click('plasma5_breeze-twilight-click-application-design')
assert_screen('plasma5_breeze-twilight-check-application-design')
assert_and_click('plasma5_breeze-twilight-click-desktop-theme')
assert_screen('plasma5_breeze-twilight-check-desktop-theme-breeze')
assert_and_click('plasma5_breeze-twilight-click-window-theme-breeze')
assert_screen('plasma5_breeze-twilight-check-window-theme-breeze')
assert_and_click('close-settings')
mouse_click('right')
assert_screen('plasma5_breeze-twilight-check-context-menu')
assert_and_dclick('plasma5_breeze-twilight-click-applycation-menu')
assert_screen('plasma5_breeze-twilight-check-applycation-menu')
x11_start_program('discover')
assert_screen('plasma5_breeze-twilight-check-discover')
assert_and_click('close-discover')
def test_flags(self):
return {'fatal': 1}
(4-4/4)