Menu

#172 Incorrect behaviour of assertText and assertImage when expected file does not exist

v1.6.1
closed
nobody
None
v1.6
not_relevant
Defect_Report
Assertions
3-moderate
2017-04-26
2016-07-14
No

Both assertText and assertImage:

  • When the parameter i_expected is empty, errors are written to the scenario logfile, and the whole assert is not executed.
  • => In this case, the assert should IMHO turn red, like assertcolumns, with a respective message in the html report that indicates the missing reference file.

  • When the parameter i_expected is filled with an inexistent path, the assert is marked as red (as expected), but the "Actual" link does not work. Thus, the actually created image or text file cannot be opened.

  • => In this case, the "Actual" link should work as expected.

Related

Tickets: #175

Discussion

  • Johannes Lang

    Johannes Lang - 2016-07-14
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Both assertText and assertImage:
    
    
     * When the parameter i_expected is empty, errors are written to the scenario logfile, and the whole assert is not executed.
    -   * In this case, the assert should IMHO turn red, like assertcolumns, with a respective message in the html report that indicates the missing reference file.
    +* => In this case, the assert should IMHO turn red, like assertcolumns, with a respective message in the html report that indicates the missing reference file.
    
    
     * When the parameter i_expected is filled with an inexistent path, the assert is marked as red (as expected), but the "Actual" link does not work. Thus, the actually created image or text file cannot be opened.
    -   * In this case, the "Actual" link should work as expected.
    +   * => In this case, the "Actual" link should work as expected.
    
     
  • Klaus Landwich

    Klaus Landwich - 2017-03-31
    • Milestone: default --> v1.6.1
     
  • Klaus Landwich

    Klaus Landwich - 2017-04-26
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB