Commit Graph

39 Commits

Author SHA1 Message Date
Sarah Jamie Lewis f20a14f3d8 Formatting + Dropdown Widgets 2023-02-08 14:55:24 -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
Bart Vermeulen 3772e89b9c The test case gets retried 3 times and the other steps will get skipped 2022-05-03 19:39:22 +02:00
Jon Samwell 359c800e54 chore(lint): various code liniting changes 2021-05-25 17:16:27 +10:00
Jon Samwell cfb9febe66 chore(dependencies): updates to pubspec to allow alpha release 2021-05-25 17:10:34 +10:00
Jon Samwell 31bf38cef1 feat(null-safety): first pass of null safety 2021-05-01 13:56:17 +10: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 c3070089c5 feat(project): re-organised project structure 2021-01-07 14:25:39 +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
Lucian Suhov 7c23382f18 Add build mode enum for debug and profile 2020-09-15 01:34:15 +03:00
Lucian Suhov d87a9b3092 Enable profile build mode 2020-09-14 01:21:05 +03:00
Jon Samwell 9ba831a695 feat(steps): update lib to use new step function syntax 2020-07-19 11:28:52 +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 32018a4cc8 fix(hook): ensured `AttachScreenshotOnFailedStepHook` cannot throw an unhandled exception causing the test run to stop 2020-01-08 09:14:35 +11:00
Jon Samwell 6fd30a6492 fix(driver): increased the Flutter driver reconnection delay to try and overcome some driver to app connection issues on slower machines 2020-01-07 17:02:13 +11:00
Kevin Raddatz fbcc1a832d fix(screenshot_hook): typo in class name 2019-11-11 15:27:26 +01:00
Jon Samwell 58d53d7126 fix(flutter): setting verbose flag when invoking flutter command 2019-09-26 08:40:21 +10:00
Jon Samwell 76e6a841e0 feat(flutter): added ability to change flutter build timeout and now logging flutter command run 2019-09-26 08:00:06 +10:00
Jon Samwell 04d57facb3 fix(lint): lint fixes 2019-09-23 14:00:07 +10:00
Jon Samwell 79c395a3e3 fix(driver): stop flutter driver logging to stderr 2019-09-23 13:57:37 +10:00
Jon Samwell cc25319171 chore(libs): updated to latest gherkin lib and updated example features, fixed await error 2019-09-20 08:54:18 +10:00
Jon Samwell 6db005658e feat(config): adding option to defined the working directory for the process that runs the app under test 2019-09-03 17:39:44 +10:00
Jon Samwell 5ea4e7ffe2 feat(utils): added ability to restart the app during a test 2019-08-21 11:38:07 +10:00
Jon Samwell 704b7f9cf2 feat(screenshots): added ability to include a pre-defined hook that attached screenshot to the world if a step fails 2019-06-21 08:14:51 +10:00
Jon Samwell fe20dd9cdc feat(runner): app is not hot reloaded to increase testing speed
feat(build): no-build and flavor options now work
chore(lib): upgraded to v1 of dart_gherkin
2019-06-05 11:00:41 +10:00
Iqbal 25f01cd47b add target device id arguments 2019-05-23 10:52:43 +07:00
Iqbal 5aa50920b4 init build flavor capability 2019-05-23 09:14:26 +07:00
Jon 2b904ab4e6 feat(gherkin): removed the Gherkin implementation and now rely on the abstracted gherkin library 'https://github.com/jonsamwell/dart_gherkin'
chore(docs): updated docs
2019-04-23 20:29:24 +10:00
Jon Samwell 2aa36b5aa1 chore(linting): update code to pass stricter linting rules 2019-02-06 13:25:19 +11:00
Jon Samwell 5405f20262 chore(formatting): ran formatted 2018-10-29 13:53:17 +11:00
Jon Samwell 03ca8d5f09 docs(example): updates to example project 2018-10-29 11:43:03 +11:00
Jon Samwell 23055b4092 initial commit 2018-10-26 21:09:22 +11:00