File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,21 +250,30 @@ <h2>Hosted button</h2>
250250 data-button ="buynow "
251251 data-button_id ="NQ9MQGA8YG53C "
252252 data-type ="form "
253+ >
254+ </ script >
255+ </ div >
256+
257+ < div id ="button-options ">
258+ < h2 > Options button</ h2 >
259+ < script src ="../../dist/all.js?merchant=6XF3MPZBZV6HU "
260+ data-button ="buynow "
261+ data-type ="form "
262+ data-name ="Buy now! "
263+ data-amount ="1.00 "
264+
253265 data-option0name ="Color "
254266 data-option0select1 ="Blue "
255267 data-option0select2 ="Green "
256268 data-option0select0 ="Red "
257269 data-option0price1 ="8.00 "
258270 data-option0price2 ="12.00 "
259271 data-option0price0 ="10.00 "
272+
260273 data-option1name ="Size "
261274 data-option1select0 ="Small "
262275 data-option1select1 ="Medium "
263276 data-option1select2 ="Large "
264- data-option2name ="Coupon Number "
265- data-option2required ="true "
266- data-option2pattern ="alphaNumericRegex "
267- data-option2select0 =""
268277 >
269278 </ script >
270279 </ div >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ describe('Test page button counter', function () {
5353 } ) ;
5454
5555 it ( 'Should have seven buy now buttons' , function ( ) {
56- buttons . buynow . should . equal ( 14 ) ;
56+ buttons . buynow . should . equal ( 15 ) ;
5757 } ) ;
5858
5959 it ( 'Should have two cart buttons' , function ( ) {
@@ -215,7 +215,7 @@ describe('Styled buttons', function () {
215215 } ) ;
216216
217217 it ( 'Should have primary buttons' , function ( ) {
218- primary . length . should . equal ( 19 ) ;
218+ primary . length . should . equal ( 20 ) ;
219219 } ) ;
220220
221221 it ( 'Should have secondary buttons' , function ( ) {
You can’t perform that action at this time.
0 commit comments