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 | 11 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 | 11 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]>

    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