code: def test_rejection_aok_element_val(val, validator_extra_aok):
      with pytest.raises(ValueError) as validation_failure:
          validator_extra_aok.validate_coerce(val)
  
      assert "Invalid element(s)" in str(validation_failure.value)
  
imports: import itertools
  import pytest
  from _plotly_utils.basevalidators import FlaglistValidator
  import numpy
label_desc: Use image node_id 20 for calling a global function with example usage: test_rejection_aok_element_val(val, validator_extra_aok) without return types