org.junit.ComparisonFailure: expected:<[false, , true, [, false, , true, checked, false, checked, true, checked, true, checked, false, checked], true, checked]> but was:<[false, , true, [checked, false, , true, checked, false, , true, checked, true, checked, false, ], true, checked]>

htmlunit | dxavier | 10 months ago
  1. 0

    HtmlCheckBoxInput, HtmlRadioButton and HtmlOption's checked attributes are not reflected

    htmlunit | 10 months ago | dxavier
    org.junit.ComparisonFailure: expected:<[false, , true, [, false, , true, checked, false, checked, true, checked, true, checked, false, checked], true, checked]> but was:<[false, , true, [checked, false, , true, checked, false, , true, checked, true, checked, false, ], true, checked]>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.junit.ComparisonFailure

      expected:<[false, , true, [, false, , true, checked, false, checked, true, checked, true, checked, false, checked], true, checked]> but was:<[false, , true, [checked, false, , true, checked, false, , true, checked, true, checked, false, ], true, checked]>

      at com.gargoylesoftware.htmlunit.html.HtmlRadioButtonInput2Test.checkedAttribute()
    2. HtmlUnit
      HtmlRadioButtonInput2Test.checkedAttribute
      1. com.gargoylesoftware.htmlunit.html.HtmlRadioButtonInput2Test.checkedAttribute(HtmlRadioButtonInput2Test.java:1057)
      1 frame