Unit test cases for wjcGrid.FlexGrid and wjcGridFilter.FlexGridFilter and

Posted by: AAl-ismail on 26 July 2023, 6:26 pm EST

  • Posted 26 July 2023, 6:26 pm EST

    We are using both the things n our code and need to write the unit test case for the same. Please provide sample documents so that it can help us to write cases.

    Using wjcCore.CollectionView for storing data

  • Posted 27 July 2023, 9:30 pm EST

    Hi,

    There is no official documentation yet available for writing unit tests on Wijmo controls, however, you can refer to the attached sample in which some basic testing is performed on FlexGrid and FlexGridFilter. Similarly, you can write more unit tests as per your requirements.

    In case, you face any issues, please let us know.

    Regards

    UnitTestGrid_app.zip

  • Posted 1 August 2023, 6:51 pm EST

    Facing the below error. How to solve it

    Assertion failed in Wijmo: Invalid columnLayout data. Error:

    at assert (http://localhost:XXXX/karma_webpack/webpack:/node_modules/@grapecity/wijmo/es5-esm.js:14:15787)

    at WjFlexGrid.set [as columnLayout] (http://localhost:XXXX/karma_webpack/webpack:/node_modules/@grapecity/wijmo.grid/es5-esm.js:14:64878)

  • Posted 1 August 2023, 6:51 pm EST

    Facing the below error. How to solve it

    Assertion failed in Wijmo: Invalid columnLayout data. Error:

    at assert (http://localhost:XXXX/karma_webpack/webpack:/node_modules/@grapecity/wijmo/es5-esm.js:14:15787)

    at WjFlexGrid.set [as columnLayout] (http://localhost:XXXX/karma_webpack/webpack:/node_modules/@grapecity/wijmo.grid/es5-esm.js:14:64878)

  • Posted 2 August 2023, 3:43 pm EST

    Hi,

    Sorry, but we are unable to replicate the issue on our end. Could you please update the attached sample to replicate the issue so that we can further investigate the issue and assist you accordingly?

    UnitTestSample.zip

    Regards

Need extra support?

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

Learn More

Forum Channels