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

htmlunit | dxavier | 11 months ago
  1. 0

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

    htmlunit | 11 months ago | dxavier
    org.junit.ComparisonFailure: expected:<[false, null, true, [null, false, null, true, , false, , true, , true, yes, false, yes, true, yes]]> but was:<[false, null, true, [checked, false, null, true, checked, false, null, true, checked, true, checked, false, null, 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, null, true, [null, false, null, true, , false, , true, , true, yes, false, yes, true, yes]]> but was:<[false, null, true, [checked, false, null, true, checked, false, null, true, checked, true, checked, false, null, 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