Skip to content

Commit

Permalink
Use page.waitForTimeout API in tests (#1422)
Browse files Browse the repository at this point in the history
* use waitForTimeout

puppeteer/puppeteer#6268

* update changelog
  • Loading branch information
campersau committed Sep 12, 2020
1 parent 3939768 commit 1d8b903
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,10 @@ We are following the [Keep a Changelog](https://keepachangelog.com/) format.

## [Unreleased](https://github.com/FredrikNoren/ungit/compare/v1.5.10...master)

### Changed
- Use page.waitForTimeout API in tests [#1422](https://github.com/FredrikNoren/ungit/pull/1422)
- Bump Dependencies [#1417](https://github.com/FredrikNoren/ungit/pull/1417)

## [1.5.10](https://github.com/FredrikNoren/ungit/compare/v1.5.9...v1.5.10)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion clicktests/environment.js
Expand Up @@ -249,7 +249,7 @@ class Environment {
return this.page.waitForSelector(selector, { hidden: true });
}
wait(duration) {
return this.page.waitFor(duration);
return this.page.waitForTimeout(duration);
}

type(text) {
Expand Down

0 comments on commit 1d8b903

Please sign in to comment.