diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-25 20:45:11 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-27 15:30:02 +0100 |
commit | df26a06cb50a8ef1fbdb748625bcf79cf9ef2258 (patch) | |
tree | e606dafed1960ac5d381caf272e537c1575ea15c /tests/end2end | |
parent | b8ad91735abbca038127a1b239adfd943c281d92 (diff) | |
download | qutebrowser-df26a06cb50a8ef1fbdb748625bcf79cf9ef2258.tar.gz qutebrowser-df26a06cb50a8ef1fbdb748625bcf79cf9ef2258.zip |
notifications: Clearer test images
Diffstat (limited to 'tests/end2end')
-rw-r--r-- | tests/end2end/data/downloads/qutebrowser.png (renamed from tests/end2end/data/img/qutebrowser.png) | bin | 4278 -> 4278 bytes | |||
-rw-r--r-- | tests/end2end/data/img/qutebrowser-noalpha.png | bin | 16870 -> 0 bytes | |||
-rw-r--r-- | tests/end2end/data/javascript/img/rgb.png | bin | 0 -> 3376 bytes | |||
-rw-r--r-- | tests/end2end/data/javascript/img/rgba.png | bin | 0 -> 2181 bytes | |||
-rw-r--r-- | tests/end2end/data/javascript/notifications.html | 4 | ||||
-rw-r--r-- | tests/end2end/features/downloads.feature | 2 |
6 files changed, 3 insertions, 3 deletions
diff --git a/tests/end2end/data/img/qutebrowser.png b/tests/end2end/data/downloads/qutebrowser.png Binary files differindex e8bbb6b56..e8bbb6b56 100644 --- a/tests/end2end/data/img/qutebrowser.png +++ b/tests/end2end/data/downloads/qutebrowser.png diff --git a/tests/end2end/data/img/qutebrowser-noalpha.png b/tests/end2end/data/img/qutebrowser-noalpha.png Binary files differdeleted file mode 100644 index 77fbadb1c..000000000 --- a/tests/end2end/data/img/qutebrowser-noalpha.png +++ /dev/null diff --git a/tests/end2end/data/javascript/img/rgb.png b/tests/end2end/data/javascript/img/rgb.png Binary files differnew file mode 100644 index 000000000..7d5696383 --- /dev/null +++ b/tests/end2end/data/javascript/img/rgb.png diff --git a/tests/end2end/data/javascript/img/rgba.png b/tests/end2end/data/javascript/img/rgba.png Binary files differnew file mode 100644 index 000000000..2117b6821 --- /dev/null +++ b/tests/end2end/data/javascript/img/rgba.png diff --git a/tests/end2end/data/javascript/notifications.html b/tests/end2end/data/javascript/notifications.html index 4c871b932..ad8acf3c0 100644 --- a/tests/end2end/data/javascript/notifications.html +++ b/tests/end2end/data/javascript/notifications.html @@ -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> diff --git a/tests/end2end/features/downloads.feature b/tests/end2end/features/downloads.feature index 9ce6cee83..1433f4c0a 100644 --- a/tests/end2end/features/downloads.feature +++ b/tests/end2end/features/downloads.feature @@ -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 |