spec/support/helpers.rb
# Unfortunately vue-multiselect component is not very friendly regarding
# interactions without being in the vue/node testing world.
Unfortunately vue-multiselect component is not very friendly regarding
interactions without being in the vue/node testing world.
Unfortunately vue - multiselect component is not very friendly regarding interactions without being in the vue / node testing world .
def fill_vue_multiselect(element, text)
    execute_script("document.querySelector('#{element}').dispatchEvent(new Event('focus'))")
    execute_script("document.querySelector('#{element} .multiselect__input').value = '#{text}'")
    execute_script("document.querySelector('#{element} .multiselect__input')
                    .dispatchEvent(new Event('input'))")
  end
def fill_vue_multiselect ( element , text ) execute_script ( "document.querySelector('#{element}').dispatchEvent(new Event('focus'))" ) execute_script ( "document.querySelector('#{element} .multiselect__input').value = '#{text}'" ) execute_script ( "document.querySelector('#{element} .multiselect__input')
                    .dispatchEvent(new Event('input'))" ) end
Unfortunately vue-multiselect component is not very friendly regarding
interactions without being in the vue/node testing world.
Unfortunately vue - multiselect component is not very friendly regarding interactions without being in the vue / node testing world .
element
<not_specific>
text
<not_specific>