Skip to content

Commit eecd31b

Browse files
authored
Prepare CodeceptJS to 3.0.0-beta.4 (#2461)
* Prepare CodeceptJS to 3.0.0-beta.4 * fix * fix * fix * fix
1 parent 4d9acf0 commit eecd31b

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 3.0.0-beta.4
2+
3+
🐛 Bug Fix:
4+
* PageObject was broken when using "this" inside a simple object.
5+
* The typings for all WebDriver methods work correctly.
6+
* The typings for "this.helper" and helper constructor work correctly, too.
7+
8+
🧤 Internal:
9+
* Our TS Typings will be tested now! We strarted using [dtslint](https://github.com/microsoft/dtslint) to check all typings and all rules for linter.
10+
Example:
11+
```ts
12+
const psp = wd.grabPageScrollPosition() // $ExpectType Promise<PageScrollPosition>
13+
psp.then(
14+
result => {
15+
result.x // $ExpectType number
16+
result.y // $ExpectType number
17+
}
18+
)
19+
```
20+
* And last: Reducing package size from 3.3Mb to 2.0Mb
21+
122
## 3.0.0-beta-3
223

324
> [ 👌 **LEARN HOW TO UPGRADE TO CODECEPTJS 3 ➡**](https://bit.ly/codecept3Up)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeceptjs",
3-
"version": "3.0.0-beta.3",
3+
"version": "3.0.0-beta.4",
44
"description": "Supercharged End 2 End Testing Framework for NodeJS",
55
"keywords": [
66
"acceptance",

0 commit comments

Comments
 (0)