TF-4404 Add e2e test for Mail to attendees action on mobile

This commit is contained in:
dab246
2026-03-25 11:09:31 +07:00
committed by Dat H. Pham
parent 6a245f228a
commit b97abfbf69
7 changed files with 168 additions and 66 deletions
@@ -24,6 +24,8 @@ enum EventActionType {
}
}
Key getKeyButton() => Key('${name}_event_action_button');
String getToastMessageSuccess(BuildContext context) {
switch(this) {
case EventActionType.yes:
@@ -40,6 +40,7 @@ class CalendarEventActionButtonWidget extends StatelessWidget {
.map((action) => AbsorbPointer(
absorbing: _getCallbackFunction(action) == null,
child: TMailButtonWidget(
key: action.getKeyButton(),
text: action.getLabelButton(context),
backgroundColor: _getButtonBackgroundColor(action),
borderRadius: CalendarEventActionButtonWidgetStyles.borderRadius,