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

Update template to include test for releaseable builds #92

Merged
merged 2 commits into from Sep 12, 2018

Conversation

@srirambv
Copy link
Contributor

srirambv commented Sep 10, 2018

No description provided.

@srirambv srirambv added the testsheet label Sep 10, 2018
@srirambv srirambv self-assigned this Sep 10, 2018
@srirambv srirambv requested review from bbondy and kjozwiak Sep 10, 2018

### Crash verification
- [ ] Verify these [crash issues](https://github.com/brave/brave-browser/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22Releasable+builds+0.55.x%22+label%3Acrash+is%3Aclosed++label%3AQA%2FNeeded) have not regressed
- [ ] Verify these [webview crash issues](https://github.com/brave/brave-browser/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22Releasable+builds+0.55.x%22+label%3Acrash/webview+is%3Aclosed++label%3AQA%2FNeeded) have not regressed

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

I don't think we're at risk in general of the crashes regressing, so I don't think we need to spend time on these on each release.

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

Agreed, not sure if it's the best idea keep going through all those crashes to make sure they haven't regressed. Getting stats.brave into a better state would be a better idea to keep an eye on crash rates coming in on the different channels.

- [ ] Test that an old extension gets updated to a new one from an old profile on Google server
- [ ] Test that an old extension gets updated to a new one from an old profile on Brave server
- [ ] Verify magnet links loads Torrent viewer page and able to download torrent

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

You can add .torrent files too, that will land probably today.

- [ ] Test that you can log into Netflix and start a show from a fresh profile
### CWS

- [ ] Verify installing uBO/ABP from CWS shows warning message `NOT A RECOMMENDED BRAVE EXTESION!`but still gets installed

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

I think you can just pick a single extension. Doesn't have to be uBlock or ABP either.


- [ ] Verify installing uBO/ABP from CWS shows warning message `NOT A RECOMMENDED BRAVE EXTESION!`but still gets installed
- [ ] Verify installing LastPass from CWS doesn't show any warning message
- [ ] Verify installing an extesion that is not vetted by Brave gets blocked

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

not vetted extensions can still be installed, just gives a warning. We don't have any blocked yet so probably just remove this?

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

I think we should keep this but change the case to make sure that none vetted extensions correctly warn the user before installation. Risk missing a regression where warnings stop working. Could be really bad if users start complaining that Brave didn't warn them and they installed a bad actor extension.

This comment has been minimized.

Copy link
@srirambv

srirambv Sep 11, 2018

Author Contributor

Would suggest to test all three allowed/vetted but allowed/ blocked just so we cover all possible scenarios

### PDF

- [ ] Test that you can print a PDF
- [ ] Test that PDF is loaded over https at https://basicattentiontoken.org/BasicAttentionTokenWhitePaper-4.pdf

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

nit: HTTPS


#### Adblock

- [ ] Verify the execeptions in `brave/common/shield_exceptions.cc` work

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

We have automated for this so you can probably just remove this.


## Yet to implement

- Keyboard Shortcuts

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

What's left for that?

This comment has been minimized.

Copy link
@srirambv

srirambv Sep 11, 2018

Author Contributor

Custom shortcuts that would be added for Brave. Tor tab, preferences, reopen last window etc...

Copy link
Member

bbondy left a comment

Some inline comments

- [ ] Verify these [webview crash issues](https://github.com/brave/brave-browser/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22Releasable+builds+0.55.x%22+label%3Acrash/webview+is%3Aclosed++label%3AQA%2FNeeded) have not regressed


### Installer

- [ ] Check that installer is close to the size of last release.

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

@bbondy will we be mostly using stub installers? If that's the case, we'll need to change this as it's not really a valid check as the application we'll be pulled/installed from a remote server. If we're going to support both regular binaries and stub installers, we should add another case similar to the following:

  • Install brave using the stub installer and ensure the installed profile is similar in size to the previous version

This comment has been minimized.

Copy link
@srirambv

srirambv Sep 11, 2018

Author Contributor

I retained that test for the offline installer for Windows. These setup related tests are blocked on brave/omaha#4

- [ ] Verify these [webview crash issues](https://github.com/brave/brave-browser/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22Releasable+builds+0.55.x%22+label%3Acrash/webview+is%3Aclosed++label%3AQA%2FNeeded) have not regressed


### Installer

- [ ] Check that installer is close to the size of last release.
- [ ] Check signature: If OS Run `spctl --assess --verbose /Applications/Brave-Browser.app/` and make sure it returns `accepted`. If Windows right click on the installer exe and go to Properties, go to the Digital Signatures tab and double click on the signature. Make sure it says "The digital signature is OK" in the popup window.

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

I know the current QA team will know that the spctl --assess --verbose /Applications/Brave-Browser.app/ might differ while on different channels but we should explicitly mention which locations need to be checked depending on the channel. Example: spctl --assess --verbose /Applications/Brave-Browser-Dev.app/. I think it will also help contributors once we start trying to get more folks involved in brave-core.

@bbondy @srirambv thoughts?

We should also find out a way if there's a way of checking the signatures on Linux (at least Ubunutu).

This comment has been minimized.

Copy link
@srirambv

srirambv Sep 11, 2018

Author Contributor

Agreed. changed it to beta since that is where most of the feature/regression fix testing will happen once we have proper channels for testing.

- [ ] Verify these [webview crash issues](https://github.com/brave/brave-browser/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22Releasable+builds+0.55.x%22+label%3Acrash/webview+is%3Aclosed++label%3AQA%2FNeeded) have not regressed


### Installer

- [ ] Check that installer is close to the size of last release.
- [ ] Check signature: If OS Run `spctl --assess --verbose /Applications/Brave-Browser.app/` and make sure it returns `accepted`. If Windows right click on the installer exe and go to Properties, go to the Digital Signatures tab and double click on the signature. Make sure it says "The digital signature is OK" in the popup window.
- [ ] Check Brave and Chromium version in chrome://about

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

Should be chrome://version/ and not chrome://about

This comment has been minimized.

Copy link
@srirambv

srirambv Sep 11, 2018

Author Contributor

Removed it as it was checked again in about page section

- [ ] Check that you can import from Google Chrome (We implemented all ourselves)
- [ ] Check that you can import from Firefox (Cookies is all we implemented ourselves)
- [ ] Check that you can import from Edge (No custom code we implemented ourselves)
- [ ] Test chrome://adblock loads adblock page

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

nit: easier to read while going through the manual passes if formatted chrome://adblock

- [ ] Check that you can import from Firefox (Cookies is all we implemented ourselves)
- [ ] Check that you can import from Edge (No custom code we implemented ourselves)
- [ ] Test chrome://adblock loads adblock page
- [ ] Test chrome://rewards loads Brave rewards page

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

nit: easier to read while going through the manual passes if formatted chrome://rewards

- [ ] Check that you can import from Edge (No custom code we implemented ourselves)
- [ ] Test chrome://adblock loads adblock page
- [ ] Test chrome://rewards loads Brave rewards page
- [ ] Test chrome://newtab loads a new tab

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

nit: easier to read while going through the manual passes if formatted chrome://newtab

- [ ] Test chrome://adblock loads adblock page
- [ ] Test chrome://rewards loads Brave rewards page
- [ ] Test chrome://newtab loads a new tab
- [ ] Test chrome://welcome loads the welcome page

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

nit: easier to read while going through the manual passes if formatted chrome://welcome

- [ ] Test chrome://rewards loads Brave rewards page
- [ ] Test chrome://newtab loads a new tab
- [ ] Test chrome://welcome loads the welcome page
- [ ] Test chrome://version correctly shows Brave version and Chromium version

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

nit: easier to read while going through the manual passes if formatted chrome://version


- [ ] Test that you can print a PDF
- [ ] Test that PDF is loaded over https at https://basicattentiontoken.org/BasicAttentionTokenWhitePaper-4.pdf
- [ ] Test that PDF is loaded over http at http://www.pdf995.com/samples/pdf.pdf

This comment has been minimized.

Copy link
@kjozwiak

kjozwiak Sep 11, 2018

Member

same nit as @bbondy above: HTTP (protocols should always be capitalized)

@srirambv
Copy link
Contributor Author

srirambv commented Sep 11, 2018

ready for review

- Sync
- Tor private tabs
- Manual Update tests from older version
- Test that updating using `BRAVE_UPDATE_VERSION=0.8.3` env variable works correctly.

This comment has been minimized.

Copy link
@bbondy

bbondy Sep 11, 2018

Member

Is this valid in this codebase? I don't think so.

This comment has been minimized.

Copy link
@srirambv

srirambv Sep 11, 2018

Author Contributor

No just kept it for reference to verify for offline installer once that is available

@bbondy
bbondy approved these changes Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.