mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-28 23:35:13 +00:00
b09504be36
* test(pytest) The driver methods added. Wrappers for UI elements added. #67 * test(pytest) Squishserver added #68 * test(pytest) Attach/Detach AUT methods added #69 * test(pytest) Main window handler added #70 * test(pytest) Save screenshot on fail added #71 * test(pytest) Wait for squishserver added #71 * test(pytest) Setup Windows #71 * Generate new keys (#11804) * test(pytest) Image comparison methods added #76 * test(pytest) Tesseract methods added #77 * test(pytest) The Methods to search color on image added #80 * test(onboarding) Test on generation new keys added #75 * test(pytest) Handlers for OS Native File dialog added #81 * test(Onboarding) Test on Profile image added #83 * Allure and TestRail integration (#11806) * test(Allure) Steps descriptions added #72 * test(TestRail) Integration #72
22 lines
738 B
Python
22 lines
738 B
Python
import allure
|
|
|
|
from gui.components.base_popup import BasePopup
|
|
from gui.elements.qt.button import Button
|
|
from gui.elements.qt.check_box import CheckBox
|
|
|
|
|
|
class WelcomeStatusPopup(BasePopup):
|
|
|
|
def __init__(self):
|
|
self._agree_to_use_checkbox = CheckBox('agreeToUse_StatusCheckBox')
|
|
self._ready_to_use_checkbox = CheckBox('readyToUse_StatusCheckBox')
|
|
self._ready_to_use_button = Button('i_m_ready_to_use_Status_Desktop_Beta_StatusButton')
|
|
super(WelcomeStatusPopup, self).__init__()
|
|
|
|
@allure.step('Confirm all')
|
|
def confirm(self):
|
|
self._agree_to_use_checkbox.set(True)
|
|
self._ready_to_use_checkbox.set(True)
|
|
self._ready_to_use_button.click()
|
|
self.wait_until_hidden()
|