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

[FIX] Add tags and simplify feature description #6353

Merged
merged 2 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions wdio/features/Accounts/AccountActions.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@androidApp
@regression
@accounts
Feature: Displaying account actions

Scenario: Show private key screen
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Accounts/CreatingWalletAccount.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@accounts
Feature: Create Account

Scenario: Import wallet
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Accounts/ImportingAccount.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@regression
@accounts
Feature: Import Aaccount

Scenario: Import Wallet
Expand Down
1 change: 1 addition & 0 deletions wdio/features/BrowserFlow/AddFavorite.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@browser
Feature: Browser Add Favorite

Scenario: Adding browser Favorites
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/BrowserFlow/AddressBar.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: This feature file covers address view functionality in the browser.
@browser
Feature: Browser Address Bar

Scenario: Address bar
Navigate to websites using browser address bar.
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/BrowserFlow/ENSWebsite.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: This feature file covers ENS website in browser.
@browser
Feature: Browser ENS Website

Scenario: ENS website loads correctly
Navigate to ENS website using browser address bar.
Expand Down
1 change: 1 addition & 0 deletions wdio/features/BrowserFlow/InvalidURL.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@browser
Feature: Browser Invalid URL

Scenario: Searching an invalid url and prompts the user with an error message
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/BrowserFlow/NavigationControls.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: This feature file covers all the navigation control options in browser.
@browser
Feature: Browser Control Options

Scenario: Navigation with browser controls
Use the browser controls at the bottom of the view to go back,
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/BrowserFlow/OptionMenu.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: This feature file covers the option menu in the browser.
@browser
Feature: Browser Options Menu

Scenario: Import wallet
Given the app displayed the splash animation
Expand Down
1 change: 1 addition & 0 deletions wdio/features/BrowserFlow/PhishingDetection.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@browser
Feature: Browser Phishing Detection

Scenario: Visiting a malicious website prompts the user with the phishing detection warning
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@androidApp
@smoke

Feature: Importing account via private then revoking permissions
@browser
Feature: Browser Import, Revoke, Remove Account

Scenario: Import wallet
Given the app displayed the splash animation
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/BrowserFlow/RevokingSingleAccount.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Revoking access to a dapp while connected to one account.
@browser
Feature: Browser Revoke Account dApp Permissions

Scenario: Import wallet
Given the app displayed the splash animation
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/Networks/NetworkFlow.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Adding Networks via the popular and custom networks flow
@networks
Feature: Add Networks
User should be able to add a custom network via the popular network flow
User should also have the ability to a add custom network via the custom network flow.

Expand Down
5 changes: 3 additions & 2 deletions wdio/features/Onboarding/CreateNewWallet.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Create New Wallet
@smoke
@onboarding
Feature: Onboarding Create New Wallet

Scenario: Onboarding New walllet
User opens the app for first time and creates a new wallet.
Expand Down
14 changes: 7 additions & 7 deletions wdio/features/Onboarding/ImportWallet.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Import Wallet
@onboarding
Feature: Onboarding Import Wallet
Users can use the app to import an existing wallet or create a new one.

Scenario: Get Started
Expand All @@ -9,11 +10,11 @@ Feature: Import Wallet
Then Wallet setup screen is displayed
When I tap "Import using Secret Recovery Phrase"
Then "Help us improve MetaMask" is displayed
When I tap "I agree"
And Terms of Use is displayed
And I agree to terms
And Terms of Use is not displayed
Then "Import from seed" is displayed
And On Wallet Setup Screen I tap "Agree"
Then Terms of Use is displayed
When I agree to terms
Then Terms of Use is not displayed
And "Import from seed" is displayed

Scenario Outline: Password Strength
When I type <password> in new password field
Expand All @@ -36,7 +37,6 @@ Feature: Import Wallet
And I tap "Import"
Then device alert <error> is displayed
And I tap Yes on alert

Examples:
| invalid_SRP | error |
| fold media south not valid secret recovery phrase pause cloth just raven | Invalid Secret Recovery Phrase |
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Onboarding/OnboardingCarousel.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@onboarding
Feature: Onboarding Carousel
Users can install MetaMask mobile app from the device app store and read the onboarding carousel

Expand Down
3 changes: 2 additions & 1 deletion wdio/features/Onboarding/TermsOfUse.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Terms of Use
@onboarding
Feature: Onboarding Terms of Use

Scenario: Install and launch app
Given the app displayed the splash animation
Expand Down
2 changes: 1 addition & 1 deletion wdio/features/Performance/AppLaunchTime.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@androidApp
@performance
Feature: App Cold Start launch times.
Feature: App Cold Start Launch Times
This feature measures the cold start of the app when:
The user installs the app for the very first time
The user imports a wallet
Expand Down
8 changes: 5 additions & 3 deletions wdio/features/SecurityAndPrivacy/DeleteWallet.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@androidApp @regression
Feature: This feature deletes the wallet from the Security and Privacy View
@androidApp
@regression
@security-privacy
Feature: Security & Privacy Delete Wallet

Background: Import wallet
Given the app displayed the splash animation
Expand All @@ -13,7 +15,7 @@ Feature: This feature deletes the wallet from the Security and Privacy View
And I tap on "Settings" in the menu
And In settings I tap on "Security & Privacy"
Then Security & Privacy screen is displayed
And I tap on the Delete Wallet button
When I tap on the Delete Wallet button
And I tap I understand, continue on Delete wallet modal
And I type "delete" on Delete wallet modal permanently
And I tap Delete my wallet on Delete wallet modal permanently
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/SecurityAndPrivacy/RememberMe.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: A user enables remember me and is no longer prompted with password authentication
@security-privacy
Feature: Security & Privacy Remember Me

Scenario: Enabling remember me and verifying that the app does not require password authentication after remember me is enabled.
Given the app displayed the splash animation
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/Settings/ChangePassword.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Change password
@settings
Feature: Settings Change Password

Scenario: Import wallet
Given the app displayed the splash animation
Expand Down
3 changes: 2 additions & 1 deletion wdio/features/Wallet/AddressFlow.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@androidApp
@regression
Feature: Adding addresses to contacts via address book modal and the contacts screen
@wallet
Feature: Add Contacts
User should see the correct warning when trying to send funds to a contract address
User can saved an ENS name to your address book
The contacts you saved on network A does not carry over to network B
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Wallet/ExploringWizard.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@regression
@wallet
Feature: Exploring wizard

Scenario: A user should be able to go through the start exploring tutorial
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Wallet/ImportCustomToken.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@wallet
Feature: Import Custom Token

Scenario: Import wallet
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Wallet/LockResetWallet.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@smoke
@wallet
Feature: Lock and Reset Wallet

Scenario: Import account
Expand Down
1 change: 1 addition & 0 deletions wdio/features/Wallet/RequestTokenFlow.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@regression
@wallet
Feature: Request Token
This feature goes through the request token flow

Expand Down
1 change: 1 addition & 0 deletions wdio/features/Wallet/SendToken.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@androidApp
@regression
@wallet
Feature: Sending Native and ERC Tokens

Scenario: Import wallet
Expand Down