Skip to content

Commit

Permalink
Update NestedDataComponent.unit.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandraRamanenka authored Apr 11, 2024
1 parent defd879 commit fa31398
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('NestedDataComponent class', () => {
]);

setTimeout(() => {
const modalPreviewValues = form.element.querySelector('.open-modal-button tr td input');
const modalPreviewValues = form.element.querySelectorAll('.open-modal-button tr td input');
assert.equal(modalPreviewValues.length, 2);
assert.deepEqual(Array.prototype.map.call(modalPreviewValues, (i) => i.value), ['test', 'test2']);
done();
Expand Down

0 comments on commit fa31398

Please sign in to comment.