All Versions
Latest Version
Avg Release Cycle
17 days
Latest Release

Changelog History
Page 10

  • v1.0.3 Changes

    • [WebDriverIO][Protractor][Nightmare] method waitUntilExists implemented by @sabau
    • Absolute path can be set for output dir by @APshenkin. Fix #571* Data table rows can be ignored by using xadd. By @APhenkin
    • โž• Added Data(table).only.Scenario to give ability to launch only Data tests. By @APhenkin
    • Implemented ElementNotFound error by @BorisOsipov.
    • โž• Added TypeScript compiler / configs to check the JavaScript by @KennyRules
    • [Nightmare] fix executeScript return value by @jploskonka
    • ๐Ÿ›  [Nightmare] fixed: err.indexOf not a function when waitForText times out in nightmare by @joeypedicini92
    • ๐Ÿ›  Fixed: Retries not working when using .only. By @APhenkin
  • v1.0.2 Changes

    • ๐Ÿ‘ Introduced generators support in scenario hooks for BeforeSuite/Before/AfterSuite/After
    • ๐Ÿ“ฆ [ApiDataFactory] Fixed loading helper; requireg package included.
    • ๐Ÿ›  Fix #485run-multiple: the first browser-resolution combination was be used in all configurations
    • ๐Ÿ›  Fixed unique test names:
      • Fixed #447 tests failed silently if they have the same name as other tests.
      • Use uuid in screenshot names when uniqueScreenshotNames: true
    • โœ… [Protractor] Fixed testing non-angular application. amOutsideAngularApp is executed before each step. Fixes #458* Added output for steps in hooks when they fail
  • v1.0.1 Changes

    • Reporters improvements:
      • Allows to execute multiple reporters
      • Added Mochawesome helper
      • addMochawesomeContext method to add custom data to mochawesome reports
      • Fixed Mochawesome context for failed screenshots.
    • ๐Ÿ›  [WebDriverIO] improved click on context to match clickable element with a text inside. Fixes #647* [Nightmare] Added refresh function by @awhanks
    • ๐Ÿ›  fixed Unhandled promise rejection (rejection id: 1): Error: Unknown wait type: pageLoad
    • ๐Ÿ‘Œ support for tests with retries in html report
    • โœ… be sure that change window size and timeouts completes before test
    • ๐Ÿ›  [Nightmare] Fixed [Wrapped Error] "codeceptjs is not defined"; Reinjectiing client scripts to a webpage on changes.
    • [Nightmare] Added more detailed error messages for Wait* methods
    • ๐Ÿ›  [Nightmare] Fixed adding screenshots to Mochawesome
    • [Nightmare] Fix unique screenshots names in Nightmare
    • ๐Ÿ›  Fixed CodeceptJS work with hooks in helpers to finish codeceptJS correctly if errors appears in helpers hooks
    • โœ… Create a new session for next test If selenium grid error received
    • Create screenshots for failed hooks from a Feature file
    • ๐Ÿ›  Fixed retries option
  • v1.0 Changes

    โœ… CodeceptJS hits first stable release. CodeceptJS provides a unified API for web testing for Webdriverio, Protractor, and NightmareJS. Since 1.0 you can also test mobile applications in the similar manner with Appium.

    โœ… Sample test:

    I.fillField('~email of the customer', 'Nothing special'));
    I.see('[email protected]', '~email of the customer'));
    I.clearField('~email of the customer'));
    I.dontSee('Nothing special', '~email of the customer'));

    We also introduced two new helpers for data management. โœ… Using them you can easily prepare and cleanup data for your tests using public REST API.

    โœ… Sample test

    // create a user using data factories and REST API
    I.have('user', { name: 'davert', password: '123456' });
    // use it to login
    I.fillField('login', 'davert');
    I.fillField('password', '123456');'Login');
    I.see('Hello, davert');
    // user will be removed after the test

    Next notable feature is SmartWait for WebDriverIO, Protractor, SeleniumWebdriver. When smartwait option is set, script will wait for extra milliseconds to locate an element before failing. This feature uses implicit waits of Selenium but turns them on only in applicable pieces. For instance, implicit waits are enabled for seeElement but disabled for dontSeeElement

    ๐Ÿ”„ Changelog
    • Minimal NodeJS version is 6.11.1 LTS
    • ๐Ÿ‘‰ Use within command with generators.
    • โœ… Data Driven Tests introduced.
    • ๐Ÿ–จ Print execution time per step in --debug mode. #591 by @APshenkin
    • [WebDriverIO][Protractor][Nightmare] Added disableScreenshots option to disable screenshots on fail by @Apshenkin
    • [WebDriverIO][Protractor][Nightmare] Added uniqueScreenshotNames option to generate unique names for screenshots on failure by @Apshenkin
    • ๐Ÿ›  [WebDriverIO][Nightmare] Fixed click on context; click('text', '#el') will throw exception if text is not found inside #el.
    • [WebDriverIO][Protractor][SeleniumWebdriver] SmartWait introduced.
    • ๐Ÿ›  [WebDriverIO][Protractor][Nightmare]Fixed saveScreenshot for PhantomJS, fullPageScreenshots option introduced by @HughZurname #549
    • [Appium] helper introduced by @APshenkin
    • [REST] helper introduced by @atrevino in #504
    • ๐Ÿ [WebDriverIO][SeleniumWebdriver] Fixed "windowSize": "maximize" for Chrome 59+ version #560 by @APshenkin
    • ๐Ÿ›  [Nightmare] Fixed restarting by @APshenkin #581
    • [WebDriverIO] Methods added by @APshenkin:
    • ๐Ÿ‘‰ Use mkdirp to create output directory. #592 by @vkramskikh
    • ๐Ÿ‘€ [WebDriverIO] Fixed seeNumberOfVisibleElements by @BorisOsipov #574
    • ๐Ÿ›  Lots of fixes for promise chain by @APshenkin #568
      • Fix #543- After block not properly executed if Scenario fails
      • Expected behavior in promise chains: _beforeSuite hooks from helpers -> BeforeSuite from test -> _before hooks from helpers -> Before from test - > Test steps -> _failed hooks from helpers (if test failed) -> After from test -> _after hooks from helpers -> AfterSuite from test -> _afterSuite hook from helpers.
      • if during test we got errors from any hook (in test or in helper) - stop complete this suite and go to another
      • if during test we got error from Selenium server - stop complete this suite and go to another
      • [WebDriverIO][Protractor] if restart option is false - close all tabs expect one in _after.
      • Complete _after, _afterSuite hooks even After/AfterSuite from test was failed
      • Don't close browser between suites, when restart option is false. We should start browser only one time and close it only after all tests.
      • Close tabs and clear local storage, if keepCookies flag is enabled
    • ๐Ÿ›  Fix TypeError when using babel-node or ts-node on node.js 7+ #586 by @vkramskikh
    • ๐Ÿ›  [Nightmare] fixed usage of _locate

    Special thanks to Andrey Pshenkin for his work on this release and the major improvements.

  • v0.6.3 Changes

    • ๐Ÿ–จ Errors are printed in non-verbose mode. Shows "Selenium not started" and other important errors.
    • ๐Ÿ‘ Allowed to set custom test options:
    Scenario('My scenario', { build_id: 123, type: 'slow' }, function (I)

    โœ… those options can be accessed as opts property inside a test object. Can be used in custom listeners.

    • โž• Added docs directory to a package.
    • ๐Ÿ›  [WebDriverIO][Protractor][SeleniumWebdriver] Bugfix: cleaning session when restart: false by @tfiwm #519
    • [WebDriverIO][Protractor][Nightmare] Added second parameter to saveScreenshot to allow a full page screenshot. By @HughZurname
    • โž• Added suite object to suite.before and suite.after events by @implico. #496
  • v0.6.2 Changes

    • โž• Added config object to public API
    • Extended index.js to include actor and helpers, so they could be required:
    const actor = require('codeceptjs').actor;
    • โž• Added example for creating custom runner with public API.
    • โš™ run command to create output directory if it doesn't exist
    • ๐Ÿ›  [Protractor] fixed loading globally installed Protractor
    • โš™ run-multiple command improvements:
      • create output directories for each process
      • print process ids in output
  • v0.6.1 Changes

    • ๐Ÿ›  Fixed loading hooks
  • v0.6.0 Changes

    ๐Ÿš€ Major release with extension API and parallel execution.

    • ๐Ÿ’ฅ Breaking Removed path argument from run. To specify path other than current directory use --config or -c option:

    โœ… Instead of: codeceptjs run tests use:

  • v0.5.1 Changes

    • ๐Ÿ’… Polish translation added by @limes.
    • โšก๏ธ Update process exit code so that mocha saves reports before exit by @romanovma.
    • ๐Ÿ›  [Nightmare] fixed getAttributeFrom for custom attributes by @robrkerr
    • โš  [Nightmare] Fixed UnhandledPromiseRejectionWarning error when selecting the dropdown using selectOption by @robrkerr. [Se PR.
    • ๐Ÿ›  [Protractor] fixed pressKey method by @romanovma
  • v0.5.0 Changes

    • ๐Ÿ‘ Protractor 5.0.0 support (while keeping 4.0.9 compatibility)
    • ๐Ÿ›  Fix 'fullTitle() is not a function' in exit.js by @hubidu. See #388.
    • ๐Ÿ‘€ [Nightmare] Fix for waitTimeout by @HughZurname. See #391. Resolves #236* Dockerized CodeceptJS setup by @artiomnist. See reference