TF-4404 Add e2e test for Mail to attendees action on mobile
This commit is contained in:
@@ -24,6 +24,8 @@ enum EventActionType {
|
||||
}
|
||||
}
|
||||
|
||||
Key getKeyButton() => Key('${name}_event_action_button');
|
||||
|
||||
String getToastMessageSuccess(BuildContext context) {
|
||||
switch(this) {
|
||||
case EventActionType.yes:
|
||||
|
||||
+1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user