mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-09 05:05:29 +00:00
* 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
26 lines
1.6 KiB
Python
26 lines
1.6 KiB
Python
""" MAC """
|
|
# Open Files Dialog
|
|
mainWindow = {"AXRole": "AXWindow", "AXMain": True}
|
|
openFileDialog = {"container": mainWindow, "AXRole": "AXSheet", "AXIdentifier": "open-panel"}
|
|
openButton = {"container": openFileDialog, "AXRole": "AXButton", "AXIdentifier": "OKButton"}
|
|
|
|
# Go To Dialog
|
|
goToDialog = {"container": openFileDialog, "AXRole": "AXSheet", "AXIdentifier": "GoToWindow"}
|
|
pathTextField = {"container": goToDialog, "AXRole": "AXTextField", "AXIdentifier": "PathTextField"}
|
|
|
|
""" WINDOWS """
|
|
# Open File Dialog
|
|
file_Dialog = {"type": "Dialog"}
|
|
choose_file_Edit = {"container": file_Dialog, "type": "Edit"}
|
|
choose_Open_Button = {"container": file_Dialog, "text": "Open", "type": "Button"}
|
|
|
|
""" LINUX """
|
|
# Open File Dialog
|
|
# Select Image Dialog
|
|
please_choose_an_image_QQuickWindow = {"type": "QQuickWindow", "unnamed": 1, "visible": True}
|
|
please_choose_an_image_Open_Button = {"container": please_choose_an_image_QQuickWindow, "id": "okButton", "type": "Button", "unnamed": 1, "visible": True}
|
|
please_choose_an_image_titleBar_ToolBar = {"container": please_choose_an_image_QQuickWindow, "id": "titleBar", "type": "ToolBar", "unnamed": 1, "visible": True}
|
|
titleBar_textInput_TextInputWithHandles = {"container": please_choose_an_image_QQuickWindow, "echoMode": 0, "id": "textInput", "type": "TextInputWithHandles", "unnamed": 1, "visible": True}
|
|
view_listView_ListView = {"container": please_choose_an_image_QQuickWindow, "id": "listView", "type": "ListView", "unnamed": 1, "visible": True}
|
|
rowitem_Text = {"container": view_listView_ListView, "type": "Text", "unnamed": 1, "visible": True}
|