Test select
Example#
Code-example#
<measmatic-card highlight-header>
<measmatic-test-select data-id="control1Id1"></measmatic-test-select>
<measmatic-test-select data-id="control1Id2"></measmatic-test-select>
<measmatic-test-select data-id="control1Id3" pass="true"></measmatic-test-select>
<measmatic-test-select data-id="control1Id4" pass="false"></measmatic-test-select>
</measmatic-card>
Description#
This custom-element creates a control to select a test and executes all child tests within when the selected has passed/failed.
Usage#
Attributes#
Necessary#
<measmatic-test-select data-id='control1Id'>
Optional#
<measmatic-test-select data-id='control1Id' pass="false">
pass="false"
will set the default of the select-element to fails
Properties of interest
testName
gets name of the selected testtestGuid
gets guid of the selected testtestPass
gets/sets if the selected test should pass or fail to execute subteststestObject
gets/sets Object containingtestName
andtestGuid
of selected test