Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Upgrade sendkeys, fix some bugs #5157

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from
Next Next commit
tests: Fix helper.linesDiv()
  • Loading branch information
rhansen authored and SamTV12345 committed Sep 14, 2023
commit 4d6ec1909af30744d8558d42411e0b8dd5fcd800
3 changes: 2 additions & 1 deletion src/tests/frontend/helper/methods.js
Original file line number Diff line number Diff line change
@@ -49,7 +49,8 @@ helper.edit = async (message, line) => {
*
* @returns {Array.<HTMLElement>} array of divs
*/
helper.linesDiv = () => helper.padInner$('.ace-line').map(function () { return $(this); }).get();
helper.linesDiv =
() => helper.padInner$('.ace-line').map(function () { return helper.padInner$(this); }).get();

/**
* The pad text as an array of lines