notifications: Clearer test images
This commit is contained in:
parent
b8ad91735a
commit
df26a06cb5
|
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 |
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue