Skip to content
Snippets Groups Projects

READY:Test helpers : Message box, click yes vs enter

Merged florck requested to merge florck:dev into dev

Instead of hitting enter, we click ont the yes button.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Contributor

    Created by: coveralls

    Coverage Status

    Coverage remained the same at 48.497% when pulling ddb0f283 on florck:dev into eebc6c97 on duniter:dev.

  • Contributor

    I have an idea : could it be possible to develop an helper which takes as a parameter the clicked button ?

    Like :

    click_on_top_message_box(QMessageBox.Yes)

    This way we could have a clean helper common to all the tests.

  • Fact is that for the box where button is « Ok », I don’t know what we should click, since QMessageBox.Ok doesn’t exist... edit : Ok exists. Will try to see what then should be done.

  • @Insoleet I'm still on it, got some good improvements alread! However, I find some surprizes ! For instance, one never enter, in test_connection_config in 64 and next steps since box is closed by the "enter" hit... So it will require so more investigation job!

  • Contributor

    I don't understand, what do you have on live 64 ?

  • As explained, it is following of test line 64.

    But indeed, my supposition was wrong. I have a discrepancy regarding the behavior depending on the way it is launched : with breakpoints or not. With breakpoints, once window closed, it doesn't continue, whereas otherwise it continues...

  • @Insoleet Je rebaserai quand la branche dev sera ok, à moins que tu veuilles résoudre le conflit. Normalement c'est tout bon !

  • Contributor

    Created by: coveralls

    Coverage Status

    Coverage remained the same at 48.481% when pulling 04bf3b2e on florck:dev into 642518bf on duniter:dev.

  • Contributor

    Thank you very much ! I sent you 50 UD for your contribution :) I hope you enjoyed going throught Sakia code !

Please register or sign in to reply
Loading