All Versions
131
Latest Version
Avg Release Cycle
17 days
Latest Release
-

Changelog History
Page 5

  • v2.4.3 Changes

    January 27, 2020
    • ๐Ÿš‘ Hotfix for interactive pause
  • v2.4.2 Changes

    January 27, 2020
    • Interactive pause improvements by @koushikmohan1996
      • allows using in page objects and variables: pause({ loginPage, a })
      • enables custom commands inside pause with => prefix: => loginPage.open()
    • ๐Ÿ”Œ Selenoid plugin added by by @koushikmohan1996
      • uses Selenoid to launch browsers inside Docker containers
      • automatically records videos and attaches them to allure reports
      • can delete videos for successful tests
      • can automatically pull in and start Selenoid containers
      • works with WebDriver helper
    • ๐Ÿ‘ท Avoid failiure report on successful retry in worker by @koushikmohan1996
    • โž• Added translation ability to Scenario, Feature and other context methods by @koushikmohan1996
    • ๐Ÿ”Œ allurePlugin: Added say comments to allure reports by @PeterNgTr.
    • ๐Ÿ›  Fixed no custom output folder created when executed with run-worker. Fix by @PeterNgTr
    • ๐Ÿ‘€ [Puppeteer] Fixed error description for context element not found. See #2065. Fix by @PeterNgTr
    • ๐Ÿ›  [WebDriver] Fixed waitForClickable to wait for exact number of seconds by @mirao. Resolves #2166
    • ๐Ÿ›  Fixed setting compilerOptions in jsconfig.json file on init by @PeterNgTr
    • [Filesystem] Added method by @nitschSB
      • seeFileContentsEqualReferenceFile
      • waitForFile
  • v2.4.1 Changes

    January 13, 2020
    • ๐Ÿš‘ [Hotfix] - Add missing lib that prevents codeceptjs from initializing.
  • v2.4.0 Changes

    January 10, 2020
    • ๐Ÿ‘Œ Improved setup wizard with npx codecept init:
      • enabled retryFailedStep plugin for new setups.
      • enabled @codeceptjs/configure to toggle headless/window mode via env variable
      • creates a new test on init
      • removed question on "steps file", create it by default.
    • โœ… Added pauseOnFail plugin. Sponsored by Paul Vincent Beigang and his book "Practical End 2 End Testing with CodeceptJS".
    • โž• Added run-rerun command to run tests multiple times to detect and fix flaky tests. By @Ilrilan and @Vorobeyko.
    • โž• Added Scenario.todo() to declare tests as pending. See #2100 by @Vorobeyko
    • โž• Added support for absolute path for output dir. See #2049 by @elukoyanov
    • ๐Ÿ›  Fixed error in npx codecept init caused by calling console.print. See #2071 by @Atinux.
    • [Filesystem] Methods added by @aefluke:
      • seeFileNameMatching
      • grabFileNames
    • ๐Ÿ›  [Puppeteer] Fixed grabbing attributes with hyphen by @Holorium
    • โœ… [TestCafe] Fixed grabAttributeFrom method by @elukoyanov
    • ๐Ÿ”ง [MockRequest] Added support for Polly config options by @ecrmnn
    • โœ… [TestCafe] Fixes exiting with zero code on failure. Fixed #2090 with #2106 by @koushikmohan1996
    • ๐Ÿ‘€ [WebDriver][Puppeteer] Added basicAuth support via config. Example: basicAuth: {username: 'username', password: 'password'}. See #1962 by @PeterNgTr
    • ๐Ÿ‘• [WebDriver][Appium] Added scrollIntoView by @pablopaul
    • ๐Ÿ›  Fixed #2118: No error stack trace for syntax error by @senthillkumar
    • โž• Added parse() method to data table inside Cucumber tests. Use it to obtain rows and hashes for test data. See #2082 by @Sraime
  • v2.3.6 Changes

    November 23, 2019
    • ๐Ÿ‘ Create better Typescript definition file through JSDoc. By @lemnis
    • ๐Ÿ‘ท run-workers now can use glob pattern. By @Ilrilan js // Example: exports.config = { tests: '{./workers/base_test.workers.js,./workers/test_grep.workers.js}', }
    • โž• Added new command npx codeceptjs info which print information about your environment and CodeceptJS configs. By @jamesgeorge007
    • ๐Ÿ›  Fixed some typos in documantation. By @pablopaul @atomicpages @EricTendian
    • โž• Added PULL_REQUEST template.
    • [Puppeteer][WebDriver] Added waitForClickable for waiting clickable element on page.
    • โœ… [TestCafe] Added support for remote connection. By @jvdieten
    • ๐Ÿ›  [Puppeteer] Fixed waitForText XPath context now works correctly. By @Heavik
    • โœ… [TestCafe] Fixed clearField clear field now awaits TestCafe's promise. By @orihomie
    • ๐Ÿ‘€ [Puppeteer] Fixed fails when executing localStorage on services pages. See #2026
    • ๐Ÿ›  Fixed empty tags in test name. See #2038
  • v2.3.5 Changes

    October 21, 2019
    • ๐Ÿ“œ Set "parse-function" dependency to "5.2.11" to avoid further installation errors.
  • v2.3.4 Changes

    October 21, 2019
    • ๐Ÿ›  Fixed installation error "Cannot find module '@babel/runtime/helpers/interopRequireDefault'". The issue came from parse-function package. Fixed by @pablopaul.
    • ๐Ÿ‘€ [Puppeteer] Fixed switching to iframe without an ID by @johnyb. See #1974
    • โž• Added --profile option to run-workers by @orihomie
    • โž• Added a tag definition to FeatureConfig and ScenarioConfig by @sseliverstov
  • v2.3.3 Changes

    October 15, 2019
    • ๐Ÿ”Œ customLocator plugin introduced. Adds a locator strategy for special test attributes on elements.
    // when data-test-id is a special test attribute
    // enable and configure plugin to replace this
    I.click({ css: '[data-test-id=register_button]');
    // with this
    I.click('$register_button');
    
    • [Puppeteer][WebDriver] pressKey improvements by @martomo: ๐Ÿ”„ Changed pressKey method to resolve issues and extend functionality.
      • Did not properly recognize 'Meta' (or 'Command') as modifier key.
      • Right modifier keys did not work in WebDriver using JsonWireProtocol.
      • 'Shift' + combination would not reflect actual keyboard behavior.
      • Respect sequence with multiple modifier keys passed to pressKey.
      • Added support to automatic change operation modifier key based on operating system.
    • ๐Ÿš€ [Puppeteer][WebDriver] Added pressKeyUp and pressKeyDown to press and release modifier keys like Control or Shift. By @martomo.
    • [Puppeteer][WebDriver] Added grabElementBoundingRect by @PeterNgTr.
    • ๐Ÿ‘€ [Puppeteer] Fixed speed degradation introduced in #1306 with accessibility locators support. See #1953.
    • โž• Added Config.addHook to add a function that will update configuration on load.
    • ๐Ÿ”ง Started @codeceptjs/configure package with a collection of common configuration patterns.
    • ๐Ÿšš [TestCafe] port's management removed (left on TestCafe itself) by @orihomie. Fixes #1934.
    • ๐Ÿ›  [REST] Headers are no more declared as singleton variable. Fixes #1959
    • Updated Docker image to include run tests in workers with NUMBER_OF_WORKERS env variable. By @PeterNgTr.
  • v2.3.2 Changes

    September 24, 2019
    • ๐Ÿ›  [Puppeteer] Fixed Puppeteer 1.20 support by @davertmik
    • ๐Ÿ›  Fixed run-workers to run with complex configs. See #1887 by @nitschSB
    • โž• Added --suites option to run-workers to split suites by workers (tests of the same suite goes to teh same worker). Thanks @nitschSB.
    • โž• Added a guide on Email Testing.
    • ๐Ÿ“š [retryFailedStepPlugin] Improved to ignore wait* steps and others. Also added option to ignore this plugin per test bases. See updated documentation. By @davertmik
    • ๐Ÿ›  Fixed using PageObjects as classes by @Vorobeyko. See #1896
    • ๐Ÿ‘€ [WebDriver] Fixed opening more than one tab. See #1875 by @jplegoff. Fixes #1874
    • ๐Ÿ›  Fixed #1891 when I.retry() affected retries of next steps. By @davertmik
  • v2.3.1 Changes

    September 06, 2019
    • ๐Ÿคก [MockRequest] Polly helper was renamed to MockRequest.
    • ๐Ÿคก [MockRequest][WebDriver] Mocking requests is now available in WebDriver. Thanks @radhey1851
    • ๐Ÿ‘€ [Puppeteer] Ensure configured user agent and/or window size is applied to all pages. See #1862 by @martomo
    • ๐Ÿ‘Œ Improve handling of xpath locators with round brackets by @nitschSB. See #1870
    • ๐Ÿ”Œ Use WebDriver capabilities config in wdio plugin. #1869 by @quekshuy