Commit Graph

176 Commits

Author SHA1 Message Date
Jon Samwell 9ba831a695 feat(steps): update lib to use new step function syntax 2020-07-19 11:28:52 +10:00
Tim Shedor 72aa1cd59e dartfmt 2020-06-07 12:40:29 -07:00
Tim Shedor f97b5890d7 add new steps 2020-06-07 12:19:27 -07: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 83d4491e98 Merge branch 'master' of https://github.com/jonsamwell/flutter_gherkin 2020-05-08 09:39:15 +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
Tim Shedor 44ca44ce2e reverse arguments and expect on the presence step 2020-03-26 09:46:11 -07: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 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 af1a3c7ec8 chore(steps): added more options to element visible step 2020-01-17 10:58:02 +11:00
Jon Samwell 9d88ac1b7a chore(lint): formating 2020-01-14 10:28:46 +11:00
Jon Samwell 1807698b4b fix(steps): updated step regex 2020-01-14 09:49:38 +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 4032844f5a fix(steps): fixed issue with tap and present step regex 2020-01-13 09:37:13 +11:00
Jon Samwell 37b4054284 feat(step): added new well known step to test it an element is present 2020-01-11 18:54:07 +11:00
Jon Samwell a8f294b034 chore(lib): updated gherkin lib 2020-01-10 10:40:11 +11:00
Jon Samwell 77d3728507 fix(step): fixed tap back button step 2020-01-09 11:57:44 +11:00
Jon Samwell cf1f470d4e fix(step): fixed the tap back button regex 2020-01-09 11:52:28 +11:00
Jon Samwell 902c32b8ac fix(steps): added new back button step to the config and update test 2020-01-09 11:29:14 +11:00
Jon Samwell 7a69dcaedd feat(steps): Added new well known step `When I tap the back button` which finds and taps the default page back button 2020-01-09 11:19:41 +11:00
Jon Samwell 12d76c13f5 fix(driver): avoid unhandled exceptions when closing the driver 2020-01-08 15:53:18 +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 ff539c0a58 fix(driver): added retry logic to the Futter driver connect call to handle the seemingly random connection failures 2020-01-08 06:53:12 +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
Jon Samwell 109ef7a962 fix(world): ensured when the Flutter driver is closed it cannot throw an unhandled exception causing the test run the stop 2020-01-07 11:52:05 +11:00
Jon Samwell a345d01def fix(steps): `WhenFillFieldStep` Ensure widget is scrolled into view before setting it's value 2020-01-06 09:31:08 +11:00
Jon Samwell 67e50a2608 fix(process_handler): fixed lint warning 2019-12-19 12:10:17 +11:00
Jon Samwell e396af8758 fix(flutter): updated to the way flutter build warnings are handled and added message to indicate more than one attached device has been found so device id needs to be specified 2019-12-19 12:04:22 +11:00
Jon Samwell ac6e68525d chore(fmt): formatting 2019-12-18 20:56:36 +11:00
Jon Samwell be1a5280ee fix(reporters): removed test flutter driver reporter code 2019-12-18 20:54:48 +11:00
Jon Samwell c64bcec157 chore(example): migrate to AndroidX 2019-12-18 20:48:21 +11:00
Kevin Raddatz fbcc1a832d fix(screenshot_hook): typo in class name 2019-11-11 15:27:26 +01:00
Jon Samwell 592ccd0b7c feat(utils): added waitUntil util and updated docs 2019-09-27 09:18:44 +10:00
Jon Samwell eb24f3a056 fix(flutter): fixed null reference when null device id is set 2019-09-26 14:44:49 +10:00
Jon Samwell 58d53d7126 fix(flutter): setting verbose flag when invoking flutter command 2019-09-26 08:40:21 +10:00
Jon Samwell c0fa9c94d4 feat(flutter): added flag to set verbose flutter logs 2019-09-26 08:35:16 +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 26e1bfa258 feat(reporters): updated flutter driver reporter to have more fined grained control of what is logged 2019-09-24 09:58:36 +10:00
Jon Samwell a351866646 feat(reporters): added flutter driver reporter
chore(docs): updated readme and changelog
fix(world): added missing super class to flutter world dispose method
2019-09-24 09:49:00 +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 c92c11ae52 fix(flutter): only print to stderr when there is an error 2019-09-23 10:50:02 +10:00
Jon Samwell 42e440fb54 chore(lint): fixed formatting issue 2019-09-22 12:03:28 +10:00
Jon Samwell 04c52ad7fe chore(lint): fixed lint warnings 2019-09-22 12:01:23 +10:00
Jon Samwell 6df1a05251 feat(flutter): ensured flutter build warnings are not writted to stderr and cause test run to fail 2019-09-22 11:57:38 +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 98c956bc18 fix(lint): removed invalid override decorator 2019-06-05 12:06:42 +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 9a26eaf015 refactor consistency 2019-05-24 20:06:03 +07:00
Iqbal b6a6f99d40 fix flavor 2019-05-24 16:48:00 +07: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 14eb8e1ab7 docs(changelog): updated with latest PR functionality
chore(lint): ran linter and formatter
2019-03-07 22:02:25 +11:00
Christer 1dd9bd856d added StepStartedMessage with table data, for reporters to use. 2019-03-07 09:08:43 +01:00
Jon Samwell 6e82b95d09 chore(lint): fixed package lint errors 2019-02-06 14:23:28 +11:00
Jon Samwell 2aa36b5aa1 chore(linting): update code to pass stricter linting rules 2019-02-06 13:25:19 +11:00
Jon Samwell 2ccdb80a29 chore(formatting): ran formatter 2019-02-06 12:09:07 +11:00
Jon Samwell fc5e7b8832 feat(hooks): added test for new world created hook
feat(parameters): added test for missing table parameter
2019-02-06 12:08:30 +11:00
Jon Samwell 0ecaeb5bb6
Merge pull request #5 from kev52/patch-1
Fixes issues with missing table parameters
2019-02-06 11:41:28 +11:00
dustin dd66e314f4 Add hook callback for accessing World inside of a hook implementation 2019-02-02 10:58:32 -07:00
kev52 3c0657984b
Update feature_file_runner.dart 2019-01-20 17:25:13 +01:00
Jon Samwell 6241b9720a fix(steps): ensured well known flutter test action timeout duration is shorter then the step timeout duration
fix(reporter): ensured summary reporter reports failure reason
2018-11-01 19:11:33 +11:00
Jon Samwell 8e425e2755 feat(reporter): add a test run summary reporter
fix(example): fixed up glob pattern in example
2018-11-01 09:33:26 +11:00
Jon Samwell 49c05b072a chore(formating): formating 2018-10-29 17:04:28 +11:00
Jon Samwell 9d9aa6c7c5 test(config): Added more tests around `FlutterTestConfiguration` to ensure pre-defined steps are always added 2018-10-29 16:44:09 +11:00
Jon Samwell afb6677eff feat(steps): add more pre-defined steps and more Flutter driver utility methods 2018-10-29 16:29:11 +11:00
Jon Samwell 5405f20262 chore(formatting): ran formatted 2018-10-29 13:53:17 +11:00
Jon Samwell 508f40cc80 feat(reporters): add progress reporter 2018-10-29 13:52:29 +11:00
Jon Samwell 03ca8d5f09 docs(example): updates to example project 2018-10-29 11:43:03 +11:00
Jon Samwell baba62abfe docs(updates): updated readme 2018-10-28 09:58:14 +11:00
Jon Samwell 23055b4092 initial commit 2018-10-26 21:09:22 +11:00