Skip to content

Bump codeceptjs from 3.1.2 to 3.1.3

scriptuser requested to merge dependabot-npm_and_yarn-codeceptjs-3.1.3 into master

Bumps codeceptjs from 3.1.2 to 3.1.3.

Changelog

Sourced from codeceptjs's changelog.

3.1.3

🛩️ Features:

  • BDD Improvement. Added DataTableArgument class to work with table data structures.
const { DataTableArgument } = require('codeceptjs');
//...
Given('I have an employee card', (table) => {
  const dataTableArgument = new DataTableArgument(table);
  const hashes = dataTableArgument.hashes(); 
  // hashes = [{ name: 'Harry', surname: 'Potter', position: 'Seeker' }];
  const rows = dataTableArgument.rows();
  // rows = [['Harry', 'Potter', Seeker]];
  }

See updated BDD section for more API options.

  • Support cjs file extensions for config file: codecept.conf.cjs. See #3052 by @​kalvenschraut
  • API updates: Added test.file and suite.file properties to test and suite objects to use in helpers and plugins.

🐛 Bugfixes:

📖 Documentation:

Commits
  • a303f77 updated changelog
  • 110b8fe version bump (#3058)
  • 9a77e5b Enhancement to optionally link feature files to helper files (#3051)
  • f5f475a Fixed TS definitions of Appium methods touchPerform, hideDeviceKeyboard, remo...
  • eb5de50 Recorder range error (#3057)
  • 763c221 Merge branch '3.x' of github.com:codeceptjs/CodeceptJS into 3.x
  • b4f7061 Playwright I.haveRequestHeaders should affect all the tabs (#3049)
  • ff3e7c2 improve(config): Support cjs file extensions for config file (#3052)
  • 5c8ee39 Fixed unhandled empty feature files (#3046)
  • fbbd1ac Update webdriverio default version (#3043)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports