Feature/disable max height new fix #5439
Annotations
10 errors
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'tiny':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 18,
+ "applePayHeight": 25,
+ "buttonHeight": 25,
"disableHeightStyle": Object {
"defaultHeight": 25,
"maxHeight": 30,
"minHeight": 25,
},
"fontSize": 10,
"labelHeight": 14,
"marginTop": 1,
+ "pillBorderRadius": 13,
"spinnerSize": 13,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'small':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 20,
+ "applePayHeight": 29,
+ "buttonHeight": 30,
"disableHeightStyle": Object {
"defaultHeight": 30,
"maxHeight": 35,
"minHeight": 30,
},
"fontSize": 11,
"labelHeight": 16,
"marginTop": 1,
+ "pillBorderRadius": 15,
"spinnerSize": 15,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'mediumSmall':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 23,
+ "applePayHeight": 33,
+ "buttonHeight": 35,
"disableHeightStyle": Object {
"defaultHeight": 35,
"maxHeight": 40,
"minHeight": 35,
},
"fontSize": 13,
"labelHeight": 18,
"marginTop": 1,
+ "pillBorderRadius": 18,
"spinnerSize": 18,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'mediumBig':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 25,
+ "applePayHeight": 37,
+ "buttonHeight": 40,
"disableHeightStyle": Object {
"defaultHeight": 40,
"maxHeight": 45,
"minHeight": 40,
},
"fontSize": 14,
"labelHeight": 20,
"marginTop": 1,
+ "pillBorderRadius": 20,
"spinnerSize": 20,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'largeSmall':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 28,
+ "applePayHeight": 41,
+ "buttonHeight": 45,
"disableHeightStyle": Object {
"defaultHeight": 45,
"maxHeight": 50,
"minHeight": 45,
},
"fontSize": 16,
"labelHeight": 22,
"marginTop": 2,
+ "pillBorderRadius": 23,
"spinnerSize": 23,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'largeBig':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 30,
+ "applePayHeight": 45,
+ "buttonHeight": 50,
"disableHeightStyle": Object {
"defaultHeight": 50,
"maxHeight": 55,
"minHeight": 50,
},
"fontSize": 18,
"labelHeight": 24,
"marginTop": 2,
+ "pillBorderRadius": 25,
"spinnerSize": 25,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'xl':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 33,
+ "applePayHeight": 49,
+ "buttonHeight": 55,
"disableHeightStyle": Object {
"defaultHeight": 55,
"maxHeight": 65,
"minHeight": 55,
},
"fontSize": 20,
"labelHeight": 24,
"marginTop": 2,
+ "pillBorderRadius": 28,
"spinnerSize": 28,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'xxl':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 38,
+ "applePayHeight": 57,
+ "buttonHeight": 65,
"disableHeightStyle": Object {
"defaultHeight": 65,
"maxHeight": 75,
"minHeight": 65,
},
"fontSize": 23,
"labelHeight": 28,
"marginTop": 2,
+ "pillBorderRadius": 33,
"spinnerSize": 33,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test responsive style variables for disable max height > should return responsive styles for disable max height size 'xxxl':
src/ui/buttons/styles/styleUtils.test.js#L425
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 43,
+ "applePayHeight": 65,
+ "buttonHeight": 75,
"disableHeightStyle": Object {
"defaultHeight": 75,
"maxHeight": 200,
"minHeight": 75,
},
"fontSize": 27,
"labelHeight": 32,
"marginTop": 3,
+ "pillBorderRadius": 38,
"spinnerSize": 38,
}
❯ src/ui/buttons/styles/styleUtils.test.js:425:9
|
src/ui/buttons/styles/styleUtils.test.js > test rebrand responsive style variables for disable max height > should return responsive styles for disable max height size 'tiny':
src/ui/buttons/styles/styleUtils.test.js#L488
AssertionError: expected { disableHeightStyle: { …(3) }, …(8) } to deeply equal { disableHeightStyle: { …(3) }, …(4) }
- Expected
+ Received
Object {
+ "APMHeight": 18,
+ "applePayHeight": 25,
+ "buttonHeight": 25,
"disableHeightStyle": Object {
"defaultHeight": 25,
"maxHeight": 30,
"minHeight": 25,
},
"fontSize": 10,
"labelHeight": 19,
"marginTop": 1,
+ "pillBorderRadius": 13,
"spinnerSize": 13,
}
❯ src/ui/buttons/styles/styleUtils.test.js:488:9
|