Skip to content

Commit d1b9690

Browse files
committed
changed updateDom in weather.js to stabilize weather e2e tests
1 parent 6a6da10 commit d1b9690

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Thanks to: @dathbe.
2121
- [tests] refactor: simplify jest config file (#3844)
2222
- [tests] refactor: extract constants for weather electron tests (#3845)
2323
- [tests] replace `console` with `Log` in calendar `debug.js` to avoid exception in eslint config (#3846)
24-
- [tests] speed up e2e tests (#3847)
24+
- [tests] speed up e2e tests, cleanup and stabilize weather e2e tests (#3847, #3848)
2525

2626
### Updated
2727

modules/default/weather/weather.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ Module.register("weather", {
163163
// What to do when the weather provider has new information available?
164164
updateAvailable () {
165165
Log.log("New weather information available.");
166-
this.updateDom(0);
166+
// this value was change from 0 to 300 to stabilize weather tests:
167+
this.updateDom(300);
167168
this.scheduleUpdate();
168169

169170
if (this.weatherProvider.currentWeather()) {

0 commit comments

Comments
 (0)