Description: short info about the topic
Priority: 1 (highest) - 3 (lowest)
Prerequisites: anything that needs to be in place before running the tests - so that the result may be considered as valid
Test Cases:
01 - Verify Successful Wallet Recovery Using 12 Words Backup.
02 - Verify Error Handling - Invalid 12 Words.
03 - Verify Error Handling - Empty 12 Words.
04 - Verify Error Handling - Case Insensitivity.
05 - Verify Error Handling - Leading/Trailing Whitespace.
06 - Verify Backup Validation - Incorrect Words.
07 - Verify Backup Recovery with Different Word Order.
08 - Verify Error Handling - Missing Words.
Description: Verify Successful Wallet Recovery Using 12 Words Backup.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet using 12 words backup" option.
- User enters the 12-word backup.
- User confirms the recovery process.
Test Data: Valid 12-word backup:
- stock
- orbit
- acquire
- such
- sure
- yard
- property
- spoon
- upgrade
- mango
- horse
- effort
Expected Result: The wallet should be successfully recovered using the 12-word backup.
Description: Verify Error Handling - Invalid 12 Words.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet" option.
- User enters an invalid set of 12 words.
- User confirms the recovery process.
Test Data: Invalid 12-word backup:
- stocks
- galaxy
- acquires
- any
- secure
- yards
- properties
- fork
- upgrades
- mangos
- horses
- efforts
Expected Result: An error message should indicate that the 12-word backup is invalid, and the recovery process should fail.
Description: Verify Error Handling - Empty 12 Words.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet" option.
- User attempts to proceed with an empty 12-word input.
Test Data: Empty 12-word backup.
Expected Result: An error message should indicate that the 12-word backup cannot be empty, and the recovery process should fail.
Description: Verify Error Handling - Case Insensitivity.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet" option.
- User enters words with varying cases in the 12-word backup.
- User confirms the recovery process.
Test Data: 12-word backup with mixed cases:
- Stock
- orbit
- acquire
- such
- sure
- YARD
- property
- spoon
- upgrade
- mango
- horse
- eFfOrT
Expected Result: The recovery process should be case-sensitive and fail.
Description: Verify Error Handling - Leading/Trailing Whitespace.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet" option.
- User enters words with leading/trailing whitespace in the 12-word backup.
- User confirms the recovery process.
Test Data: 12-word backup with leading/trailing whitespace:
- stock
- orbit
- acquire
- such
- sure
- yard
- property
- spoon
- upgrade
- mango
- horse
- effort
Expected Result: The recovery process should fail, smapp should not accept spaces at all.
Description: Verify Backup Validation - Incorrect Words.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet" option.
- User enters a set of 12 words, including some incorrect ones.
- User confirms the recovery process.
Test Data: 12-word backup with some incorrect words:
- stocks
- orbit
- acquire
- such
- sure
- yard
- property
- fork
- upgrade
- mango
- horse
- efforts
Expected Result: The recovery process should fail with an error message if any of the words are incorrect.
Description: Verify Backup Recovery with Different Word Order.
Steps:
- User creates a valid 12-word backup.
- User enters the words in a different order during recovery.
- User confirms the recovery process.
Test Data: Valid 12-word backup with a different word order:
- mango
- such
- property
- orbit
- spoon
- effort
- upgrade
- stock
- acquire
- yard
- sure
- horse
Expected Result: The recovery process should fail to recover the wallet.
Description: Verify Error Handling - Missing Words.
Steps:
- User opens the Spacemesh application.
- User selects the "Recover Wallet" option.
- User enters a subset of the 12 words, leaving some out.
- User confirms the recovery process.
Test Data: Incomplete 12-word backup:
- stock
- orbit
- such
- sure
- yard
- spoon
- mango
- horse
- effort
Expected Result: An error message should indicate that all 12 words are required, and the recovery process should fail.