EmbedThemeE2eOptions
Defined in: src/build/testing.ts:146
Options for runEmbedThemeE2e.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
open |
(page, host) => Promise<void> |
Open the product’s host page with the embed mounted, and wait until it rendered. | src/build/testing.ts:150 |
openDialog? |
(page) => Promise<void> |
Open a dialog inside the embed (to check portals take the theme), if the product has one. | src/build/testing.ts:154 |
scope |
string |
The embed’s wrapper class (".xtandard-flags"). |
src/build/testing.ts:148 |
textSelector? |
string |
A text element inside the embed whose colour follows the theme; "h1" by default. |
src/build/testing.ts:152 |