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

Changelog History
Page 8

  • v1.4.4 Changes

    • ๐Ÿ”Œ autoDelay plugin added. Adds tiny delay before and after an action so the page could react to actions performed.
    • [Puppeteer] improvements by @luismanuel001
      • click no longer waits for navigation
      • clickLink method added. Performs a click and waits for navigation.
    • Bootstrap scripts to be started only for run command and ignored on list, def, etc. Fix by @LukoyanovE
  • v1.4.3 Changes

    • Groups renamed to Tags for compatibility with BDD layer
    • โœ… Test and suite objects to contain tags property which can be accessed from internal API
    • ๐Ÿ›  Fixed adding tags for Scenario Outline in BDD
    • โž• Added tag() method to ScenarioConfig and FeatureConfig:
    Scenario('update user profile', () => {
      // test goes here
    }).tag('@slow');
    
    • ๐Ÿ›  Fixed attaching Allure screenshot on exception. Fix by @DevinWatson
    • ๐Ÿ‘Œ Improved type definitions for custom steps. By @Akxe
    • ๐Ÿ›  Fixed setting multiple.parallel.chunks as environment variable in config. See #1238 by @ngadiyak
  • v1.4.2 Changes

    • ๐Ÿ›  Fixed setting config for plugins (inclunding setting outputDir for allure) by @jplegoff
  • v1.4.1 Changes

    • โž• Added plugins option to run-multiple
    • ๐Ÿ›  Minor output fixes
    • โž• Added Type Definition for Helper class by @Akxe
    • ๐Ÿ›  Fixed extracing devault extension in generators by @Akxe
  • v1.4.0 Changes

    • Allure Reporter Integration. Full inegration with Allure Server. Get nicely looking UI for tests,including steps, nested steps, and screenshots. Thanks Natarajan Krishnamurthy @krish for sponsoring this feature.
    • ๐Ÿ”Œ Plugins API introduced. Create custom plugins for CodeceptJS by hooking into event dispatcher, and using promise recorder.
    • ๐Ÿ”Œ Official CodeceptJS plugins added:
      • stepByStepReport - creates nicely looking report to see test execution as a slideshow. Use this plugin to debug tests in headless environment without recording a video.
      • allure - Allure reporter added as plugin.
      • screenshotOnFail - saves screenshot on fail. Replaces similar functionality from helpers.
      • retryFailedStep - to rerun each failed step.
    • [Puppeteer] Fix executeAsyncScript unexpected token by @jonathanz
    • โž• Added override option to run-multiple command by @svarlet
  • v1.3.3 Changes

  • v1.3.2 Changes

    • Interactve Shell improvements for pause()
      • Added next command for step-by-step debug when using pause().
      • Use After(pause); in a to start interactive console after last step.
    • โšก๏ธ [Puppeteer] Updated to Puppeteer 1.6.0
      • Added waitForRequest to wait for network request.
      • Added waitForResponse to wait for network response.
    • ๐Ÿ‘Œ Improved TypeScript definitions to support custom steps and page objects. By @xt1
    • ๐Ÿ›  Fixed XPath detection to accept XPath which starts with ./ by @BenoitZugmeyer
  • v1.3.1 Changes

    • ๐Ÿ›  BDD-Gherkin: Fixed running async steps.
    • 0๏ธโƒฃ [Puppeteer] Fixed process hanging for 30 seconds. Page loading timeout default via getPageTimeout set 0 seconds.
    • [Puppeteer] Improved displaying client-side console messages in debug mode.
    • ๐Ÿ›  [Puppeteer] Fixed closing sessions in restart:false mode for multi-session mode.
    • ๐Ÿ›  [Protractor] Fixed grabPopupText to not throw error popup is not opened.
    • ๐Ÿ“š [Protractor] Added info on using 'direct' Protractor driver to helper documentation by @xt1.
    • [WebDriverIO] Added a list of all special keys to WebDriverIO helper by @davertmik and @xt1.
    • ๐Ÿ‘Œ Improved TypeScript definitions generator by @xt1
  • v1.3.0 Changes

    Basic feature file:

    Feature: Business rules
      In order to achieve my goals
      As a persona
      I want to be able to interact with a system
    
      Scenario: do anything in my life
        Given I need to open Google
    

    Step definition:

    const I = actor();
    
    Given('I need to open Google', () => {
      I.amOnPage('https://google.com');
    });
    

    โš™ Run it with --features --steps flag:

    codeceptjs run --steps --features
    

    • Brekaing Chnage run command now uses relative path + test name to run exactly one test file.

    ๐Ÿšš Previous behavior (removed):

    codeceptjs run basic_test.js
    

    โœ… Current behavior (relative path to config + a test name)

    codeceptjs run tests/basic_test.js
    

    โœ… This change allows using auto-completion when running a specific test.


    • Nested steps output enabled for page objects.
      • to see high-level steps only run tests with --steps flag.
      • to see PageObjects implementation run tests with --debug.
    • โšก๏ธ PageObjects simplified to remove _init() extra method. Try updated generators and see updated guide.
    • [Puppeteer] Multiple sessions enabled. Requires Puppeteer >= 1.5
    • [Puppeteer] Stability improvement. Waits for for load event on page load. This strategy can be changed in config:
      • waitForNavigation config option introduced. Possible options: load, domcontentloaded, networkidle0, networkidle2. See Puppeteer API
      • getPageTimeout config option to set maximum navigation time in milliseconds. Default is 30 seconds.
      • waitForNavigation method added. Explicitly waits for navigation to be finished.
    • [WebDriverIO][Protractor][Puppeteer][Nightmare] Possible BC grabTextFrom unified. Return a text for single matched element and an array of texts for multiple elements.
    • ๐Ÿ›  [Puppeteer]Fixed resizeWindow by @sergejkaravajnij
    • [WebDriverIO][Protractor][Puppeteer][Nightmare] waitForFunction added. Waits for client-side JavaScript function to return true by @GREENpoint.
    • ๐Ÿ—„ [Puppeteer] waitUntil deprecated in favor of waitForFunction.
    • โž• Added filter function to DataTable.
    • Send non-nested array of files to custom parallel execution chunking by @mikecbrant.
    • ๐Ÿ›  Fixed invalid output directory path for run-multiple by @mikecbrant.
    • โฑ [WebDriverIO] waitUntil timeout accepts time in seconds (as all other wait* functions). Fix by @truesrc.
    • ๐Ÿ‘€ [Nightmare] Fixed grabNumberOfVisibleElements to work similarly to seeElement. Thx to @stefanschenk and Jinbo Jinboson.
    • ๐Ÿ›  [Protractor] Fixed alert handling error with message 'no such alert' by @truesrc.
  • v1.2.1 Changes

    • ๐Ÿ›  Fixed running I.retry() on multiple steps.
    • ๐Ÿ›  Fixed parallel execution wih chunks.
    • ๐Ÿ›  [Puppeteer] Fixed grabNumberOfVisibleElements to return 0 instead of throwing error if no elements are found.