mirror of
https://github.com/zhigang1992/xverse-web-extension.git
synced 2026-01-12 09:43:44 +08:00
Update ESLint to Version 8.40.0 and add ESLint Plugin Playwright Adjust Screensize to 360x360 for CI Add visual check for legal page Add visual check error messages for password pages Skip Backup flow Setup backup and successfully creating a wallet
38 lines
764 B
TypeScript
38 lines
764 B
TypeScript
// ToDo: fill with better passworddata
|
|
export const passwordTestCases = [
|
|
{
|
|
password: '123',
|
|
expectations: {
|
|
errorMessageVisible: true,
|
|
securityLevel: 'Weak',
|
|
continueButtonEnabled: false,
|
|
},
|
|
},
|
|
{
|
|
password: '123456789',
|
|
expectations: {
|
|
errorMessageVisible: true,
|
|
securityLevel: 'Weak',
|
|
continueButtonEnabled: false,
|
|
},
|
|
},
|
|
{
|
|
password: 'Admin@1234',
|
|
expectations: {
|
|
errorMessageVisible: false,
|
|
securityLevel: 'Medium',
|
|
continueButtonEnabled: true,
|
|
},
|
|
},
|
|
{
|
|
password: 'Admin@1234!!',
|
|
expectations: {
|
|
errorMessageVisible: false,
|
|
securityLevel: 'Strong',
|
|
continueButtonEnabled: true,
|
|
},
|
|
},
|
|
];
|
|
|
|
module.exports = { passwordTestCases };
|