ABCDEFG
1
Android 6.0.1
2
MOCKUPS:https://docs.google.com/presentation/d/1NSqxUiZDUdFrha0TvuNVEV1v2OqmBPc17XaPbzIwWmQ/edit?ts=595487bf#slide=id.g1b33de6276_1_23EXECUTED BY:Cosmin Badescu
3
BUILD ID AND DOWNLOAD LINK:
4
BUG:https://bugzilla.mozilla.org/show_bug.cgi?id=1338370FX BUILD:api-16 (en-US)
5
#TEST CASESTEPSSTATUS ▼ACTUAL
6
Installing from AMO - no permissions requested
7
Check that the pop-up is shown after the user toggle the install buttonPREREQUISITESPASS
8
- create extensions.webextPermissionPrompts and set it to true
9
Launch Firefox with a clean profile and set up the configuration.
10
➨ EXPECTEDFirefox is successfully launched.
11
Go to https://addons.mozilla.org/
12
➨ EXPECTEDThe page is loaded.
13
Choose an extension (https://addons.mozilla.org/en-US/firefox/addon/inlinedisposition-webexts/?src=search) and toggle the install button.
14
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed.
15
Check that there are no permissions promptPREREQUISITESPASS
16
- create extensions.webextPermissionPrompts and set it to true
17
Launch Firefox with a clean profile and set up the configuration.
18
➨ EXPECTEDFirefox is successfully launched.
19
Go to https://addons.mozilla.org/
20
➨ EXPECTEDThe page is loaded.
21
Choose an extension (https://addons.mozilla.org/en-US/firefox/addon/inlinedisposition-webexts/?src=search) and toggle the install button.
22
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed and there are no permissions displayed.
23
Check that the user can terminate the install process from the pop-upPREREQUISITESPASS
24
- create extensions.webextPermissionPrompts and set it to true
25
Launch Firefox with a clean profile and set up the configuration.
26
➨ EXPECTEDFirefox is successfully launched.
27
Go to https://addons.mozilla.org/
28
➨ EXPECTEDThe page is loaded.
29
Choose an extension (https://addons.mozilla.org/en-US/firefox/addon/inlinedisposition-webexts/?src=search) and toggle the install button.
30
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed and there are no permissions displayed.
31
Tap on the "Cancel" button.
32
➨ EXPECTEDThe pop-up is closed and the installation process is interrupted.
33
Check that the install proceeds only after the user has tapped the 'Add' buttonPREREQUISITESPASS
34
- create extensions.webextPermissionPrompts and set it to true
35
Launch Firefox with a clean profile and set up the configuration.
36
➨ EXPECTEDFirefox is successfully launched.
37
Go to https://addons.mozilla.org/
38
➨ EXPECTEDThe page is loaded.
39
Choose an extension (https://addons.mozilla.org/en-US/firefox/addon/inlinedisposition-webexts/?src=search) and toggle the install button.
40
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed and there are no permissions displayed.
41
Tap on the "Add" blue button.
42
➨ EXPECTEDThe system confirms the installation by displaying the confirmation snackbar.
The extension is installed and successfully enabled in Add-ons Manager.
43
Installing from AMO - requested permissions
44
Check that the pop-up is shown after the user toggle the install buttonPREREQUISITESPASS
45
- create extensions.webextPermissionPrompts and set it to true
46
Launch Firefox with a clean profile and set up the configuration.
47
➨ EXPECTEDFirefox is successfully launched.
48
Go to https://addons.mozilla.org/
49
➨ EXPECTEDThe page is loaded.
50
Choose a webextension (https://addons.mozilla.org/en-US/android/addon/ublock-origin/) and toggle the install button.
51
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed.
52
Check that there is a prompt if only one required permission is requestedPREREQUISITESPASS
53
- create extensions.webextPermissionPrompts and set it to true
54
Launch Firefox with a clean profile and set up the configuration.
55
➨ EXPECTEDFirefox is successfully launched.
56
Go to https://addons.mozilla.org/
57
➨ EXPECTEDThe page is loaded.
58
Choose an extension that has only 1 permission declared (https://addons.mozilla.org/en-US/android/addon/open-in-new-tab-domain/) and toggle the install button.
59
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed requesting the user approval for the only promptable declared permission.
60
Check that there is a prompt if multiple required permissions are requestedPREREQUISITESPASS
61
- create extensions.webextPermissionPrompts and set it to true
62
Launch Firefox with a clean profile and set up the configuration.
63
➨ EXPECTEDFirefox is successfully launched.
64
Go to https://addons.mozilla.org/
65
➨ EXPECTEDThe page is loaded.
66
Choose an extension that has multiple permissions (https://addons.mozilla.org/en-US/android/addon/ublock-origin/) declared and toggle the install button.
67
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed requesting the user approval for all declared permissions.
68
Check that only required permissions are listed in the install promptPREREQUISITESPASS
69
- create extensions.webextPermissionPrompts and set it to true
70
Launch Firefox with a clean profile and set up the configuration.
71
➨ EXPECTEDFirefox is successfully launched.
72
Go to https://addons.mozilla.org/
73
➨ EXPECTEDThe page is loaded.
74
Choose an extension that has multiple permissions (https://addons.mozilla.org/en-US/android/addon/ublock-origin/) declared and toggle the install button.
75
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed requesting the user approval for all declared permissions.
76
Compare the permissions declared in manifest.json with those displayed in "Confirm installation & permission" pop-up.
77
➨ EXPECTEDThere should be no discrepancies between the manifest.json list and those permissions that are displayed in "Confirm installation & permission" pop-up.
78
Check that the permissions are listed in the order of importancePREREQUISITESPASS
79
- create extensions.webextPermissionPrompts and set it to true
80
Launch Firefox with a clean profile and set up the configuration.
81
➨ EXPECTEDFirefox is successfully launched.
82
Go to https://addons.mozilla.org/
83
➨ EXPECTEDThe page is loaded.
84
Choose an extension that has multiple permissions (https://addons.mozilla.org/en-US/android/addon/cisco-webex-extension/) declared and toggle the install button.
85
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed requesting the user approval for all declared permissions.
86
Analyze the order that permissions are mentioned in "Confirm installation & permission" pop-up
87
➨ EXPECTEDThe permissions are displayed in the order of importance.
88
Check that the prompt is dismissed if the user taps Cancel and the install is terminatedPREREQUISITESPASS
89
- create extensions.webextPermissionPrompts and set it to true
90
Launch Firefox with a clean profile and set up the configuration.
91
➨ EXPECTEDFirefox is successfully launched.
92
Go to https://addons.mozilla.org/
93
➨ EXPECTEDThe page is loaded.
94
Choose an extension (https://addons.mozilla.org/en-US/android/addon/cisco-webex-extension/) and toggle the install button.
95
➨ EXPECTED"Confirm installation & permission" pop-up is successfully displayed requesting the user approval for all declared permissions.
96
Tap on the "Cancel" button.
97
➨ EXPECTEDThe pop-up is closed and the installation process is interrupted.
98
Check that the install proceeds only after the user has tapped on the 'Add' buttonPREREQUISITESPASS
99
- create extensions.webextPermissionPrompts and set it to true
100
Launch Firefox with a clean profile and set up the configuration.