status-desktop/test/ui-test/testSuites/suite_communities/tst_communityFlows
Jonathan Rainville db6af0554a fix(chat-model): use setData to set the chat model
Fixes #10384

The problem was that doing the sort inside the insertRows messed up the model.
I removed it and it fixed the issues. However, it created an other issue with ordering.

The problem this time is that when populating the model at the start, we do not get the chats in order, so calculating the right position to insert a chat is difficult.

Instead, I use a setData function to just put all the chats in the items list, sort it and call it done, using the resetModel function.

I also did some clean ups.
2023-04-24 11:06:17 -04:00
..
bdd_hooks.py test(chore): Add Automatic Screenshots on Test Failures and Errors 2022-11-22 18:55:02 +01:00
test.feature fix(chat-model): use setData to set the chat model 2023-04-24 11:06:17 -04:00
test.py test(suite_communities): Created `bdd_hook` for each `suite_communities` test case 2022-10-25 16:01:41 +02:00