| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4575985 commit cf3ff7f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -135,6 +135,14 @@ describe('Editable buttons', function () { | |||
| 135 | 135 | inputs[0].parentNode.children[0].className.should.include('paypal-label'); | |
| 136 | 136 | }); | |
| 137 | 137 | ||
| 138 | + it('Should have proper labels', function () { | ||
| 139 | + var labels = document.querySelectorAll('#buynow-editable label'); | ||
| 140 | + | ||
| 141 | + labels[0].textContent.should.equal('Item'); | ||
| 142 | + labels[1].textContent.should.equal('Amount'); | ||
| 143 | + labels[2].textContent.should.equal('Quantity'); | ||
| 144 | + }); | ||
| 145 | + | ||
| 138 | 146 | it('Should have a CSS class on the container', function () { | |
| 139 | 147 | inputs[0].parentNode.className.should.include('paypal-group'); | |
| 140 | 148 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments