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

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

    Root Cause Analysis

    1. org.junit.ComparisonFailure

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

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