notifications: Clearer test images

This commit is contained in:
Florian Bruhin 2021-03-25 20:45:11 +01:00
parent b8ad91735a
commit df26a06cb5
6 changed files with 3 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -67,14 +67,14 @@
function show_image_notification() {
get_notification_permission(() => {
// For manual testing
let notification = new Notification("qutebrowser logo", { icon: '/data/img/qutebrowser.png' });
let notification = new Notification("RGBA", { icon: 'img/rgba.png' });
});
}
function show_image_notification_noalpha() {
get_notification_permission(() => {
// For manual testing
let notification = new Notification("qutebrowser logo", { icon: '/data/img/qutebrowser-noalpha.png' });
let notification = new Notification("RGB", { icon: 'img/rgb.png' });
});
}
</script>

View File

@ -31,7 +31,7 @@ Feature: Downloading things from a website.
Scenario: Using :download with no URL on an image
When I set downloads.location.prompt to false
And I open data/img/qutebrowser.png
And I open data/downloads/qutebrowser.png
And I run :download
And I wait until the download is finished
Then the downloaded file qutebrowser.png should exist