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

htmlunit | dxavier | 12 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

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

    Root Cause Analysis

    1. org.junit.ComparisonFailure

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

      at com.gargoylesoftware.htmlunit.html.HtmlRadioButtonInput2Test.defaultCheckedAttribute()
    2. HtmlUnit
      HtmlRadioButtonInput2Test.defaultCheckedAttribute
      1. com.gargoylesoftware.htmlunit.html.HtmlRadioButtonInput2Test.defaultCheckedAttribute(HtmlRadioButtonInput2Test.java:1114)
      1 frame