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 @@ -8,14 +8,16 @@ class FindElementModel {
88
99 factory FindElementModel .fromJson (Map <String , dynamic > json) =>
1010 FindElementModel (
11- strategy: json['strategy' ] as String ,
12- selector: json['selector' ] as String ,
11+ strategy: ( json['strategy' ] ?? json[ 'using' ]) as String ,
12+ selector: ( json['selector' ] ?? json[ 'value' ]) as String ,
1313 context: json['context' ] as String ? ,
1414 );
1515
1616 Map <String , dynamic > toJson () => < String , dynamic > {
1717 'strategy' : strategy,
1818 'selector' : selector,
19+ "using" : strategy,
20+ "value" : selector,
1921 'context' : context,
2022 };
2123}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'package:package_info_plus/package_info_plus.dart';
1111const MAX_TEST_DURATION_SECS = 24 * 60 * 60 ;
1212// Need a better way to fetch this for automated release, this needs to be updated along with version bump
1313// Can stay for now as it is not a breaking change
14- const serverVersion = '0.0.19 ' ;
14+ const serverVersion = '0.0.20 ' ;
1515
1616void initializeTest ({Widget ? app, Function ? callback}) async {
1717 IntegrationTestWidgetsFlutterBinding binding =
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.19
3+ version : 0.0.20
44homepage : " https://github.com/AppiumTestDistribution/appium-flutter-server"
55
66environment :
You can’t perform that action at this time.
0 commit comments