Testing Spreadsheet in Reactjs

Posted by: 16pa1a0576 on 16 April 2021, 4:33 pm EST

  • Posted 16 April 2021, 4:33 pm EST

    I have a React component like using Spreadsheets and Worksheet. I am unit testing this component using, react-testing-library and jest, but unable to achieve that.

    Please guide me how I can do that.

    Regards,
    Venkatesh.
  • Replied 19 April 2021, 5:52 pm EST

    Hi,

    This issue needs further investigation hence we escalated this issue to the concerned team. We will update you regarding this as soon as we get any information. The internal ID for this issue will be SJS-8453.

    Regards
    Avinash
  • Replied 20 April 2021, 1:47 am EST

    Thanks for the update.
  • Replied 28 April 2021, 12:13 am EST

    Hi, Any update regarding this testing with React Testing Library?
  • Replied 28 April 2021, 11:29 am EST

    Hi,

    Please refer to the attached sample that demonstrates how you could test the spread using JEST and let us know if you face any issues.

    Regards,
    Avinash

    jest-testing-spread 2.zip
  • Replied 28 April 2021, 6:34 pm EST

    Hi,

    I have a column with button in header. I want to test onclick functionality on that button. How can i do that ?

    Regards,
    16pa1a0576.
  • Replied 29 April 2021, 7:01 pm EST

    Hi 16pa1a0576,

    We are unable to acheive the required functionality using the current public API hence we have escalated this issue to the concerned team for further investigation. We will update you as we get any information from the team, The internal ID for this issue will be SJS-8611.

    Regards,
    Avinash
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels