UNPKG

qape

Version:

Monkey testing library

243 lines (163 loc) 17.4 kB
### Changelog All notable changes to this project will be documented in this file. Dates are displayed in UTC. Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### [v0.10.2](https://github.com/seznam/QApe/compare/v0.10.1...v0.10.2) - Fix error with QApe failing to run properly when url ended with / [`022d7f9`](https://github.com/seznam/QApe/commit/022d7f90f97b10eaceb8b855f7e28a0a5a7daf1c) - Update dependencies [`e689ab5`](https://github.com/seznam/QApe/commit/e689ab5853f0acfdeb608a783b3687ec8e820ef1) #### [v0.10.1](https://github.com/seznam/QApe/compare/v0.10.0...v0.10.1) > 22 April 2022 - Test run should pass when Page crashed execution error occures (see #13) [`cf95402`](https://github.com/seznam/QApe/commit/cf95402f82c3f873d7c354c0bdb5756958bd6afb) - Make sure that docker image is always built for platform amd64 [`caa45c2`](https://github.com/seznam/QApe/commit/caa45c24e47e33e6f13d6722c0065b3d64f008be) #### [v0.10.0](https://github.com/seznam/QApe/compare/v0.9.0...v0.10.0) > 21 April 2022 - Fix documentation for before and after action scripts config [`#12`](https://github.com/seznam/QApe/pull/12) - Update to latest dependencies [`a1ea714`](https://github.com/seznam/QApe/commit/a1ea7141d1f3f7c4d7120390d093a45061c82c31) - Fix typo in config template for documentation purposes [`5d6dc1b`](https://github.com/seznam/QApe/commit/5d6dc1bb1bdc0b31597ad4b3036ce12d729fad99) - Fix hanging timer when tester instance exits [`6e2a6b8`](https://github.com/seznam/QApe/commit/6e2a6b8fe97fe3021b6646872a52372ae0773b88) - Add --report-path CLI option, which allows to specify report output path [`45b6c78`](https://github.com/seznam/QApe/commit/45b6c780b508c3f43bcab378e2a0b9a30478b194) #### [v0.9.0](https://github.com/seznam/QApe/compare/v0.8.0...v0.9.0) > 31 March 2021 - Fix element selector generator for svg and path [`#8`](https://github.com/seznam/QApe/pull/8) - Add wait for elements to be present in dom when running defined, or failing scenarios [`#9`](https://github.com/seznam/QApe/pull/9) - Add process:exit event right before the end of QApe run [`#10`](https://github.com/seznam/QApe/pull/10) - Update to Node 14 for travis CI [`37a0f71`](https://github.com/seznam/QApe/commit/37a0f71187a38d7d6a63f68ca01a2b7e46e112f5) - Update docker image to Node 14 [`4742110`](https://github.com/seznam/QApe/commit/47421107126a425254856c14a0647cd63ea16deb) #### [v0.8.0](https://github.com/seznam/QApe/compare/v0.7.0...v0.8.0) > 22 March 2021 - Add support for defining multiple start urls via urlPaths option [`#6`](https://github.com/seznam/QApe/pull/6) - added MIT LICENSE [`#5`](https://github.com/seznam/QApe/pull/5) - Add Back action, refactor selector generator, add eslint, add husky, … [`#3`](https://github.com/seznam/QApe/pull/3) - Update to latest dependencies [`0a643e7`](https://github.com/seznam/QApe/commit/0a643e77bcf824c8faee253f2bfa73b689fd7d56) - Removed unnecessary config options for eslint [`692e632`](https://github.com/seznam/QApe/commit/692e6327c649d100ea14f7c7fc84e6fcb5f39b3f) - Add cli option --url-paths and fix prerelease test [`46cff3a`](https://github.com/seznam/QApe/commit/46cff3ac6e89174c9a0219d2f3f4b433578eaa10) - Disabled BackAction and improve error handling [`4b5713a`](https://github.com/seznam/QApe/commit/4b5713a53ff272cefd5f99ee6beda87112eceeb1) - Fix typo in docs [`09910d2`](https://github.com/seznam/QApe/commit/09910d28d013ab4311a09db60e7e060a167d5e6f) #### [v0.7.0](https://github.com/seznam/QApe/compare/v0.6.0...v0.7.0) > 24 February 2020 - Add new config options elementSelector and update dependencies [`a5f942e`](https://github.com/seznam/QApe/commit/a5f942e9f299c600deb029ba5cadb9d5ab46825c) - Fix breaking changes from Commander module [`204acee`](https://github.com/seznam/QApe/commit/204aceebf67e2595002f43729f3a4e414140feaa) #### [v0.6.0](https://github.com/seznam/QApe/compare/v0.5.0...v0.6.0) > 5 July 2019 - Implemented Custom Actions [`d5ecbaf`](https://github.com/seznam/QApe/commit/d5ecbaf6d4eabbb8b0d97212702edc68f9d41cf1) - Update dependencies [`9dc9c9b`](https://github.com/seznam/QApe/commit/9dc9c9bf674d6cb56c70e199830f7298730d24f9) - Update documentation [`eb6f881`](https://github.com/seznam/QApe/commit/eb6f881e13349002f965c0fb48c36ea5c342369e) #### [v0.5.0](https://github.com/seznam/QApe/compare/v0.4.3...v0.5.0) > 27 May 2019 - Fix line endings [`c80dfd6`](https://github.com/seznam/QApe/commit/c80dfd6a63b0ef0a2a051965e6c74d98173938fc) - Add reporter init method to allow async reporter setups; Updated dependencies versions [`f150f79`](https://github.com/seznam/QApe/commit/f150f79715f5771b1c5380c52815da5acc10360a) - Improve debug logging [`f2ed537`](https://github.com/seznam/QApe/commit/f2ed537f130c952c718b123694969ba8e03f7408) #### [v0.4.3](https://github.com/seznam/QApe/compare/v0.4.2...v0.4.3) > 1 April 2019 - Add --debug option [`ef08f57`](https://github.com/seznam/QApe/commit/ef08f576ed891d8c7f9156f795eb89a2088d7fd0) #### [v0.4.2](https://github.com/seznam/QApe/compare/v0.4.1...v0.4.2) > 1 April 2019 - Downgrade puppeteer version since the latest version is causing some trouble [`d2ede27`](https://github.com/seznam/QApe/commit/d2ede27609a889f3f13aceb7dedc377fa66edb4f) #### [v0.4.1](https://github.com/seznam/QApe/compare/v0.4.0...v0.4.1) > 29 March 2019 - #! Delete unintended import [`8901e9a`](https://github.com/seznam/QApe/commit/8901e9a1f2f7763d4339413275dae8d69b590b0d) #### [v0.4.0](https://github.com/seznam/QApe/compare/v0.3.3...v0.4.0) > 29 March 2019 - Add new action Type, which uses node pkg faker to type random strings to any input/textare on the website; Refactor ActionsHandler to give each action equal chance to happen [`a42075b`](https://github.com/seznam/QApe/commit/a42075b332f7820d0bb75a3bfd8772ff91f8df13) - Updated dependency versions; Dropped custom changelog template; Remove changelog commit limit [`9047e1c`](https://github.com/seznam/QApe/commit/9047e1c435a6e94b7fdc773d52915ce6c5c5e96a) - Fix typo in documentation and test dependencies [`c44590a`](https://github.com/seznam/QApe/commit/c44590add401a0418b184c2d4a3839d463ec3666) #### [v0.3.3](https://github.com/seznam/QApe/compare/v0.3.2...v0.3.3) > 12 March 2019 - Add prerelease tests to check QApe functionality with the actually released bundle [`#2`](https://github.com/seznam/QApe/pull/2) - Release QApe as a docker image with each release [`a1e3dac`](https://github.com/seznam/QApe/commit/a1e3dac8b0c068411001356ec4b290fa6b5af53f) - Add CLI option --stop-new-scenarios-after-time [`9ea7e03`](https://github.com/seznam/QApe/commit/9ea7e03b5f670ddd36b335351063214b657219e3) #### [v0.3.2](https://github.com/seznam/QApe/compare/v0.3.1...v0.3.2) > 1 March 2019 - Improve page error handling [`2af2a2d`](https://github.com/seznam/QApe/commit/2af2a2d20b0f56d0cfca06af57d9c36f1c2b9f4e) - Add page crash handler and fix problem with hanging chrome instances after longer test run [`05ee4a0`](https://github.com/seznam/QApe/commit/05ee4a0c6e5a1ae7325bbaadef420f1a1aa963f9) - Add shouldRequestCauseError configuration [`cfbd031`](https://github.com/seznam/QApe/commit/cfbd03153424306c26773927296bb4cd5c65d9bc) - Optimize released package [`44b2e1b`](https://github.com/seznam/QApe/commit/44b2e1b2169647f6edc5183604d0a2013bbaa7b9) - Fix babel ignore pattern for jest tests [`804d429`](https://github.com/seznam/QApe/commit/804d429ff211831d2225bb2465eb31dc1392e53f) - Downgrade puppeteer version, since the latest version is causing an error during test run [`920b1df`](https://github.com/seznam/QApe/commit/920b1dfabc0e2a4b4205356955bdf1c3799acbdf) #### [v0.3.1](https://github.com/seznam/QApe/compare/v0.3.0...v0.3.1) > 25 February 2019 - Fix tests [`e30a843`](https://github.com/seznam/QApe/commit/e30a843e0b64c4f1a586b46d555a15f6ef515502) - Fix display of execution error from random scenario [`9d33b27`](https://github.com/seznam/QApe/commit/9d33b27d1d7c28d66f18ab20393477aaa0035352) - Requests with status code >= 500 will now cause error (instead of >= 400) [`39ba9f2`](https://github.com/seznam/QApe/commit/39ba9f268d648cc5d32aa6035953b8c73570ed99) #### [v0.3.0](https://github.com/seznam/QApe/compare/v0.2.2...v0.3.0) > 24 February 2019 - Response status of any page request >= 400 will be now considered a page error [`b27d5fc`](https://github.com/seznam/QApe/commit/b27d5fc61287dc2eb0456f685147168c85aa2ae2) - Fix proper respawn of reporter and scriptwriter on exit [`04909b1`](https://github.com/seznam/QApe/commit/04909b112533a916b1125eef594ff6af8a5010b4) - Update to latest dependencies [`ebb7d5b`](https://github.com/seznam/QApe/commit/ebb7d5bb32a3c91318f586f6a0260c85b76e4262) - Upgrade to babel@7 [`efb89ad`](https://github.com/seznam/QApe/commit/efb89ad161cdc08ee54bc801e4ac70f785441511) - Fix exit code on execution error [`4c0a45b`](https://github.com/seznam/QApe/commit/4c0a45b1763b9f5ee7a9eeeb052ae7cb36b2c7b8) #### [v0.2.2](https://github.com/seznam/QApe/compare/v0.2.1...v0.2.2) > 4 February 2019 - Log selected element html to the report along with its selector [`0641079`](https://github.com/seznam/QApe/commit/0641079967e05e3290c347b9980e333d3d930f04) - Fix defined scenarios execution error handling [`6d5a40f`](https://github.com/seznam/QApe/commit/6d5a40f16371b85e6e871d628e02c6e676fb5712) - Update config documentation [`91c8627`](https://github.com/seznam/QApe/commit/91c8627ec64beb501b929882dd6c839327e3ab54) - Fix files option and added glob pattern support [`8e733fa`](https://github.com/seznam/QApe/commit/8e733fa506a66e756e1482fd341f17a62b75a555) - Fix randomScenariosDisabled option [`5b964e8`](https://github.com/seznam/QApe/commit/5b964e8b447142bec176756a25bf86e152b2eb39) - Fix tester exit on successful run [`4323538`](https://github.com/seznam/QApe/commit/43235380ba9b25bde676f01903e42c60e244d53d) #### [v0.2.1](https://github.com/seznam/QApe/compare/v0.2.0...v0.2.1) > 1 February 2019 - Fix unit tests [`320780f`](https://github.com/seznam/QApe/commit/320780f8b05df2481785c4e249dc944ceaa3401b) - Fix execution error logging [`3fa910c`](https://github.com/seznam/QApe/commit/3fa910c047ca9e264f976ab94f298791255f90db) #### [v0.2.0](https://github.com/seznam/QApe/compare/v0.1.1...v0.2.0) > 1 February 2019 - Rewrite QApe with cluster. It is now separated to multiple processes. This fixes an error, when page crashed an QApe got stuck. [`684baf6`](https://github.com/seznam/QApe/commit/684baf659456df1b3ed3b1e8bc7e6c2847fe1535) - Fix console log "undefined" at the end of the test run [`40336da`](https://github.com/seznam/QApe/commit/40336da76d739ae68931253eee681278eb5ce021) - Fix unit tests [`ef34c1a`](https://github.com/seznam/QApe/commit/ef34c1ac451fc54c691615e4ba9b8ab09818c7b6) - Fix documentation typo [`0268a8a`](https://github.com/seznam/QApe/commit/0268a8a7ee811e7704a15bb4573a60ba78734118) - Fix browser freeze when headless-mode-disabled set to true and new tab is opened [`3c693c1`](https://github.com/seznam/QApe/commit/3c693c1c7eb8cc9505fb201e77367eecc58b75a7) #### [v0.1.1](https://github.com/seznam/QApe/compare/v0.1.0...v0.1.1) > 21 December 2018 - Fix QApe run; Fix release process [`7150359`](https://github.com/seznam/QApe/commit/7150359ea463690e8335f44a831f14d68ad4f69a) #### [v0.1.0](https://github.com/seznam/QApe/compare/v0.0.5...v0.1.0) > 21 December 2018 - Add project utils; Update documentation [`d71af16`](https://github.com/seznam/QApe/commit/d71af16b5a87d30af4957e5c6f1fe770c199b021) - Deploy documentation to github pages [`dbe4cde`](https://github.com/seznam/QApe/commit/dbe4cdef39079d89759e4b1d0667850a77a57af4) - Fix recovery from page crash error; Add tests and documentation [`20e46df`](https://github.com/seznam/QApe/commit/20e46df7607fc525bf70728c30aba826f2e3a2b8) - Fix some minor bugs; Add more tests and documentation [`58c368d`](https://github.com/seznam/QApe/commit/58c368d2e81ab31497515a04a0e8223068ce18dd) - CLI options now has to be set explicitly in qape.js instead of generating them from template.js [`01fef2d`](https://github.com/seznam/QApe/commit/01fef2d92b833ca78c83325ba76232939dc717d8) - Add config option for getElementSelector [`429513f`](https://github.com/seznam/QApe/commit/429513f193e33142817c3a412cc4727fec7c211f) - Update docs index [`78c3631`](https://github.com/seznam/QApe/commit/78c36311c43e9cd9021aa00efaad396d22c359b5) - Update docs [`35a24f6`](https://github.com/seznam/QApe/commit/35a24f6915f256966f4da9c440ff6bc0ad0aa7d9) - Add beforeScenarioScript, beforeActionScript, afterActionScript and afterScenarioScript. They will be executed during the scenario lifecycle. [`a3ca46d`](https://github.com/seznam/QApe/commit/a3ca46ded0f076d2699707ca3742b889216aadf4) - Fix test typos [`d345e93`](https://github.com/seznam/QApe/commit/d345e932e240c9cc77ef3fea705b4a6839eb024f) - Fix defined scenarios execution via CLI [`7022986`](https://github.com/seznam/QApe/commit/7022986585ace216e4bea491a0da6d67a486c94b) - Fix docs links [`1421f5a`](https://github.com/seznam/QApe/commit/1421f5a1bde780034469df297ce3a4542445576b) - Update docs [`70b5a62`](https://github.com/seznam/QApe/commit/70b5a624363553ba232235ad24bed9dec99972c6) - Update docs [`320c808`](https://github.com/seznam/QApe/commit/320c808da40e33a4b3be6effdf29a32b238eddbc) - Set theme jekyll-theme-tactile [`17fb225`](https://github.com/seznam/QApe/commit/17fb2257837cd0565ee3fc9a86fbda0f1140917f) - Fix typo in README.md [`0f9dfd5`](https://github.com/seznam/QApe/commit/0f9dfd5d1e9a006f56306c5d18544cdb0d301e4e) - Set theme jekyll-theme-cayman [`f7d5a56`](https://github.com/seznam/QApe/commit/f7d5a56efb9c968a716fb8d8214b7666a0d1b462) #### [v0.0.5](https://github.com/seznam/QApe/compare/v0.0.4...v0.0.5) > 11 December 2018 - Improve documentation [`a6c3e82`](https://github.com/seznam/QApe/commit/a6c3e82f19abf56b551baee72361c9aeb3688662) - Add travis-ci [`6fb2345`](https://github.com/seznam/QApe/commit/6fb23454c82fcc723990a1996cff795d46d87bab) - Updated README.md with badges and gif [`a4607e5`](https://github.com/seznam/QApe/commit/a4607e5cb5de55171594ce5cf834dcb7f05c3895) - Fix error display when QApe fails to run [`11b6a98`](https://github.com/seznam/QApe/commit/11b6a98306d8a389746c384a565073d34ac10088) - Fix unit tests for ClickActionSpec.js [`ce865d2`](https://github.com/seznam/QApe/commit/ce865d26d3ca86839ac02728d3bbc1ef45342381) - Signal click with headlessModeDisabled instead of previewMode option [`7e2e2b0`](https://github.com/seznam/QApe/commit/7e2e2b02962c5cb30495cbe277b4a78778a5b231) #### [v0.0.4](https://github.com/seznam/QApe/compare/v0.0.3...v0.0.4) > 11 December 2018 - New default reporters created: [`7f03ddd`](https://github.com/seznam/QApe/commit/7f03ddd50e8d05f4529087eb5f7eaa04fc357f07) - Update documentation with new config options [`d5ddabd`](https://github.com/seznam/QApe/commit/d5ddabd976f746a7ffd8676fd3135080c14bb627) - Fix FileReporterSpec tests [`e2a6745`](https://github.com/seznam/QApe/commit/e2a674530dc74e11e685fdb92646f65f274ac466) #### [v0.0.3](https://github.com/seznam/QApe/compare/v0.0.2...v0.0.3) > 17 November 2018 - Updated cli syntax; Added infinity run option; Minor code style updates [`f88828d`](https://github.com/seznam/QApe/commit/f88828d992aebe4be566e4e6da41e5e5c92a7879) - Fixed report for random scenario when no error found; Updated isElementVisible method to use puppeteer method to check element visibility [`69807e1`](https://github.com/seznam/QApe/commit/69807e17df2e83573febc63fa87b2461cd2db211) - Add auto-changelog to generate changelog from commits for each release [`204fdca`](https://github.com/seznam/QApe/commit/204fdca1ff18abc093724ff5950f4ed98c5f4618) #### [v0.0.2](https://github.com/seznam/QApe/compare/v0.0.1...v0.0.2) > 16 November 2018 - Reporter is now EventEmitter; You can also defined custom reporters; Dropped progress bars [`3b2881d`](https://github.com/seznam/QApe/commit/3b2881d5558de1c4b4181340e1fb8d93c5961d8e) - Rename [`7b02edb`](https://github.com/seznam/QApe/commit/7b02edb50d7f86e80577c7003d4d9df8336eadd0) - Updated default config file [`77df689`](https://github.com/seznam/QApe/commit/77df689506bb2eb58a13517cde27795eb706604a) - Updated docs and added CHANGELOG.md [`4a10ad1`](https://github.com/seznam/QApe/commit/4a10ad11e626f5d97cea5f9e62f7f9ad8d464b92) - Fixed problems when installed as npm dependency [`c345363`](https://github.com/seznam/QApe/commit/c34536308c7b4fa6c2c8f356879f6eb6af7792f5) - Fixed minifiing scenarios when QApe is run in docker [`9fad8ab`](https://github.com/seznam/QApe/commit/9fad8abe2891f46e549e821c360349c59e964af6) #### v0.0.1 > 9 November 2018 - Added unit tests and documentation; Updated example page [`823720a`](https://github.com/seznam/QApe/commit/823720aef7d1f533744e15f386ea06b71b4a0981) - #! Init Opicak [`4c1dacc`](https://github.com/seznam/QApe/commit/4c1dacc53746376bcb25a3d5638fb1d360d5c95a) - Rename [`c878cae`](https://github.com/seznam/QApe/commit/c878cae74109e8b565c32a805169fec555836301) - Added release scripts [`17cf2fc`](https://github.com/seznam/QApe/commit/17cf2fc7725b13bad535da2bc7bc527ceb25cb0f) - Added .babelrc file [`a14adaa`](https://github.com/seznam/QApe/commit/a14adaaf249307ef901b9f356f594345ecb17352) - Removed private registry settings [`39520b9`](https://github.com/seznam/QApe/commit/39520b9c75053c49affcd27b1bb19a06228cbad2) - Ignore .babelrc from release [`bb291d7`](https://github.com/seznam/QApe/commit/bb291d7a65e39702a59d5b4bceb9e70789c0a58e)