Skip to content

Commit

Permalink
updated changelog (#3742)
Browse files Browse the repository at this point in the history
* updated changelog

* increase worker timeout

* fixed tests, removed extra dependencies
  • Loading branch information
DavertMik committed Jul 10, 2023
1 parent 92bc006 commit f43c64c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ updates:
schedule:
interval: "weekly"
target-branch: "3.x"
ignore:
- dependency-name: "escape-string-regexp"
versions: [">=5.0"]
- dependency-name: "apollo-server-express"
versions: [">=3.0"]

20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 3.5.1

🛩️ Features

* [Puppeteer][WebDriver][TestCafe] Added methods by @KobeNguyenT in #3737
* `blur`
* `focus`
* Improved BDD output to print steps without `I.` commands` by @davertmik #3739
* Improved `codecept init` setup for Electron tests by @KobeNguyenT. See #3733

🐛 Bug Fixes

* Fixed serializing of custom errors making tests stuck. Fix #3739 by @davertmik.

📖 Documentation

* Fixed Playwright docs by @Horsty80
* Fixed ai docs by @ngraf
* Various fixes by @KobeNguyenT

## 3.5.0

🛩️ Features
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeceptjs",
"version": "3.5.0",
"version": "3.5.1",
"description": "Supercharged End 2 End Testing Framework for NodeJS",
"keywords": [
"acceptance",
Expand Down Expand Up @@ -88,9 +88,7 @@
"lodash.merge": "^4.6.2",
"mkdirp": "^1.0.4",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^1.23.3",
"ms": "^2.1.3",
"npm": "^9.6.7",
"openai": "^3.2.1",
"ora-classic": "^5.4.2",
"parse-function": "^5.6.4",
Expand Down
4 changes: 2 additions & 2 deletions test/runner/run_multiple_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('CodeceptJS Multiple Runner', function () {

it('should run features in parallel', (done) => {
process.chdir(codecept_dir);
exec(`${runner} run-multiple --config codecept.multiple.features.js chunks --features`, (err, stdout) => {
exec(`${runner} run-multiple --config codecept.multiple.features.js chunks --features --grep '(?=.*)^(?!.*@fail)'`, (err, stdout) => {
stdout.should.include('[1.chunks:chunk1:default] Checkout examples process');
stdout.should.not.include('[2.chunks:chunk2:default] Checkout examples process');
stdout.should.include('[2.chunks:chunk2:default] Checkout string');
Expand All @@ -153,7 +153,7 @@ describe('CodeceptJS Multiple Runner', function () {

it('should run features & tests in parallel', (done) => {
process.chdir(codecept_dir);
exec(`${runner} run-multiple --config codecept.multiple.features.js chunks`, (err, stdout) => {
exec(`${runner} run-multiple --config codecept.multiple.features.js chunks --grep '(?=.*)^(?!.*@fail)'`, (err, stdout) => {
stdout.should.include('@feature_grep');
stdout.should.include('Checkout examples process');
stdout.should.include('Checkout string');
Expand Down
4 changes: 3 additions & 1 deletion test/unit/worker_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const { expect } = require('chai');
const path = require('path');
const { Workers, event, recorder } = require('../../lib/index');

describe('Workers', () => {
describe('Workers', function () {
this.timeout(40000);

before(() => {
global.codecept_dir = path.join(__dirname, '/../data/sandbox');
});
Expand Down

0 comments on commit f43c64c

Please sign in to comment.