GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing next.angular.dev — TestbedHarnessEnvironment • Angular @paramrawRootElement Element@returns TestbedHarnessEnvironmentFlushes change detection and async tasks captured in the Angular zone. In most cases it should not be necessary to call this manually. However, there may be some edge cases where it is needed to fully flush animation events. @returns Promise<void>Waits for all scheduled or running async tasks to complete. This allows harness authors to wait for async tasks outside of the Angular zone. This only works when Zone.js is present and patches are applied to the test framework
by @returns Promise<void>Gets the root element for the document. @returns ElementCreates a @paramelement Element@returns TestElementCreates a @paramelement Element@returns HarnessEnvironment<Element>Gets a list of all elements matching the given selector under this environment's root element. @paramselector string@returns Promise<Element[]>The native root element of this The root element of this Gets a locator factory rooted at the document root. @returns LocatorFactoryCreates an asynchronous locator function that can be used to find a For example, given the following DOM and assuming
then we expect:
@paramqueries TA list of queries specifying which harnesses and elements to search for:
@returns () => Promise<LocatorFnResult<T>>Creates an asynchronous locator function that can be used to find a For example, given the following DOM and assuming
then we expect:
@paramqueries TA list of queries specifying which harnesses and elements to search for:
@returns () => Promise<LocatorFnResult<T> | null>Creates an asynchronous locator function that can be used to find For example, given the following DOM and assuming
then we expect:
@paramqueries TA list of queries specifying which harnesses and elements to search for:
@returns () => Promise<LocatorFnResult<T>[]>@returns Promise<HarnessLoader>Gets a @paramselector stringThe selector for the root element. @returns Promise<HarnessLoader>Gets a @paramselector stringThe selector for the root element. @returns Promise<HarnessLoader | null>Gets a list of @paramselector stringThe selector for the root element. @returns Promise<HarnessLoader[]>Searches for an instance of the component corresponding to the given harness type under the
@paramquery HarnessQuery<T>A query for a harness to create @returns Promise<T>Searches for an instance of the component corresponding to the given harness type under the
@paramquery HarnessQuery<T>A query for a harness to create @returns Promise<T | null>Searches for an instance of the component corresponding to the given harness type and index
under the @paramquery HarnessQuery<T>A query for a harness to create @paramoffset number@returns Promise<T>Searches for all instances of the component corresponding to the given harness type under the
@paramquery HarnessQuery<T>A query for a harness to create @returns Promise<T[]>Searches for all instance of the component corresponding to the given harness type under the
@paramquery HarnessQuery<T>A query for a harness to create @returns Promise<number>Searches for an instance of the component corresponding to the given harness type under the
@paramquery HarnessQuery<T>A query for a harness to create @returns Promise<boolean>Searches for an element with the given selector under the evironment's root element,
and returns a @paramselector stringThe selector for the root element of the new @returns Promise<HarnessLoader>Searches for all elements with the given selector under the environment's root element,
and returns an array of @paramselector stringThe selector for the root element of the new @returns Promise<HarnessLoader[]>Creates a @paramharnessType ComponentHarnessConstructor<T>@paramelement E@returns TCreates a @returns HarnessLoaderCreates a @returns HarnessLoaderGets the native DOM element corresponding to the given TestElement. @paramel TestElement@returns ElementCreates an instance of the given harness type, using the fixture's root element as the harness's host element. This method should be used when creating a harness for the root element of a fixture, as components do not have the correct selector when they are created as the root of the fixture. @paramharnessType ComponentHarnessConstructor<T>@returns Promise<T> |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |