@@ -1232,6 +1232,60 @@ <h5 class="docs-api-h5 docs-api-method-header">Methods</h5>
12321232
12331233
12341234
1235+ < table class ="docs-api-method-table ">
1236+ < thead >
1237+ < tr class ="docs-api-method-name-row ">
1238+ < th colspan ="2 " class ="docs-api-method-name-cell "> < div class ="docs-api-modifier-method-marker ">
1239+ async
1240+ </ div > countHarnesses
1241+ </ th >
1242+ </ tr >
1243+ </ thead > < tr class ="docs-api-method-description-row ">
1244+ < td colspan ="2 " class ="docs-api-method-description-cell ">
1245+ < p > Searches for all instance of the component corresponding to the given harness type under the
1246+ < code > HarnessEnvironment</ code > 's root element, and returns the number that were found.</ p >
1247+
1248+ </ td >
1249+ </ tr > < thead >
1250+ < tr class ="docs-api-method-parameters-header-row ">
1251+ < th colspan ="2 " class ="docs-api-method-parameters-header-cell "> Parameters</ th >
1252+ </ tr >
1253+ </ thead >
1254+
1255+ < tr class ="docs-api-method-parameter-row ">
1256+ < td class ="docs-api-method-parameter-cell ">
1257+ < p class ="docs-api-method-parameter-name ">
1258+ query</ p >
1259+ < code class ="docs-api-method-parameter-type "> HarnessQuery<T></ code >
1260+ </ td >
1261+ < td class ="docs-api-method-parameter-description-cell ">
1262+ < p class ="docs-api-method-parameter-description ">
1263+ < p > A query for a harness to create</ p >
1264+
1265+ </ p >
1266+ </ td >
1267+ </ tr >
1268+ < thead >
1269+ < tr class ="docs-api-method-returns-header-row ">
1270+ < th colspan ="2 " class ="docs-api-method-returns-header-cell "> Returns</ th >
1271+ </ tr >
1272+ </ thead >
1273+ < tr >
1274+ < td class ="docs-api-method-returns-type-cell ">
1275+ < code class ="docs-api-method-returns-type "> Promise<number></ code >
1276+ </ td >
1277+ < td class ="docs-api-method-returns-description-cell ">
1278+ < p class ="docs-api-method-returns-description ">
1279+ < p > The number of instances that were found.</ p >
1280+
1281+ </ p >
1282+ </ td >
1283+ </ tr > </ table >
1284+
1285+
1286+
1287+
1288+
12351289< table class ="docs-api-method-table ">
12361290 < thead >
12371291 < tr class ="docs-api-method-name-row ">
@@ -1699,6 +1753,89 @@ <h5 class="docs-api-h5 docs-api-method-header">Methods</h5>
16991753
17001754
17011755
1756+ < table class ="docs-api-method-table ">
1757+ < thead >
1758+ < tr class ="docs-api-method-name-row ">
1759+ < th colspan ="2 " class ="docs-api-method-name-cell "> < div class ="docs-api-modifier-method-marker ">
1760+ async
1761+ </ div > getHarnessAtIndex
1762+ </ th >
1763+ </ tr >
1764+ </ thead > < tr class ="docs-api-method-description-row ">
1765+ < td colspan ="2 " class ="docs-api-method-description-cell ">
1766+ < p > Searches for an instance of the component corresponding to the given harness type and index
1767+ under the < code > HarnessEnvironment</ code > 's root element, and returns a < code > ComponentHarness</ code > for that
1768+ instance. The index specifies the offset of the component to find. If no matching
1769+ component is found at that index, an error is thrown.</ p >
1770+
1771+ </ td >
1772+ </ tr > < thead >
1773+ < tr class ="docs-api-method-parameters-header-row ">
1774+ < th colspan ="2 " class ="docs-api-method-parameters-header-cell "> Parameters</ th >
1775+ </ tr >
1776+ </ thead >
1777+
1778+ < tr class ="docs-api-method-parameter-row ">
1779+ < td class ="docs-api-method-parameter-cell ">
1780+ < p class ="docs-api-method-parameter-name ">
1781+ query</ p >
1782+ < code class ="docs-api-method-parameter-type "> HarnessQuery<T></ code >
1783+ </ td >
1784+ < td class ="docs-api-method-parameter-description-cell ">
1785+ < p class ="docs-api-method-parameter-description ">
1786+ < p > A query for a harness to create</ p >
1787+
1788+ </ p >
1789+ </ td >
1790+ </ tr >
1791+
1792+ < tr class ="docs-api-method-parameter-row ">
1793+ < td class ="docs-api-method-parameter-cell ">
1794+ < p class ="docs-api-method-parameter-name ">
1795+ index</ p >
1796+ < code class ="docs-api-method-parameter-type "> </ code >
1797+ </ td >
1798+ < td class ="docs-api-method-parameter-description-cell ">
1799+ < p class ="docs-api-method-parameter-description ">
1800+ < p > The zero-indexed offset of the component to find</ p >
1801+
1802+ </ p >
1803+ </ td >
1804+ </ tr >
1805+
1806+ < tr class ="docs-api-method-parameter-row ">
1807+ < td class ="docs-api-method-parameter-cell ">
1808+ < p class ="docs-api-method-parameter-name ">
1809+ offset</ p >
1810+ < code class ="docs-api-method-parameter-type "> number</ code >
1811+ </ td >
1812+ < td class ="docs-api-method-parameter-description-cell ">
1813+ < p class ="docs-api-method-parameter-description ">
1814+
1815+ </ p >
1816+ </ td >
1817+ </ tr >
1818+ < thead >
1819+ < tr class ="docs-api-method-returns-header-row ">
1820+ < th colspan ="2 " class ="docs-api-method-returns-header-cell "> Returns</ th >
1821+ </ tr >
1822+ </ thead >
1823+ < tr >
1824+ < td class ="docs-api-method-returns-type-cell ">
1825+ < code class ="docs-api-method-returns-type "> Promise<T></ code >
1826+ </ td >
1827+ < td class ="docs-api-method-returns-description-cell ">
1828+ < p class ="docs-api-method-returns-description ">
1829+ < p > An instance of the given harness type</ p >
1830+
1831+ </ p >
1832+ </ td >
1833+ </ tr > </ table >
1834+
1835+
1836+
1837+
1838+
17021839< table class ="docs-api-method-table ">
17031840 < thead >
17041841 < tr class ="docs-api-method-name-row ">
0 commit comments