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 | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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, , 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