@@ -2,6 +2,7 @@ import createBannerTest from '../../createBannerTest';
2
2
import accounts from '../accounts' ;
3
3
4
4
const positions = [ 'top' , 'left' , 'right' ] ;
5
+ const textAlign = [ 'left' , 'right' , 'center' ] ;
5
6
const logoTypes = [ 'primary' , 'alternative' , 'inline' , 'none' ] ;
6
7
const fontSizes = [ 10 , 12 , 16 ] ;
7
8
const colors = [ 'black' , 'white' , 'monochrome' , 'grayscale' ] ;
@@ -11,6 +12,8 @@ const tests = [].concat(
11
12
positions . map ( position => [ `Primary, Position:${ position } ` , { logo : { type : 'primary' , position } } ] ) ,
12
13
// Logo types that do not have different logo position options
13
14
logoTypes . slice ( 1 ) . map ( type => [ `Logo type:${ type } ` , { logo : { type } } ] ) ,
15
+ // Each text alignment option
16
+ textAlign . map ( align => [ `Text align:${ align } ` , { text : { align } } ] ) ,
14
17
// Each font size option logo.type-primary
15
18
fontSizes . map ( size => [ `Font size:${ size } ` , { logo : { type : 'primary' } , text : { size } } ] ) ,
16
19
// Each logo type, with non-black color options
0 commit comments