You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,81 @@ layout: Section
7
7
8
8
# Releases
9
9
10
+
## 3.3.5
11
+
12
+
🛩️ Features
13
+
14
+
* Added **[TypeScript option](/typescript)** for installation via `codeceptjs init` to initialize new projects in TS (by **[PeterNgTr](https://github.com/PeterNgTr)** and **[davertmik](https://github.com/davertmik)**)
15
+
* Include `node-ts` automatically when using TypeScript setup
16
+
* Added TS types for CodeceptJS config. Update `codecept.conf.js` to get intellisense when writing config file:
***[Puppeteer]** Fixed support for Puppeteer > 14.4 by **[PeterNgTr](https://github.com/PeterNgTr)**
34
+
* Don't report files as existing when non-directory is in path by **[jonathanperret](https://github.com/jonathanperret)**. See [#3374](https://github.com/codeceptjs/CodeceptJS/issues/3374)
35
+
* Fixed TS type for `secret` function by **[PeterNgTr](https://github.com/PeterNgTr)**
36
+
* Fixed wrong order for async MetaSteps by **[dwentland24](https://github.com/dwentland24)**. See [#3393](https://github.com/codeceptjs/CodeceptJS/issues/3393)
37
+
* Fixed same param substitution in BDD step. See [#3385](https://github.com/codeceptjs/CodeceptJS/issues/3385) by **[snehabhandge](https://github.com/snehabhandge)**
38
+
39
+
📖 Documentation
40
+
41
+
* Updated [configuration options](https://codecept.io/configuration/) to match TypeScript types
42
+
* Updated [TypeScript documentation](https://codecept.io/typescript/) on simplifying TS installation
43
+
* Added codecept-tesults plugin documentation by **[ajeetd](https://github.com/ajeetd)**
44
+
45
+
46
+
47
+
## 3.3.4
48
+
49
+
* Added support for masking fields in objects via `secret` function:
* Added [a guide about using of `secret`](/secrets) function
55
+
***[Appium]** Use `touchClick` when interacting with elements in iOS. See [#3317](https://github.com/codeceptjs/CodeceptJS/issues/3317) by **[mikk150](https://github.com/mikk150)**
56
+
***[Playwright]** Added `cdpConnection` option to connect over CDP. See [#3309](https://github.com/codeceptjs/CodeceptJS/issues/3309) by **[Hmihaly](https://github.com/Hmihaly)**
57
+
*[customLocator plugin] Allowed to specify multiple attributes for custom locator. Thanks to **[aruiz-caritsqa](https://github.com/aruiz-caritsqa)**
58
+
59
+
```js
60
+
plugins: {
61
+
customLocator: {
62
+
enabled:true,
63
+
prefix:'$',
64
+
attribute: ['data-qa', 'data-test'],
65
+
}
66
+
}
67
+
```
68
+
*[retryTo plugin] Fixed [#3147](https://github.com/codeceptjs/CodeceptJS/issues/3147) using `pollInterval` option. See [#3351](https://github.com/codeceptjs/CodeceptJS/issues/3351) by **[cyonkee](https://github.com/cyonkee)**
69
+
***[Playwright]** Fixed grabbing of browser console messages and window resize in new tab. Thanks to **[mirao](https://github.com/mirao)**
70
+
***[REST]** Added `prettyPrintJson` option to print JSON in nice way by **[PeterNgTr](https://github.com/PeterNgTr)**
71
+
***[JSONResponse]** Updated response validation to iterate over array items if response is array. Thanks to **[PeterNgTr](https://github.com/PeterNgTr)**
Copy file name to clipboardExpand all lines: docs/community-helpers.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,16 @@ editLink: false
9
9
10
10
Here is the list of helpers created by our community.
11
11
Please **add your own** by editing this page.
12
+
## Webhooks
13
+
14
+
*[codeceptjs-webhook-helper](https://github.com/onemolegames/codeceptjs-webhook-helper) - to check webhook calls during the tests.
12
15
13
16
## Email Checking
14
17
15
18
*[MailCatcher](https://gist.github.com/schmkr/026732dfa1627b927ff3a08dc31ee884) - to check emails via Mailcatcher locally.
16
19
*[codeceptjs-mailhog-helper](https://github.com/tsuemura/codeceptjs-mailhog-helper) - to check emails via Mailhog locally.
20
+
*[codeceptjs-testmailapp-helper](https://github.com/pavkam/codeceptjs-testmailapp-helper) - to check emails via Testmail.app service.
21
+
*[codeceptjs-mailosaurhelper](https://github.com/yurkovychv/codeceptjs-mailosaur) - to check emails via [Mailosaur](https://mailosaur.com/) service.
17
22
18
23
## Data Sources
19
24
@@ -32,15 +37,13 @@ Please **add your own** by editing this page.
32
37
## Visual-Testing
33
38
*[codeceptjs-resemblehelper](https://github.com/puneet0191/codeceptjs-resemblehelper) - a helper which helps with visual testing using resemble.js.
34
39
*[codeceptjs-applitoolshelper](https://www.npmjs.com/package/codeceptjs-applitoolshelper) - a helper which helps interaction with [Applitools](https://applitools.com)
40
+
*[codeceptjs-pixelmatchhelper](https://github.com/stracker-phil/codeceptjs-pixelmatchhelper) - a helper that integrates pixelmatch for visual testing.
35
41
36
42
## Reporters
37
43
*[codeceptjs-rphelper](https://github.com/reportportal/agent-js-codecept) is a CodeceptJS helper which can publish tests results on ReportPortal after execution.
38
44
*[codeceptjs-xray-helper](https://www.npmjs.com/package/codeceptjs-xray-helper) is a CodeceptJS helper which can publish tests results on [XRAY](https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results+-+REST).
39
45
*[codeceptjs-slack-reporter](https://www.npmjs.com/package/codeceptjs-slack-reporter) Get a Slack notification when one or more scenarios fail.
40
-
*[codeceptjs-tesults](https://www.npmjs.com/package/codeceptjs-tesults) Report test results data from CodeceptJS to Tesults with this plugin.
41
-
42
-
## Page Object Code Generator
43
-
*[codeceptjs-CodeGenerator](https://github.com/senthillkumar/CodeCeptJS-PageObject) is a CodeceptJS custom wrapper which can create page class with action methods from the page object file(JSON) and project setup(Folder Structure).
46
+
*[codeceptjs-browserlogs-plugin](https://github.com/pavkam/codeceptjs-browserlogs-plugin) Record the browser logs for failed tests.
44
47
45
48
## Browser request control
46
49
*[codeceptjs-resources-check](https://github.com/luarmr/codeceptjs-resources-check) Load a URL with Puppeteer and listen to the requests while the page is loading. Enabling count the number or check the sizes of the requests.
This repository contains complete E2E framework for CodeceptJS with Cucumber and SauceLabs Integration
35
35
36
-
End 2 end tests for [Bugira Bugtracker](https://bugira.com) app built with Rails & EmberJS. Bugira is a SaaS application that helps collecting users' feedbacks and transforming them into professional bug reports.
36
+
* CodecepJS-Cucumber E2E Framework
37
+
* Saucelabs Integration
38
+
* Run Cross Browser tests in Parallel on SauceLabs with a simple command
39
+
* Run tests on `chrome:headless`
40
+
* Page Objects
41
+
*`Should.js` Assertion Library
42
+
* Uses `wdio` service (selenium-standalone, sauce)
43
+
* Allure HTML Reports
44
+
* Uses shared Master configuration
45
+
* Sample example and feature files of GitHub Features
Test automation by ModusCreate agency with NightmareJS.
107
-
108
-
This repository demonstrates usage of:
109
-
110
-
* Nightmare helper
111
-
* Reports with Mochawesome
112
-
* Docker
113
-
* Page objects and page fragments
114
-
115
102
## [AngularJS Example Tests](https://github.com/armno/angular-e2e-codeceptjs-example)
116
103
117
104
Based on [Setting up End-to-End Testing in Angular Project with CodeceptJS](https://medium.com/@armno/setting-up-end-to-end-testing-in-angular-project-with-codeceptjs-ac1784de3420) post by Armno Prommarak.
@@ -147,12 +134,16 @@ This is a ready to use example that shows how to integrate CodeceptJS with Puppe
147
134
* examples for sequential and parallel execution
148
135
* generation of allure test results
149
136
150
-
## [Framework with UI and API test support : CodeceptJS , Puppeteer , REST , ESLint](https://github.com/avighub/CodeceptJS-puppeteer)
151
-
This is a basic framework with Puppeteer , REST helpers which can support both UI and API actions within same test.
152
-
More improvements and features will be added and will be updated.
153
-
Suggestions and improvements are welcome , please raise a ticket in Issue tab.
137
+
## [Example for Advanced REST API testing: TypeScript, Axios, CodeceptJS, Jest Expect, Docker, Allure, Mock-Server, Prettier + Eslint, pre-commit, Jest Unit Tests ](https://github.com/EgorBodnar/rest-axios-codeceptjs-allure-docker-test-example)
138
+
One button example with built-in mocked backend.
139
+
140
+
If you already have a UI testing solution based on the CodeceptJS and you need to implement advanced REST API testing you can just extend your existing framework. Use this implementation as an example.
141
+
This is necessary if all integrations with TMS and CI/CD are already configured, and you do not want to reconnect and configure the plugins and libraries used for the new test runner. Use CodeceptJS!
154
142
155
-
* Step by step setup in README
156
-
* Two helpers are added. UI - Puppeteer , API - REST and chai-codeceptJS for assetion
157
-
* ESLint for code check
158
-
* Upcoming : API generic functions , Adaptor design pattern , More utilities
143
+
* Easy run
144
+
* Detailed README
145
+
* Well documented mocked backend's REST API endpoints
146
+
* HTTP request client with session support and unit tests
147
+
* Exemplary code control
148
+
* Ready to launch in a CI/CD system as is
149
+
* OOP, Test data models and builders, endpoint decorators
0 commit comments