From bd8bd5a33754a791b77a4dc7fe9e5b290b8be262 Mon Sep 17 00:00:00 2001 From: campersau Date: Sat, 12 Sep 2020 13:09:24 +0200 Subject: [PATCH 1/2] use waitForTimeout https://github.com/puppeteer/puppeteer/pull/6268 --- clicktests/environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clicktests/environment.js b/clicktests/environment.js index 2b7328258..e341f6d93 100644 --- a/clicktests/environment.js +++ b/clicktests/environment.js @@ -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) { From 111e878386d153055b6818a1bbd45d58d4f27c8e Mon Sep 17 00:00:00 2001 From: campersau Date: Sat, 12 Sep 2020 13:21:45 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c173aae0..c9eb28724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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