Bug 1729776 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

# STR for QA

## en-* locales

The Firefox Suggest offline scenario should be enabled by default, both sponsored and non-sponsored suggestions. No Firefox Suggest onboarding dialog should appear.

1. New profile in an en-* build
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: true
browser.urlbar.quicksuggest.scenario: "offline"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: false
browser.urlbar.suggest.quicksuggest: true
browser.urlbar.suggest.quicksuggest.sponsored: true

```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes are both enabled and checked:

* Personalized search suggestions
* Show sponsored suggestions

4. Type "ebay" in the address bar and verify that an eBay Sponsored suggestion appears last in the panel
5. Type "wikipedia" verify that a Wikipedia non-sponsored suggestion appears last in the panel
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart

## Non-en-* locales

The Firefox Suggest offline scenario should *not* be enabled. Sponsored and non-sponsored suggestions should not appear.

1. New profile in a non-en-* build
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: false
browser.urlbar.quicksuggest.scenario: "history"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: true
browser.urlbar.suggest.quicksuggest: false
browser.urlbar.suggest.quicksuggest.sponsored: false
```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes do not appear
4. Type "ebay" in the address bar and verify that no eBay Sponsored suggestion appears in the panel
5. Type "wikipedia" verify that no Wikipedia non-sponsored suggestion appears
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart
# STR for QA

## en-* locales

The Firefox Suggest offline scenario should be enabled by default, both sponsored and non-sponsored suggestions. No Firefox Suggest onboarding dialog should appear.

1. New profile in an en-* build
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: true
browser.urlbar.quicksuggest.scenario: "offline"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: false
browser.urlbar.suggest.quicksuggest: true
browser.urlbar.suggest.quicksuggest.sponsored: true

```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes are both enabled and checked:

* Personalized search suggestions
* Show sponsored suggestions

If you are testing a build with bug 1729587 also fixed, then these checkbox labels will instead be:

* Contextual suggestions
* Include occasional sponsored suggestions

4. Type "ebay" in the address bar and verify that an eBay Sponsored suggestion appears last in the panel
5. Type "wikipedia" verify that a Wikipedia non-sponsored suggestion appears last in the panel
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart

## Non-en-* locales

The Firefox Suggest offline scenario should *not* be enabled. Sponsored and non-sponsored suggestions should not appear.

1. New profile in a non-en-* build
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: false
browser.urlbar.quicksuggest.scenario: "history"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: true
browser.urlbar.suggest.quicksuggest: false
browser.urlbar.suggest.quicksuggest.sponsored: false
```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes do not appear
4. Type "ebay" in the address bar and verify that no eBay Sponsored suggestion appears in the panel
5. Type "wikipedia" verify that no Wikipedia non-sponsored suggestion appears
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart
# STR for QA

This bug depends on the user's home region (i.e., where they are physically located) and their build's locale. Do you have a usual way to test different regions? If you don't, then you can run this in the browser console to set your home region to US:

```js
(function(){
  let home = "US";
  Cu.import("resource://gre/modules/Region.jsm");
  Region._setHomeRegion(home, false);
  console.log(`Home region is now:`, Region.home);
})();
```
You'll need to restart Firefox after that.

Replace "US" in the snippet with another region to test non-US regions if necessary. For example "GB" for the UK.

## US region & en locales

The Firefox Suggest offline scenario should be enabled by default **for users in the US region using en builds**. Both sponsored and non-sponsored suggestions should be enabled. No Firefox Suggest onboarding dialog should appear.

1. New profile
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: true
browser.urlbar.quicksuggest.scenario: "offline"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: false
browser.urlbar.suggest.quicksuggest: true
browser.urlbar.suggest.quicksuggest.sponsored: true

```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes are both enabled and checked:

* Personalized search suggestions
* Show sponsored suggestions

If you are testing a build with bug 1729587 also fixed, then these checkbox labels will instead be:

* Contextual suggestions
* Include occasional sponsored suggestions

4. Type "ebay" in the address bar and verify that an eBay Sponsored suggestion appears last in the panel
5. Type "wikipedia" verify that a Wikipedia non-sponsored suggestion appears last in the panel
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart

## Non-US region & non-en locales

For users who are not in the US region **or** who are not using en builds, the Firefox Suggest offline scenario should **not** be enabled. Sponsored and non-sponsored suggestions should not appear.

For example, the scenario should not be enabled in these cases:

* You are in the US region but are using an es-MX build
* You are in the MX region but are using an en-US build

STR:

1. New profile
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: false
browser.urlbar.quicksuggest.scenario: "history"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: true
browser.urlbar.suggest.quicksuggest: false
browser.urlbar.suggest.quicksuggest.sponsored: false
```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes do not appear
4. Type "ebay" in the address bar and verify that no eBay Sponsored suggestion appears in the panel
5. Type "wikipedia" verify that no Wikipedia non-sponsored suggestion appears
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart
# STR for QA

This bug depends on the user's home region (i.e., where they are physically located) and their build's locale. Do you have a usual way to test different regions? If you don't, then you can run this in the browser console to set your home region to US:

```js
(function(){
  let home = "US";
  Cu.import("resource://gre/modules/Region.jsm");
  Region._setHomeRegion(home, false);
  console.log(`Home region is now:`, Region.home);
})();
```
You'll need to restart Firefox after that.

Replace "US" in the snippet with another region to test non-US regions if necessary. For example "GB" for the UK, "MX" for Mexico, etc.

## US region & en locales

The Firefox Suggest offline scenario should be enabled by default **for users in the US region using en builds**. Both sponsored and non-sponsored suggestions should be enabled. No Firefox Suggest onboarding dialog should appear.

1. New profile
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: true
browser.urlbar.quicksuggest.scenario: "offline"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: false
browser.urlbar.suggest.quicksuggest: true
browser.urlbar.suggest.quicksuggest.sponsored: true

```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes are both enabled and checked:

* Personalized search suggestions
* Show sponsored suggestions

If you are testing a build with bug 1729587 also fixed, then these checkbox labels will instead be:

* Contextual suggestions
* Include occasional sponsored suggestions

4. Type "ebay" in the address bar and verify that an eBay Sponsored suggestion appears last in the panel
5. Type "wikipedia" verify that a Wikipedia non-sponsored suggestion appears last in the panel
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart

## Non-US region & non-en locales

For users who are not in the US region **or** who are not using en builds, the Firefox Suggest offline scenario should **not** be enabled. Sponsored and non-sponsored suggestions should not appear.

For example, the scenario should not be enabled in these cases:

* You are in the US region but are using an es-MX build
* You are in the MX region but are using an en-US build

STR:

1. New profile
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: false
browser.urlbar.quicksuggest.scenario: "history"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: true
browser.urlbar.suggest.quicksuggest: false
browser.urlbar.suggest.quicksuggest.sponsored: false
```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes do not appear
4. Type "ebay" in the address bar and verify that no eBay Sponsored suggestion appears in the panel
5. Type "wikipedia" verify that no Wikipedia non-sponsored suggestion appears
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart
# STR for QA

This bug depends on the user's home region (i.e., where they are physically located) and their build's locale. Do you have a usual way to test different regions? If you don't, then you can run this in the browser console to set your home region to US:

```js
(function(){
  let home = "US";
  Cu.import("resource://gre/modules/Region.jsm");
  Region._setHomeRegion(home, false);
  console.log(`Home region is now:`, Region.home);
})();
```
You'll need to restart Firefox after that.

Replace "US" in the snippet with another region to test non-US regions if necessary. For example "GB" for the UK, "MX" for Mexico, etc.

## US region & en locales

The Firefox Suggest offline scenario should be enabled by default **for users in the US region using en builds**. Both sponsored and non-sponsored suggestions should be enabled. No Firefox Suggest onboarding dialog should appear.

1. New profile
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: true
browser.urlbar.quicksuggest.scenario: "offline"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: false
browser.urlbar.suggest.quicksuggest: true
browser.urlbar.suggest.quicksuggest.sponsored: true

```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes are both enabled and checked:

* Personalized search suggestions
* Show sponsored suggestions

If you are testing a build with bug 1729587 also fixed, then these checkbox labels will instead be:

* Contextual suggestions
* Include occasional sponsored suggestions

4. Type "ebay" in the address bar and verify that an eBay Sponsored suggestion appears last in the panel
5. Type "wikipedia" and verify that a Wikipedia non-sponsored suggestion appears last in the panel
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart

## Non-US region & non-en locales

For users who are not in the US region **or** who are not using en builds, the Firefox Suggest offline scenario should **not** be enabled. Sponsored and non-sponsored suggestions should not appear.

For example, the scenario should not be enabled in these cases:

* You are in the US region but are using an es-MX build
* You are in the MX region but are using an en-US build

STR:

1. New profile
2. Open about:config and verify the following prefs are set. They should *not* be bold, i.e., they should be default values.

```
browser.urlbar.quicksuggest.enabled: false
browser.urlbar.quicksuggest.scenario: "history"
browser.urlbar.quicksuggest.shouldShowOnboardingDialog: true
browser.urlbar.suggest.quicksuggest: false
browser.urlbar.suggest.quicksuggest.sponsored: false
```

3. Open about:preferences#privacy, scroll down to the address bar section, and verify that the two Firefox Suggest checkboxes do not appear
4. Type "ebay" in the address bar and verify that no eBay Sponsored suggestion appears in the panel
5. Type "wikipedia" and verify that no Wikipedia non-sponsored suggestion appears
6. Please restart the app and repeat steps 2-5 to make sure nothing changes after restart

Back to Bug 1729776 Comment 3