Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Turn off/on state isn't retained for the P3A switch after the browser restart #6537

Closed
GeetaSarvadnya opened this issue Dec 2, 2022 · 1 comment · Fixed by #6565
Closed

Comments

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Dec 2, 2022

Description:

Turn off/on state isn't retained for the P3A switch after the browser restart

Steps to Reproduce

Case 1:

  1. Clean profile 1.46 (22.12.1.21)
  2. Open settings
  3. Navigate to Brave Shields & Privacy
  4. Scroll down to Privacy settings
  5. Turn off the Allow privacy-preserving product analysis (P3A) switch
  6. Restart the browser (remove app from memory and relaunch)
  7. P3A switch is turned ON after the browser restart

Case 2:

  1. Clean profile 1.46 (22.12.1.21)
  2. Ensured P3A modal is shown in the onbrading after Set Default card/slide
  3. Turn off the Show anonymus, private product insights switch
  4. Navigate to Brave Shields & Privacy
  5. Scroll down to Privacy settings
  6. Ensured Allow privacy-preserving product analysis (P3A) switch is OFF
  7. Turn on the Allow privacy-preserving product analysis (P3A) switch
  8. Restart the browser (remove app from memory and relaunch)
  9. P3A switch is turned OFF after the browser restart

Case 3:

  1. Clean profile 1.45.x
  2. Upgrade profile to 1.46 (22.12.1.21)
  3. Ensured P3A modal is shown on the 1st launch in an upgraded profile
  4. Turn off the Show anonymus, private product insights switch
  5. Go to Brave Shields & Privacy
  6. Scroll down to Privacy settings
  7. Ensured Allow privacy-preserving product analysis (P3A) switch is OFF
  8. Turn ON the switch Allow privacy-preserving product analysis (P3A)
  9. Restart the browser (remove app from memory and relaunch)
  10. P3A switch is turned OFF after the browser restart

Actual result:
Turn off/on state isn't retained for the P3A switch after the browser restart

Expected result:
Turn off/on state should be retained for the P3A switch after the browser restart

Reproduces how often: [Easily reproduced, Intermittent Issue]
Easy

Brave Version:

1.46 (22.12.1.21)
Device details:

iPhone 8 - iOS 16.1.1
Website problems only:

  • did you check with Brave Shields down?NA
  • did you check in Safari/Firefox (WkWebView-based browsers)? NA

Additional Information

cc : @brave/qa-team @kylehickinson @anthonypkeane

@kylehickinson kylehickinson self-assigned this Dec 2, 2022
@kylehickinson kylehickinson added this to the 1.46 milestone Dec 2, 2022
@GeetaSarvadnya GeetaSarvadnya changed the title Turn off state isn't retained for the P3A switch after the browser restart Turn off/on state isn't retained for the P3A switch after the browser restart Dec 2, 2022
@GeetaSarvadnya
Copy link
Author

Verification PASSED on iPhone 8 version 16.1.1 running Brave Dev 1.46 (22.12.6.19)

  • Verified the cases from the description and ensured the switch state is retained upon browser restart

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

Successfully merging a pull request may close this issue.

2 participants