Skip to content

Commit e3548a2

Browse files
committed
fix tests
1 parent a677a87 commit e3548a2

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

demo/helpers/accounts.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ const accounts = [
9090
// 'DEV0000ITPLNQ'
9191

9292
// CA
93-
// 'DEV00000CAPLQ',
94-
// 'DEV0000CAPLNQ',
95-
// 'DEV0000CAPLNA',
93+
// 'DEV000ENCAPLQ',
94+
// 'DEV00ENCAPLNQ',
95+
// 'DEV00ENCAPLNA',
96+
// 'DEV000FRCAPLQ',
97+
// 'DEV00FRCAPLNQ',
98+
// 'DEV00FRCAPLNA',
9699
];
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default ['DEV00ENCAPLQ', 'DEV00ENCAPLNQ', 'DEV00ENCAPLNA', 'DEV00FRCAPLQ', 'DEV00FRCAPLNQ', 'DEV00FRCAPLNA'];
1+
export default ['DEV000ENCAPLQ', 'DEV00ENCAPLNQ', 'DEV00ENCAPLNA', 'DEV000FRCAPLQ', 'DEV00FRCAPLNQ', 'DEV00FRCAPLNA'];

tests/functional/spec/CA/banner/text.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import createBannerTest from '../../createBannerTest';
22
import accounts from '../accounts';
33

44
const positions = ['top', 'left', 'right'];
5+
const textAlign = ['left', 'right', 'center'];
56
const logoTypes = ['primary', 'alternative', 'inline', 'none'];
67
const fontSizes = [10, 12, 16];
78
const colors = ['black', 'white', 'monochrome', 'grayscale'];
@@ -11,6 +12,8 @@ const tests = [].concat(
1112
positions.map(position => [`Primary, Position:${position}`, { logo: { type: 'primary', position } }]),
1213
// Logo types that do not have different logo position options
1314
logoTypes.slice(1).map(type => [`Logo type:${type}`, { logo: { type } }]),
15+
// Each text alignment option
16+
textAlign.map(align => [`Text align:${align}`, { text: { align } }]),
1417
// Each font size option logo.type-primary
1518
fontSizes.map(size => [`Font size:${size}`, { logo: { type: 'primary' }, text: { size } }]),
1619
// Each logo type, with non-black color options

0 commit comments

Comments
 (0)