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

Cases for HackDay with Madhavi - November 30 #388

Closed
5 of 6 tasks
kjozwiak opened this issue Nov 30, 2021 · 1 comment
Closed
5 of 6 tasks

Cases for HackDay with Madhavi - November 30 #388

kjozwiak opened this issue Nov 30, 2021 · 1 comment

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Nov 30, 2021

Desktop Cases

  • Test #1: Confirm Brave Rewards is using the staging environment

Reference: https://github.com/brave/brave-browser/releases

  • Launch Brave Nightly using the terminal/command line with these switches:
    • if using macOS: /Applications/Brave\ Browser\ Nightly.app/Contents/MacOS/Brave\ Browser\ Nightly --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true
    • if using Windows: brave.exe --enable-logging=stderr --vmodule=""*/variations/*"=6,"*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/brave_ads/*"=9" --brave-ads-staging --brave-ads-debug --rewards=staging=true
    • if using Linux: brave-browser-nightly --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true
  • Navigate to brave://rewards and enable Brave Rewards
  • If you're able to find this URL https://rewards-stg.bravesoftware.com/publishers/prefix-list in the logs, that means that the staging environment is being used and the test passes.

iOS Cases

  • Test #1: Adding media to playlist from an embedded iFrame
    Reference issue: #3923
  • Test #2: Add option to disable 'Add to playlist' toolbar button
    Reference issue: #4234
  • Look for the settings that disables Add to playlist from URL bar.
  • Verify other ways to add items to playlist when its disabled
  • Test #3: Test import/export bookmark feature
  • Install and add a few bookmarks and folders/subfolders
  • Export the bookmarks to a file
  • Move the file to iPhone storage
  • Uninstall and reinstall the browser
  • Import the bookmarks and check if the order is maintained
  • Test #4: Test adding custom feed to Brave News
  • Enable Brave News from settings
  • Disable all sources. (Figure out how to disable all source at once)
  • Go to Add Source and enter the following url https://brave.com/wp-json/wp/v2/pages/27014/
  • Add the custom source and check if you get news feed from Brave
  • Delete all the custom sources you added above
  • Quit and relaunch the browser
  • Verify if you get news feed from Brave

Cases if there's still time left

Following are a few cases that we can run through if we finish going through the above and we still have some time available:

@kjozwiak
Copy link
Member Author

Closing as we completed the HackDay 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants