File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import 'package:package_info_plus/package_info_plus.dart';
1010const MAX_TEST_DURATION_SECS = 24 * 60 * 60 ;
1111// Need a better way to fetch this for automated release, this needs to be updated along with version bump
1212// Can stay for now as it is not a breaking change
13- const serverVersion = '0.0.23 ' ;
13+ const serverVersion = '0.0.24 ' ;
1414
1515void initializeTest ({Widget ? app, Function ? callback}) async {
1616 IntegrationTestWidgetsFlutterBinding binding =
Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ class ElementHelper {
163163 }
164164
165165 static Future <String > getText (FlutterElement element) async {
166- String getElementTextRecursively (Element element, {Set <Element >? visited}) {
167- visited ?? = < Element > {};
166+ String getElementTextRecursively (dynamic element, {Set <dynamic >? visited}) {
167+ visited ?? = < dynamic > {};
168168
169169 if (visited.contains (element)) {
170170 return '' ;
@@ -185,6 +185,8 @@ class ElementHelper {
185185 buffer.write (widget.controller.text);
186186 } else if (widget is TextField ) {
187187 buffer.write (widget.controller? .value.text);
188+ } else if (widget is ButtonStyleButton ) {
189+ buffer.write (getElementTextRecursively (widget.child, visited: visited));
188190 }
189191
190192 if (element is RenderObjectElement ) {
Original file line number Diff line number Diff line change 11name : appium_flutter_server
22description : " Appium Flutter server using Integration Test package for testing Flutter apps with Appium"
3- version : 0.0.23
3+ version : 0.0.24
44homepage : " https://github.com/AppiumTestDistribution/appium-flutter-server"
55
66environment :
You can’t perform that action at this time.
0 commit comments