All Versions
131
Latest Version
Avg Release Cycle
17 days
Latest Release
-
Changelog History
Page 8
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 navigationclickLink
method added. Performs a click and waits for navigation.
- Bootstrap scripts to be started only for
run
command and ignored onlist
,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
- ๐ Fixed setting config for plugins (inclunding setting
-
v1.4.1 Changes
- โ Added
plugins
option torun-multiple
- ๐ Minor output fixes
- โ Added Type Definition for Helper class by @Akxe
- ๐ Fixed extracing devault extension in generators by @Akxe
- โ Added
-
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 torun-multiple
command by @svarlet
-
v1.3.3 Changes
- โ Added
initGlobals()
function to API of custom runner.
- โ Added
-
v1.3.2 Changes
- Interactve Shell improvements for
pause()
- Added
next
command for step-by-step debug when usingpause()
. - Use
After(pause);
in a to start interactive console after last step.
- Added
- โก๏ธ [Puppeteer] Updated to Puppeteer 1.6.0
- Added
waitForRequest
to wait for network request. - Added
waitForResponse
to wait for network response.
- Added
- ๐ Improved TypeScript definitions to support custom steps and page objects. By @xt1
- ๐ Fixed XPath detection to accept XPath which starts with
./
by @BenoitZugmeyer
- Interactve Shell improvements for
-
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
- ๐ Cucumber-style BDD. Introduced Gherkin support. Thanks to David Vins and Omedym for sponsoring this feature.
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
.
- to see high-level steps only run tests with
- โก๏ธ 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 APIgetPageTimeout
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 ofwaitForFunction
. - โ 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 toseeElement
. 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 return0
instead of throwing error if no elements are found.
- ๐ Fixed running