Commit Graph

277 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 bc846ee4df Add wait for text to be absent 2023-02-08 14:59:22 -08:00
Sarah Jamie Lewis f20a14f3d8 Formatting + Dropdown Widgets 2023-02-08 14:55:24 -08:00
Sarah Jamie Lewis 9b817676e4 debug 2023-01-31 20:24:33 -08:00
Sarah Jamie Lewis 46b9efda9f Increase Size 2023-01-31 19:25:14 -08:00
Sarah Jamie Lewis 1f0f798d5f Fix return 2023-01-31 19:22:12 -08:00
Sarah Jamie Lewis 079b62e863 downgrade image 2023-01-31 19:19:44 -08:00
Sarah Jamie Lewis 62793908a7 resize 2023-01-31 19:13:57 -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 Samwell 8f34c8221a
Merge pull request #279 from jonsamwell/test-compatibility
Make it possible to run the tests with flutter test instead of flutter drive.
2022-12-27 10:10:28 +11:00
Bart Vermeulen e8c874f0c0
Update lib/src/flutter/code_generation/generators/gherkin_suite_test_generator.dart
Co-authored-by: August Oberhauser <86839043+golane-august@users.noreply.github.com>
2022-12-24 21:03:49 +01:00
Bart Vermeulen b7c50bde9f
Update lib/src/flutter/code_generation/generators/gherkin_suite_test_generator.dart
Co-authored-by: August Oberhauser <86839043+golane-august@users.noreply.github.com>
2022-12-24 21:03:39 +01:00
Bart Vermeulen 9af4256dd7 Forgot to delete 3 lines from my own project 2022-12-07 20:16:55 +01:00
Bart Vermeulen 2ac54f0f31 Updated README 2022-12-07 19:59:44 +01:00
Bart Vermeulen f42a15d482 Added the possibility to use flutter test instead of flutter drive 2022-12-07 19:55:11 +01:00
Jon Samwell 7c8be5f60e
Merge pull request #273 from lsuhov/integration_test__package_support
Change scroll code to make it working also for AnimatedList
2022-10-28 15:54:59 +11:00
lsuhov a16595d8c4
Change scroll code to make it working also for AnimatedList
AnimatedList is not subclassing from ScrollView, and the seen behaviour was that nativeDriver.state was trying to ensure that a single state is available which is not true for AnimatedList. Regression test was performed on ListView.
2022-10-27 11:43:19 +03:00
Jon eff82509c7 - Fix #257 - fixed issue when generating a step with a '$' sign in
- Fix #256 - Ensure all exceptions generated when running a step are logged
  - Fix #253 - Ensure features with descriptions that span more than one line are parsed correctly
  - Fix #252 - Ensure all async code is awaited
  - When taking a screenshot on the web use the render element rather than relying on native code that does not work
2022-07-25 17:08:05 +10:00
Jon Samwell 4378a2447d
Merge pull request #244 from robert-virkus/integration_test__package_support
feat: add standard configuration for web
2022-07-12 15:51:09 +10:00
Jon Samwell c80557e291
Merge pull request #246 from youssef-t/integration_test__package_support
- Fix #245 - removing the redundant escaping
2022-07-12 15:50:39 +10:00
Jon Samwell a29dc02ddd
Merge pull request #250 from huylg/integration_test__package_support
--keep-app-running is no more avaliable
2022-07-12 15:50:05 +10:00
huy 8ae1e47fc7 --keep-app-running is no more avaliable 2022-07-12 12:44:03 +07:00
youssef-t be29f5af45 Fix redundant escaping 2022-07-06 17:38:42 +02:00
Robert Virkus ce1edacf59 feat: add standard configuration for web
This eases running tests on Flutter web #243
2022-07-06 09:42:25 +02: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 b73da409b3 fix(#231): Exposed `frameBindingPolicy` on the test runner when running tests which can affect how frames are painted and the speed of the test run, I've removed the default value which might be responsible for #231 2022-06-29 11:49:08 +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 9667db0df6 - Fix #235 - fix issue taking a screenshot on an Android device
- Resolved #170: Added example code to ensure json report is save to disk even when the test run fails. Also added script to generate a HTML report from a JSON report
2022-06-27 12:39:31 +10:00
Jon 6736af335e fix(#222): escape single quotation marks in data tables 2022-06-24 14:14:11 +10:00
Jon 1f63ecc858 - Fix #231 - Removed the use of explicitly calling `pumpAndSettle` in the pre-defined steps in favour of the implicit `pumpAndSettle` calls used in the `WidgetTesterAppDriverAdapter`.
- Added ability to add a `appLifecyclePumpHandler` to override the default handler that determines how the app is pumped during lifecycle events.  Useful if your app has a long splash screen etc. Parameter is on `executeTestSuite`.
  - Added ability to ensure feature paths are relative when generating reports `useAbsolutePaths` on the `GherkinTestSuite` attribute

* BREAKING CHANGE: The parameters on `executeTestSuite` are now keyed to allow for the above changes
2022-06-24 12:26:45 +10:00
Jon 70f1c6c5a6 chore(docs): made changelog match pubspec version number 2022-06-23 13:42:05 +10:00
Jon b2a01abbb1 chore(version): ensure this branch is still published under a rc release 2022-06-23 13:40:18 +10:00
Jon 3d07f5b9f0 chore(lib): remove file that should not be checked in 2022-06-23 13:38:08 +10:00
Jon Samwell 1a1ff50685
Merge pull request #230 from jonsamwell/dart-3.0support
Dart_gherkin 3.0 conversion
2022-06-23 13:34:42 +10:00
Jon 56aa208b36 chore(docs): added configuration hint 2022-06-23 13:34:09 +10:00
Jon 2c5ba2a69e fix(app): pump and settle app after test to ensure finalisation can happen 2022-06-23 13:30:11 +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 c6b64cae2e
Merge pull request #221 from BartVerm779/integration_test__package_support
Fixed the max retries to at least have 1 try and a delay has been added
2022-05-06 20:46:33 +10:00
Bart Vermeulen 6339791e9c Fixed the max retries to at least have 1 try and a delay has been added 2022-05-04 08:59:10 +02:00
Jon Samwell 0229d5a3d7
Merge pull request #220 from BartVerm779/integration_test__package_support
Step retries, Scenario result and skipped steps.
2022-05-04 16:39:54 +10:00
Bart Vermeulen eb3827c369 Lint fixes 2022-05-04 08:38:02 +02:00
Bart Vermeulen c9c01f8ae9 Merge remote-tracking branch 'origin/integration_test__package_support' into integration_test__package_support 2022-05-03 20:15:13 +02:00
Bart Vermeulen b521a3ff7f Revert "Added path support"
This reverts commit 434db8405c.
2022-05-03 20:14:53 +02:00
Bart Vermeulen 06bbd80a84
Update pubspec.yaml 2022-05-03 20:04:16 +02:00
Bart Vermeulen 684ce1f791
Update pubspec.lock 2022-05-03 20:03:37 +02:00