accounting_ui_test: fix flaky test_accounting_transaction_module_empty_transactions
This module is not sorted, we cannot just do assertions based on line index. Instead we do two different approaches: - When there is only one "empty" draft transaction, we check locate the line based on the state cell and then check each cell relatively to that first xpath - After we had a second draft, we just check that we have two lines matching each cell predicate.
Showing
Please register or sign in to comment