| 1 | # Changelog |
| 2 | |
| 3 | ## 2.5.0 / 2024-01-24 |
| 4 | |
| 5 | * Screenshots no longer work with WebdriverIO v8, just with v7. (T347137) |
| 6 | * Fix tests on macOS + Node.js v18. (T355556) |
| 7 | |
| 8 | ## 2.4.0 / 2023-11-16 |
| 9 | |
| 10 | * Screenshots work with both WebdriverIO v7 and v8 |
| 11 | |
| 12 | ## 2.3.0 / 2023-09-21 |
| 13 | |
| 14 | * Refactor waitForModuleState and saveScreenshot to async/await. (T337463) |
| 15 | * Upgrade mwbot from 2.0.0 to 2.1.3. |
| 16 | * Delete automationProtocol setting. |
| 17 | * Revert "Skip wikitext-specific tests if NS isn't wikitext". (T303737) |
| 18 | * Revert "Default to larger window size". (T317879) |
| 19 | |
| 20 | ## 2.2.0 / 2022-07-29 |
| 21 | |
| 22 | * Default to larger window size (T314115) |
| 23 | |
| 24 | ## 2.1.0 / 2022-05-19 |
| 25 | |
| 26 | * Use @wdio/spec-reporter. |
| 27 | |
| 28 | ## 2.0.0 / 2022-01-11 |
| 29 | |
| 30 | The wdio-mediawiki library now requires WebdriverIO async mode. |
| 31 | |
| 32 | * Util: Added `isTargetNotWikitext()`. |
| 33 | * CreateAccountPage: Added initial version. |
| 34 | |
| 35 | ## 1.2.0 / 2021-01-11 |
| 36 | |
| 37 | * Set default configuration to retry tests in a spec file once upon failure |
| 38 | |
| 39 | ## 1.1.1 / 2021-05-26 |
| 40 | |
| 41 | * Fix `Cannot find module 'dotenv'`. |
| 42 | |
| 43 | ## 1.1.0 / 2021-05-21 |
| 44 | |
| 45 | * Api: Update mwbot to version 2.0, as returned by `api.bot()`. |
| 46 | * Added new `wdio-defaults.conf.js` entrypoint. |
| 47 | * index: Changed `saveScreenshot()` filenames to use an ISO-formatted timestamp. |
| 48 | |
| 49 | ## 1.0.0 / 2019-11-05 |
| 50 | |
| 51 | The wdio-mediawiki library now requires webdriverio 5 and Node 10 (or later). |
| 52 | |
| 53 | * The global `username` and `password` config keys have been renamed to |
| 54 | `mwUser` and `mwPwd`. These are used as the defaults for `Api` and `LoginPage` |
| 55 | methods that require user credentials. |
| 56 | * Api: The `api.edit()` and `api.delete()` methods were removed as they encouraged |
| 57 | an anti-pattern where each user action was preceded by its own API login sequence. |
| 58 | Use the `bot.edit()` and `bot.delete()` methods directly instead, and re-use the |
| 59 | `bot` object where possible. See [README](./README.md) for a usage example. |
| 60 | |
| 61 | ## 0.5.0 / 2019-09-18 |
| 62 | |
| 63 | * Api: Added `bot()` method. |
| 64 | |
| 65 | ## 0.4.0 / 2019-07-18 |
| 66 | |
| 67 | * Util: Added a `waitForModuleState()` method. |
| 68 | * Api: Added optional `username`, `password` and `baseUrl` parameters to `edit()` method. |
| 69 | * RunJobs: Unpublished `getJobCount()`, `log()`, `runThroughMainPageRequests()` methods. |
| 70 | |
| 71 | ## 0.3.0 / 2019-01-25 |
| 72 | |
| 73 | * RunJobs: Added initial version. |
| 74 | * Page: Added a `fragment` parameter to `openTitle()`. |
| 75 | * Api: Added `blockUser()` and `unblockUser()` methods. |
| 76 | * Util: Changed `getTestString()` to include U+2603 (Snowman). |
| 77 | * (All): Fixed internal `require()` calls to use relative paths. |
| 78 | |
| 79 | ## 0.2.0 / 2018-06-25 |
| 80 | |
| 81 | * Util: Added getTestString(). |
| 82 | |
| 83 | ## 0.1.0 / 2018-05-02 |
| 84 | |
| 85 | * Api: Added initial version. |
| 86 | * Page: Added initial version. |
| 87 | * BlankPage: Added initial version. |
| 88 | * LoginPage: Added initial version. |