File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,16 @@ class FindElementModel {
8
8
9
9
factory FindElementModel .fromJson (Map <String , dynamic > json) =>
10
10
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 ,
13
13
context: json['context' ] as String ? ,
14
14
);
15
15
16
16
Map <String , dynamic > toJson () => < String , dynamic > {
17
17
'strategy' : strategy,
18
18
'selector' : selector,
19
+ "using" : strategy,
20
+ "value" : selector,
19
21
'context' : context,
20
22
};
21
23
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'package:package_info_plus/package_info_plus.dart';
11
11
const MAX_TEST_DURATION_SECS = 24 * 60 * 60 ;
12
12
// Need a better way to fetch this for automated release, this needs to be updated along with version bump
13
13
// Can stay for now as it is not a breaking change
14
- const serverVersion = '0.0.19 ' ;
14
+ const serverVersion = '0.0.20 ' ;
15
15
16
16
void initializeTest ({Widget ? app, Function ? callback}) async {
17
17
IntegrationTestWidgetsFlutterBinding binding =
Original file line number Diff line number Diff line change 1
1
name : appium_flutter_server
2
2
description : " Appium Flutter server using Integration Test package for testing Flutter apps with Appium"
3
- version : 0.0.19
3
+ version : 0.0.20
4
4
homepage : " https://github.com/AppiumTestDistribution/appium-flutter-server"
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments