-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding PWA checks to desktop passes #404
Conversation
LGTM; ++ - ship it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+ - thanks for jumping on this!
@@ -35,6 +35,17 @@ | |||
- [ ] Verify that opening a NTP doesn't trigger any outbound connections related to widgets without user interaction | |||
- [ ] Delete Adblock folder from browser profile and restart browser. Visit `brave://components` and verify `Brave Ad Block Updater` downloads and update the component. Repeat for all Brave components | |||
|
|||
#### PWA (Progressive Web Application) | |||
|
|||
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` with `Open as window` selected creates a shortcut and launches a new window without any issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test should be split into two. One where the site asks you to install the PWA and the one where you install a shortcut (Not actually a PWA).
Install App - https://twitter.com
/ https://youtube.com
Install Shortcut - https://cnn.com
/ https://brave.com
- [ ] ensure that a separate PWA window is being opened (this window will not have the URL bar visible) | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut | ||
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed | ||
- [ ] ensure that you can uninstall the PWA via `Hamburger Menu` -> `Uninstall PWA` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need another test for uninstalling the app via brave://apps
which also allows to clear the site data during uninstall
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` without `Open as window` selected creates a shortcut and creates a new tab | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut | ||
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need another test for switching the site to PWA window from the main browser window
- Verify visiting the site in normal browser window provides an option to launch in PWA window if installed as PWA/Shortcut.
|
||
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` with `Open as window` selected creates a shortcut and launches a new window without any issues | ||
- [ ] ensure that a separate PWA window is being opened (this window will not have the URL bar visible) | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut | ||
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed | ||
- [ ] ensure that you can uninstall the PWA via `Hamburger Menu` -> `Uninstall PWA` | ||
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` without `Open as window` selected creates a shortcut and creates a new tab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous one
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` with `Open as window` selected creates a shortcut and launches a new window without any issues | ||
- [ ] ensure that a separate PWA window is being opened (this window will not have the URL bar visible) | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut | ||
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe update the test to mention it can be launched independent of browser process
- [ ] ensure that you can uninstall the PWA via `Hamburger Menu` -> `Uninstall PWA` | ||
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` without `Open as window` selected creates a shortcut and creates a new tab | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut | ||
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated. If the PWA is not created to launch as a separate window it will relaunch the browser process and open it in a new tab
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed | ||
- [ ] ensure that you can uninstall the PWA via `Hamburger Menu` -> `Uninstall PWA` | ||
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` without `Open as window` selected creates a shortcut and creates a new tab | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous one
- [ ] ensure that you can uninstall the PWA via `Hamburger Menu` -> `Uninstall PWA` | ||
- [ ] Verify that creating a PWA via `Hamburger Menu` -> `More tools` -> `Create shortcut...` without `Open as window` selected creates a shortcut and creates a new tab | ||
- [ ] ensure that you can launch the PWA from different locations by moving around the created shortcut | ||
- [ ] ensure that you can launch the PWA via the created shortcut when Brave is closed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous one
Resolves #403