File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
app/code/Magento/ConfigurableProduct/Test/Unit/Block/Adminhtml/Product/Edit/Button
dev/tests/integration/testsuite/Magento
Backend/Block/Widget/Button Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -63,5 +63,6 @@ public function testGetButtonData()
63
63
64
64
$ this ->assertArrayHasKey ('data_attribute ' , $ result );
65
65
$ this ->assertArrayHasKey ('options ' , $ result );
66
+ $ this ->assertArrayHasKey ('dropdown_button_aria_label ' , $ result );
66
67
}
67
68
}
Original file line number Diff line number Diff line change @@ -74,7 +74,8 @@ public function testToHtml(): void
74
74
'onclick ' => $ onclick = 'console.log("option") ' ,
75
75
'style ' => 'width: 100px '
76
76
]
77
- ]
77
+ ],
78
+ 'dropdown_button_aria_label ' => 'Split button options ' ,
78
79
]
79
80
);
80
81
@@ -86,5 +87,6 @@ public function testToHtml(): void
86
87
$ this ->assertMatchesRegularExpression ('/\<script.*?\>.*? ' . preg_quote ($ onclick ) . '.*?\<\/script\>/ims ' , $ html );
87
88
$ this ->assertStringContainsString ('width ' , $ html );
88
89
$ this ->assertStringContainsString ('100px ' , $ html );
90
+ $ this ->assertStringContainsString ('aria-label="Split button options" ' , $ html );
89
91
}
90
92
}
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ public function testToHtml(): void
76
76
'onclick ' => $ onclick = 'console.log("option") ' ,
77
77
'style ' => 'width: 100px '
78
78
]
79
- ]
79
+ ],
80
+ 'dropdown_button_aria_label ' => 'Split button options ' ,
80
81
]
81
82
);
82
83
@@ -88,5 +89,6 @@ public function testToHtml(): void
88
89
$ this ->assertMatchesRegularExpression ('/\<script.*?\>.*? ' . preg_quote ($ onclick ) . '.*?\<\/script\>/ims ' , $ html );
89
90
$ this ->assertStringContainsString ('width ' , $ html );
90
91
$ this ->assertStringContainsString ('100px ' , $ html );
92
+ $ this ->assertStringContainsString ('aria-label="Split button options" ' , $ html );
91
93
}
92
94
}
You can’t perform that action at this time.
0 commit comments