mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
02ad676fdc
* Test(Community) Create, edit community #90 * Test(Community) Create, Edit and Delete Channel #93 * Test(Fix) System dialog for local build fixed on Mac #95 * Test(Fix) Typo #93
17 lines
375 B
Python
17 lines
375 B
Python
import allure
|
|
|
|
from gui.components.base_popup import BasePopup
|
|
from gui.elements.qt.button import Button
|
|
|
|
|
|
class DeletePopup(BasePopup):
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
self._delete_button = Button('delete_StatusButton')
|
|
|
|
@allure.step("Delete entity")
|
|
def delete(self):
|
|
self._delete_button.click()
|
|
self.wait_until_hidden()
|