Skip to content

Commit 243416c

Browse files
authored
Merge pull request #10 from sncf-connect-tech/9-screenshot_work_fail_only
Resolves #9 Screenshot works only on test failure
2 parents 451f943 + 025993f commit 243416c

28 files changed

+274
-242
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ migrate_working_dir/
2828
.dart_tool/
2929
.packages
3030
build/
31+
/example/widget_tests_report_folder/
32+
/example/junit-report.xml

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273273
GCC_WARN_UNUSED_FUNCTION = YES;
274274
GCC_WARN_UNUSED_VARIABLE = YES;
275-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
275+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
276276
MTL_ENABLE_DEBUG_INFO = NO;
277277
SDKROOT = iphoneos;
278278
SUPPORTED_PLATFORMS = iphoneos;
@@ -349,7 +349,7 @@
349349
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
350350
GCC_WARN_UNUSED_FUNCTION = YES;
351351
GCC_WARN_UNUSED_VARIABLE = YES;
352-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
352+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
353353
MTL_ENABLE_DEBUG_INFO = YES;
354354
ONLY_ACTIVE_ARCH = YES;
355355
SDKROOT = iphoneos;
@@ -398,7 +398,7 @@
398398
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
399399
GCC_WARN_UNUSED_FUNCTION = YES;
400400
GCC_WARN_UNUSED_VARIABLE = YES;
401-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
401+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
402402
MTL_ENABLE_DEBUG_INFO = NO;
403403
SDKROOT = iphoneos;
404404
SUPPORTED_PLATFORMS = iphoneos;

example/junit-report.xml

Lines changed: 0 additions & 47 deletions
This file was deleted.

example/lib/main.dart

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MyApp extends StatelessWidget {
1414
title: 'Flutter Demo',
1515
debugShowCheckedModeBanner: false,
1616
theme: ThemeData(
17-
fontFamily: "Lato",
17+
fontFamily: 'Lato',
1818
// This is the theme of your application.
1919
//
2020
// Try running your application with "flutter run". You'll see the
@@ -97,6 +97,9 @@ class _MyHomePageState extends State<MyHomePage> {
9797
// horizontal).
9898
mainAxisAlignment: MainAxisAlignment.center,
9999
children: <Widget>[
100+
TextField(controller: TextEditingController(text: 'My text field')),
101+
Checkbox(value: true, onChanged: (value) {}),
102+
Switch(value: true, onChanged: (value){}),
100103
const Text(
101104
'You have pushed the button this many times:',
102105
),
@@ -107,10 +110,10 @@ class _MyHomePageState extends State<MyHomePage> {
107110
],
108111
),
109112
),
110-
floatingActionButton: Semantics(
111-
child: FloatingActionButton(
112-
onPressed: _incrementCounter,
113-
tooltip: 'Increment',
113+
floatingActionButton: FloatingActionButton(
114+
onPressed: _incrementCounter,
115+
child: Semantics(
116+
label: 'Increment',
114117
child: const Icon(Icons.add),
115118
),
116119
), // This trailing comma makes auto-formatting nicer for build methods.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//
2+
// Generated file. Do not edit.
3+
//
4+
5+
import FlutterMacOS
6+
import Foundation
7+
8+
9+
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
10+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// This is a generated file; do not edit or check into version control.
2+
FLUTTER_ROOT=/Users/katia_chiron/fvm/versions/3.3.9
3+
FLUTTER_APPLICATION_PATH=/Users/katia_chiron/dev/gherkin_widget_extension/example
4+
COCOAPODS_PARALLEL_CODE_SIGN=true
5+
FLUTTER_BUILD_DIR=build
6+
FLUTTER_BUILD_NAME=1.0.0
7+
FLUTTER_BUILD_NUMBER=1
8+
DART_OBFUSCATION=false
9+
TRACK_WIDGET_CREATION=true
10+
TREE_SHAKE_ICONS=false
11+
PACKAGE_CONFIG=.dart_tool/package_config.json
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
# This is a generated file; do not edit or check into version control.
3+
export "FLUTTER_ROOT=/Users/katia_chiron/fvm/versions/3.3.9"
4+
export "FLUTTER_APPLICATION_PATH=/Users/katia_chiron/dev/gherkin_widget_extension/example"
5+
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
6+
export "FLUTTER_BUILD_DIR=build"
7+
export "FLUTTER_BUILD_NAME=1.0.0"
8+
export "FLUTTER_BUILD_NUMBER=1"
9+
export "DART_OBFUSCATION=false"
10+
export "TRACK_WIDGET_CREATION=true"
11+
export "TREE_SHAKE_ICONS=false"
12+
export "PACKAGE_CONFIG=.dart_tool/package_config.json"

example/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ packages:
6868
name: flutter_lints
6969
url: "https://pub.dartlang.org"
7070
source: hosted
71-
version: "2.0.1"
71+
version: "2.0.2"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter
@@ -108,7 +108,7 @@ packages:
108108
name: logger
109109
url: "https://pub.dartlang.org"
110110
source: hosted
111-
version: "1.2.2"
111+
version: "1.4.0"
112112
matcher:
113113
dependency: transitive
114114
description:
@@ -143,7 +143,7 @@ packages:
143143
name: petitparser
144144
url: "https://pub.dartlang.org"
145145
source: hosted
146-
version: "5.0.0"
146+
version: "5.1.0"
147147
sky_engine:
148148
dependency: transitive
149149
description: flutter
@@ -206,5 +206,5 @@ packages:
206206
source: hosted
207207
version: "6.1.0"
208208
sdks:
209-
dart: ">=2.17.5 <3.0.0"
209+
dart: ">=2.18.0 <3.0.0"
210210
flutter: ">=1.17.0"

example/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ version: 1.0.0+1
1919

2020
environment:
2121
sdk: ">=2.17.5 <3.0.0"
22+
flutter: ">=1.17.0"
2223

2324
# Dependencies specify other packages that your package needs in order to work.
2425
# To automatically upgrade your package dependencies to the latest versions
@@ -38,7 +39,7 @@ dependencies:
3839
dev_dependencies:
3940
flutter_test:
4041
sdk: flutter
41-
glob: ^2.0.1
42+
glob: ^2.1.1
4243
gherkin: ^2.0.8
4344
gherkin_widget_extension:
4445
path: ../

0 commit comments

Comments
 (0)