TF-4370 Add E2E test for test case create new a tag

This commit is contained in:
dab246
2026-03-12 10:39:15 +07:00
committed by Dat H. Pham
parent 7df25c5f5a
commit 0f9ea3c778
7 changed files with 70 additions and 4 deletions
@@ -281,6 +281,7 @@ class _CreateNewLabelModalState extends State<CreateNewLabelModal> {
valueListenable: _labelNameErrorTextNotifier,
builder: (_, errorText, __) {
return LabelInputFieldBuilder(
key: const Key('label_name_input_field'),
label: appLocalizations.labelName,
hintText: appLocalizations
.pleaseEnterNameYourNewLabel,
@@ -309,6 +310,7 @@ class _CreateNewLabelModalState extends State<CreateNewLabelModal> {
Widget _buildLabelDescriptionInputField(AppLocalizations appLocalizations) {
return LabelInputFieldBuilder(
key: const Key('label_description_input_field'),
label: appLocalizations.labelDescription,
hintText: appLocalizations.labelDescriptionHintText,
textEditingController: _descriptionInputController,
@@ -35,6 +35,7 @@ class LabelsBarWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
Widget addNewLabelIcon = TMailButtonWidget.fromIcon(
key: const Key('labels_bar_widget_add_new_label_button'),
icon: imagePaths.icAddNewFolder,
backgroundColor: Colors.transparent,
iconColor: AppColor.steelGrayA540,