• Jérome Perrin's avatar
    accounting_ui_test: fix flaky test_accounting_transaction_module_empty_transactions · c0b8e03e
    Jérome Perrin authored
    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.
    c0b8e03e
test_accounting_transaction_module_empty_transactions.html.zpt 5.27 KB