qe-fe-automation
Version:
FE test automation framework using cypress
120 lines (119 loc) • 3.05 kB
text/typescript
export const LiquidUserSearchHomeSchema = {
type: 'object',
properties: {
ctas: {
type: 'array',
items: [
{ type: 'object', properties: { cta: { type: 'string' } } },
{
type: 'object',
properties: {
cta: { type: 'string' },
metadata: {
type: 'object',
properties: { daysToReimbursement: { type: 'integer' } }
}
}
},
{
type: 'object',
properties: {
cta: { type: 'string' },
metadata: {
type: 'object',
properties: { emailProvider: { type: 'string' } }
}
}
}
]
},
todoSections: {
type: 'array',
items: [
{
type: 'object',
properties: {
section: { type: 'string' },
count: { type: 'integer' },
recentTransactions: { type: 'array', items: {} }
}
},
{
type: 'object',
properties: {
section: { type: 'string' },
count: { type: 'integer' },
recentTransactions: { type: 'array', items: {} }
}
},
{
type: 'object',
properties: {
section: { type: 'string' },
count: { type: 'integer' },
recentTransactions: { type: 'array', items: {} }
}
},
{
type: 'object',
properties: {
section: { type: 'string' },
count: { type: 'integer' },
recentTransactions: { type: 'array', items: {} }
}
},
{
type: 'object',
properties: {
section: { type: 'string' },
count: { type: 'integer' },
recentTransactions: { type: 'array', items: {} }
}
}
]
},
reimbursementTotal: {
type: 'object',
properties: { currency: { type: 'string' }, amount: { type: 'number' } }
},
physicalCard: { type: 'null' },
externalCard: { type: 'null' },
transactionTypeCounts: {
type: 'array',
items: [
{
type: 'object',
properties: { transactionType: { type: 'string' }, count: { type: 'integer' } }
}
]
},
configuration: {
type: 'object',
properties: {
enabledSections: {
type: 'array',
items: [
{ type: 'string' },
{ type: 'string' },
{ type: 'string' },
{ type: 'string' }
]
},
enabledExpenseSources: {
type: 'array',
items: [
{ type: 'string' },
{ type: 'string' },
{ type: 'string' },
{ type: 'string' }
]
}
}
},
physicalCardPostalCode: { type: 'null' },
_links: {
type: 'object',
properties: { self: { type: 'object', properties: { href: { type: 'string' } } } }
}
}
};