Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

kjozwiak
Copy link
Member

@kjozwiak kjozwiak commented Mar 2, 2022

Resolves #403

@stephendonner
Copy link
Contributor

LGTM; ++ - ship it!

Copy link
Contributor

@stephendonner stephendonner left a 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
Copy link
Contributor

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`
Copy link
Contributor

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

Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as previous one

@kjozwiak kjozwiak closed this Jan 24, 2023
@kjozwiak kjozwiak deleted the pwaVerifications branch January 24, 2023 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cases for PWA (Progress Web Apps) for minor & major chromium upgrades
3 participants