Files
xverse-web-extension/tests/fixtures/passwordTestData.ts
Christine Pinto 1e4d7a14ed [ENG-3978] Onboarding UI Test part 1 (#159)
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
2024-03-28 11:43:37 +01:00

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 };