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

docs: Privacy settings manual scenarios #26764

Merged
merged 16 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Manual test scenario for the 'Display NFT media' toggle

Below is a summary of the validations included:

* Validate that the 'Display NFT media' toggle is present in the Security & Privacy settings and is ON by default.
* Validate that the toggle can be turned on and off.
* Validate that when the toggle is turned on, MetaMask displays NFT media and data.
* Validate that NFT autodetection relies on this setting and won't be available when this is turned off.

```markdown

# Security & Privacy Settings: Verify "Display NFT media" Toggle Functionality

# Feature: Toggle "Display NFT media" in Security & Privacy Settings

In order to enhance user experience
As a user of the wallet extension
I want to toggle the "Display NFT media" option in the Security & Privacy Settings

# Scenario: Default state of "Display NFT media" toggle is ON

Given I am in Settings
When I click on the "Security & Privacy" tab
Then the "Display NFT media" toggle is set to ON by default

# Scenario: "Display NFT media" toggle functionality

Given I am on the Security & Privacy settings page
And the "Display NFT media" toggle is initially set to ON
When I click on the "Display NFT media" toggle icon
Then the toggle switch should visually indicate to OFF
When I click on the "Display NFT media" toggle icon again
Then the toggle switch should visually indicate to ON

# Scenario: Verification of NFT media display functionality

Given I am on the Security & Privacy settings page
And the "Display NFT media" toggle is set to ON
When I view my NFTs in MetaMask
Then MetaMask should display NFT media and data


```
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Manual test scenario for the 'IPFS gateway' toggle

Below is a summary of the validations included:

* Validate that the 'IPFS gateway' toggle is present in the Security & Privacy settings and is ON by default.
* Validate that the toggle can be turned on and off.
* Validate that when the toggle is turned on, MetaMask shows images of NFTs
* Validate that when the toggle is turned off, NFT images are replaced by placeholders and I am prompted to turn on IPFS resolution

```markdown

# Security & Privacy Settings: Verify "IPFS gateway" Toggle Functionality

# Feature: Toggle "IPFS gateway" in Security & Privacy Settings

In order to enhance user experience
As a user of the wallet extension
I want to toggle the "IPFS gateway" option in the Security & Privacy Settings

# Scenario: Default state of "IPFS gateway" toggle is ON

Given I am in Settings
When I click on the "Security & Privacy" tab
Then the "IPFS gateway" toggle is set to ON by default

# Scenario: "IPFS gateway" toggle functionality

Given I am on the Security & Privacy settings page
And the "IPFS gateway" toggle is initially set to ON
When I click on the "IPFS gateway" toggle icon
Then the toggle switch should visually indicate to OFF
When I click on the "IPFS gateway" toggle icon again
Then the toggle switch should visually indicate to ON

# Scenario: Verification of IPFS gateway functionality with toggle ON

Given I am on the Security & Privacy settings page
And the "IPFS gateway" toggle is set to ON
When I attempt to view images of my NFTs (e.g. ERC1155) stored on IPFS
Then MetaMask should successfully fetch and display this information

# Scenario: Verification of IPFS gateway functionality with toggle OFF

Given I am on the Security & Privacy settings page
And the "IPFS gateway" toggle is set to OFF
When I attempt to view images of my NFTs (e.g. ERC1155) stored on IPFS
Then MetaMask should display a placeholder image instead of the NFT media
And I should see a "Show" button
And clicking "Show" should prompt me to confirm turning ON IPFS resolution


```
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

# Manual test scenario for the 'Network details check' toggle

Below is a summary of the validations included:

* Validate that the 'Network details check' toggle is present in the Security & Privacy settings and is ON by default.
* Validate that the toggle can be turned on and off.
* Validate that when the toggle is turned on, MetaMask checks the network details against the information provided by chainid.network when attempting to connect to a blockchain network.

```markdown

# Security & Privacy Settings: Verify "Network details check" Toggle Functionality

# Feature: Toggle "Network details check" in Security & Privacy Settings

In order to enhance user experience
As a user of the wallet extension
I want to toggle the "Network details check" option in the Security & Privacy Settings

# Scenario: Default state of "Network details check" toggle is ON

Given I am in Settings
When I click on the "Security & Privacy" tab
Then the "Network details check" toggle is set to ON by default

# Scenario: "Network details check" toggle functionality

Given I am on the Security & Privacy settings page
And the "Network details check" toggle is initially set to ON
When I click on the "Network details check" toggle icon
Then the toggle switch should visually indicate to OFF
When I click on the "Network details check" toggle icon again
Then the toggle switch should visually indicate to ON

# Scenario: Verification of network details check functionality when toggle is ON

Given I am on the Security & Privacy settings page
And the "Network details check" toggle is set to ON
When I navigate to the Neworks tab
And I change the network name
Then the suggested name appears below
When I change the currency symbol
Then the suggested ticker appears below

# Scenario: Verification of network details check functionality when toggle is OFF

Given I am on the Security & Privacy settings page
And the "Network details check" toggle is set to OFF
When I attempt to check network details from the Neworks tab
And I change the currency symbol
Then a message appears below indicating that verification is unavailable

```
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Manual test scenario for the 'Show ENS domains in address bar' toggle

Below is a summary of the validations included:

* Validate that the 'Show ENS domains in address bar' toggle is present in the Security & Privacy settings and is ON by default.
* Validate that the toggle can be turned on and off.
* Validate that when the toggle is turned on, ENS domain name is displayed alongside the public address

```markdown

# Security & Privacy Settings: Verify "Show ENS domains in address bar" Toggle Functionality

# Feature: Toggle "Show ENS domains in address bar" in Security & Privacy Settings

In order to enhance user experience
As a user of the wallet extension
I want to toggle the "Show ENS domains in address bar" option in the Security & Privacy Settings

# Scenario: Default state of "Show ENS domains in address bar" toggle is ON

Given I am in Settings
When I click on the "Security & Privacy" tab
Then the "Show ENS domains in address bar" toggle is set to ON by default

# Scenario: "Show ENS domains in address bar" toggle functionality

Given I am on the Security & Privacy settings page
And the "Show ENS domains in address bar" toggle is initially set to ON
When I click on the "Show ENS domains in address bar" toggle icon
Then the toggle switch should visually indicate to OFF
When I click on the "Show ENS domains in address bar" toggle icon again
Then the toggle switch should visually indicate to ON

# Scenario: Verification of ENS domains display functionality

Given I am on the Security & Privacy settings page
And the "Show ENS domains in address bar" toggle is set to ON
When I enter an ENS address in my browser's address bar
Then I should see the content associated with it


```