mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 13:32:22 +00:00
16 lines
401 B
Python
16 lines
401 B
Python
import allure
|
|
|
|
from gui.components.base_popup import BasePopup
|
|
from gui.elements.button import Button
|
|
from gui.objects_map import communities_names
|
|
|
|
|
|
class LeaveCommunityConfirmationPopup(BasePopup):
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.leave_button = Button(communities_names.leaveCommunityContextMenuItem)
|
|
|
|
def confirm_action(self):
|
|
self.leave_button.click()
|
|
|