Commit Graph

82 Commits

Author SHA1 Message Date
Sarah Jamie Lewis cfa8a5f932 Upgrade Deps 2023-06-14 13:46:47 -07:00
Sarah Jamie Lewis 42209fe0cf Flutter Downgrade Gherkin 2023-06-14 13:41:45 -07:00
Sarah Jamie Lewis 9e89cc0d89 Upgrade Deps 2023-05-15 14:10:10 -07:00
Sarah Jamie Lewis 079b62e863 downgrade image 2023-01-31 19:19:44 -08:00
Sarah Jamie Lewis cdcdec9915 Resize Screenshot 2023-01-31 19:10:46 -08:00
Sarah Jamie Lewis 94b6d96468 Support Flutter 3, Fix Screenshots on Linux, Temp Fix for DropDowns, Have Contains Text actually search for wdigets Containing Text 2023-01-31 11:29:17 -08:00
Jon 7ee9f801d1 - Fix #231 - using local coordinate system when taking a screenshot on Android (thanks to @youssef-t for the solution)
- Fix #216 - ensure step exceptions and `expect` failure results are added as errors to the json report
  - Scenarios can now have descriptions which also appear in the json reporter output
2022-07-01 13:25:36 +10:00
Jon 66919d6539 fix(#237): remove reference to dart:html and gaurd stdout function so library works on web 2022-06-28 09:04:01 +10:00
Jon 551a4fc34c chore(lints): fixed linting and improved code quality
fix(reporters): fixed summary reporter being called after each feature
2022-06-20 11:46:48 +10:00
Jon 0961916daa feat(config): re-worked configuration so it can stay mostly immutable
- Fix #195: Adding missing export for `wait_until_key_exists_step.dart`
- Fix #226: Allow compatibility with dev and master flutter branches
- Feat #218: Allow retry steps in case of intermittent failure by setting the configuration properties `stepMaxRetries` & `retryDelay`
- Fix #210 & #191: Ability to take screenshots on web
- Fix #198: Allow the use of implicit pumpAndSettle methods in the app driver to be turned off using the configuration property `waitImplicitlyAfterAction`
2022-06-17 16:25:39 +10:00
Bart Vermeulen 5c15f0c2c0 Started on the dart_gherkin 3.0 conversion 2022-06-15 18:22:37 +02:00
Jon Samwell c7281d692a chore(libs): updated to latest dart_gherkin release 2021-11-24 07:17:17 +11:00
Jon Samwell 29eeb73f39 - Fix: #165: Empty .feature files causing void functions which get compiled out at runtime and cause errors
- Fix: #162: Incorrect feature name in HTML reports - many thanks to @AFASbart for suggesting the cause and fix.
- Fix: #159: Swipe step is not working due to bad '??' statement
- Fix: #155: Ensure stdout reporter only add ascii colour code when the target supports it
2021-11-10 11:14:17 +11:00
Jon Samwell 2db755d23b - BREAKING CHANGE: Made `appMainFunction` return a `Future<void>` so it can be async
- Fix: #159: Swipe step not working
- Ensure Hook.onBeforeRun is called before the run starts
- Set Frame policy- defaults to `LiveTestWidgetsFlutterBindingFramePolicy.benchmarkLive` to slightly improve performance
2021-10-27 20:13:49 +11:00
Jon Samwell 3c0e1c6270 fix(runner): Ensure scenario support files (world etc) as always disposed ensure when test throws error 2021-09-16 11:37:16 +10:00
Jon Samwell 0f99f0f343 fix(#150 #141 #128): fixed handling of json in multiline string and improved and added example of generating html report 2021-09-15 14:32:48 +10:00
Jon Samwell a9e8607f98 chore(libs): updated to latest dart_gherkin 2021-06-21 08:49:26 +10:00
Jon Samwell cfb9febe66 chore(dependencies): updates to pubspec to allow alpha release 2021-05-25 17:10:34 +10:00
Jon Samwell a2dd3213b0 chore(null-safety): more fixes
fix(adapters): fixed an issue with the pumpAndSettle method
2021-05-25 16:59:51 +10:00
Jon Samwell a90f9fb223 feat(null-satefy): more lib version tweaks 2021-05-01 15:02:44 +10:00
Jon Samwell 31bf38cef1 feat(null-safety): first pass of null safety 2021-05-01 13:56:17 +10:00
Jon Samwell 5f0201101e fix(steps): ensure app is pumped after step actions 2021-02-10 11:35:52 +11:00
Jon Samwell d4c43aa0a3 feat(expressions): now evaluating tag expressions before running a scenario 2021-01-14 10:02:46 +11:00
Jon Samwell c4cd66ef1b feat(integration_test): added much better example app that resets state before each test 2021-01-11 16:26:11 +11:00
Jon Samwell b75ce7ba81 feat(reporters): got the json reporter working and results saving 2021-01-09 12:46:56 +11:00
Jon Samwell 6c6d76c40f chore(lint): fixes 2021-01-08 17:21:50 +11:00
Jon Samwell cf8d28d63e feat(integration_test): more progress with reporting 2021-01-08 17:20:30 +11:00
Jon Samwell 7dc4408f62 feat(dependencies): added in calls to reporters and hooks 2021-01-08 12:32:42 +11:00
Jon Samwell 9ba3ced69a chore(libs): referencing the update dart_gherkin branch 2021-01-07 17:38:07 +11:00
Jon Samwell 6d474d483a feat(integration_test): first pass of code generation and gherkin tests running using the integration_test library 2021-01-07 17:30:59 +11:00
Jon Samwell 07f16dc962 test(config): fixed tests 2021-01-07 14:28:26 +11:00
Jon Samwell f1fb2d4a63 feat(integration_test): add a WidgetTester app driver adapter 2021-01-07 14:14:16 +11:00
Jon Samwell 7ba52462c5 feat(integration_test): added concept of an app driver adapter putting a facade over the Flutter driver and WidgetTester so driving the app becomes agnostic of implementation 2021-01-07 12:43:26 +11:00
Jon Samwell 4b0ef616b4 * Fixes #93 & #92 - Error waiting for no transient callbacks from Flutter driver
* Added option to leave Flutter app under test running when the tests finish see `keepAppRunningAfterTests` configuration property
* Added the ability to have multiple example blocks with tags per scenario outline
2020-11-24 15:50:03 +11:00
Jon Samwell be85bc670a chore(lint): formating and changelog updates 2020-09-20 14:12:16 +10:00
Jon Samwell cc1196b2e2 feat(utils): added well know step and driver helper method to long press a widget 2020-08-11 10:20:31 +10:00
Jon Samwell 26dc2e4463 chore(lib): updated to latest gherkin library 2020-08-05 09:41:58 +10:00
Jon Samwell ee6a57c96f chore(lib): updated release to expose all steps 2020-08-03 16:28:25 +10:00
Jon Samwell 91a065e362 fix(#76): fixed issue with tap back button step 2020-07-26 12:25:22 +10:00
Jon Samwell 9ba831a695 feat(steps): update lib to use new step function syntax 2020-07-19 11:28:52 +10:00
Jon Samwell aad6af0ab1 fix(driver): fixed issue where the connection attempt of Flutter driver to a running app would not retry before throwing a connection error
feat(config): added a before `onBeforeFlutterDriverConnect` and after `onAfterFlutterDriverConnect` driver connection method property to the test configuration `FlutterTestConfiguration` to enable custom logic before and after a driver connection attempt.
2020-05-11 12:20:35 +10:00
Jon Samwell 2205ce1215 chore(lib): updated gherkin lib 2020-05-10 10:50:10 +10:00
Jon Samwell f0f061b6d8 feat(flutter): update to work with latest Flutter stable release
fix(spelling): fixed various spelling errors
fix(lint): fixed lint errors
2020-05-08 09:36:55 +10:00
Jon Samwell ba28cc8f30 feat(debug): added ability to run tests against an already running app 2020-03-25 11:40:42 +11:00
Jon Samwell a3bebfdedc chore(lib): update to latest gherkin version
fix(steps): ensure element is scroll into view in the well known tap step
2020-03-04 19:20:52 +11:00
Jon Samwell e4270dcd44 chore(libs): update Gherkin lib 2020-02-03 15:48:47 +11:00
Jon Samwell 70c6eec25f fix(process): updated no devices check
fix(process): update check to determine if the app is ready if flutter process has verbose output on
2020-01-31 18:38:24 +11:00
Jon Samwell 4f8abe8853 chore(libs): updated gherkin version 2020-01-14 09:45:36 +11:00
Jon Samwell d385c5a8ac chore(lib): updated gherkin lib
fix(steps): updated steps to use non-capturing regex pattern groups when possible
2020-01-13 11:49:11 +11:00
Jon Samwell a8f294b034 chore(lib): updated gherkin lib 2020-01-10 10:40:11 +11:00