Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -179,6 +179,23 @@ suite('battery manager >', function() {
assertDisplayed();
});
test('a previous timeout does not hide a new notification', function(done) {
subject.hide();
subject.TOASTER_TIMEOUT = 50;
subject._wasEmptyBatteryNotificationDisplayed = false;
MockNavigatorBattery.level = 0.05;
sendChargingChange(false);
setTimeout(function() {
sendChargingChange(true);
sendChargingChange(false);
setTimeout(function() {
assertDisplayed();
subject.hide();
done();
}, 25);
}, 30);
});
suite('goes up >', function() {
setup(function() {
sendLevelChange(0.2);