Answer the question
In order to leave comments, you need to log in
How to properly test a Devextreme table?
Testing dataGrid devextreme, via vue-test. When mounting the wrapper, the passed data: dataSource and column names are not displayed immediately after mounting. The project has adjacent tables on bootstrap, there are no such problems. Now I have done it with a crutch with setTimeout 50ms, after that the data appears. Everything is correct. Has anyone encountered a similar feature? how did you decide?
And when column names are specified they are ignored by the table and caption is set to dataField. So who faced? and how did you treat it?
Answer the question
In order to leave comments, you need to log in
With these data, the solution turned out to be quite simple, instead of using setTimeout, use fakeTimeout of the sinon library.
Headings are an open question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question