Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 1.1, for removal in 26.0; use
BaseBrowserlessTest.find(Class)instead.since 1.1, for removal in 26.0; useBaseBrowserlessTest.find(Class, Component)instead.since 1.1, for removal in 26.0; useBaseBrowserlessTest.findInView(Class)instead.UseComponentQuery.single()for more reliable tests that assert exactly one matching component, or useComponentQuery.atIndex(int)with an explicit index if selecting from multiple components is intentional.Wrapping the instantiator of the mocked environment has no effect; use that instantiator directly. Scheduled for removal.useMockRequest.setUserInRole(BiPredicate), which takes the same argumentUseGrid.Column.getFooterText()orGrid.Column.getFooterComponent()directly
-
Deprecated ClassesClassDescriptionWrapping the instantiator of the mocked environment has no effect; use that instantiator directly. Scheduled for removal.
-
Deprecated MethodsMethodDescriptionsince 1.1, for removal in 26.0; use
BaseBrowserlessTest.find(Class)instead.since 1.1, for removal in 26.0; useBaseBrowserlessTest.find(Class, Component)instead.since 1.1, for removal in 26.0; useBaseBrowserlessTest.findInView(Class)instead.since 25.3, declare the services withBrowserlessTestConfig.lookupServices()or by overridingBaseBrowserlessTest.testConfiguration()instead. Overrides of this method are still honored.session lock isolation is enabled by default and disabling it is meant only as a temporary way to keep existing tests running. A test that fails with it enabled usually changes another user's UI withoutUI.access(): fix the application code, or activate that user's window first if the test changes it directly. If the failure looks wrong, report an issue.UseComponentQuery.single()for more reliable tests that assert exactly one matching component, or useComponentQuery.atIndex(int)with an explicit index if selecting from multiple components is intentional.useComponentQuery.withoutTheme(ThemeVariant)with the component's typed variant enum where possible.useComponentQuery.withTheme(ThemeVariant)with the component's typed variant enum where possible — it autocompletes in the IDE and turns typos into compile errors. This raw-string overload remains for callers that need to filter on a theme not surfaced through aThemeVariantenum.useHasThemeFilter.withoutTheme(ThemeVariant)with the component's typed variant enum where possible.useHasThemeFilter.withTheme(ThemeVariant)with the component's typed variant enum where possible. This raw-string overload remains for themes not surfaced through aThemeVariantenum.useMockRequest.setUserInRole(BiPredicate), which takes the same argumentUseGrid.Column.getFooterText()orGrid.Column.getFooterComponent()directlyUseGrid.Column.getHeaderText()orGrid.Column.getHeaderComponent()UseGrid.Column.getFooterText()orGrid.Column.getFooterComponent()directlyUseGrid.Column.getHeaderText()orGrid.Column.getHeaderComponent()UseGrid.Column.getFooterText()orGrid.Column.getFooterComponent()directlyUseGrid.Column.getHeaderText()orGrid.Column.getHeaderComponent()UseGrid.Column.getFooterText()orGrid.Column.getFooterComponent()directlyUseGrid.Column.getHeaderText()orGrid.Column.getHeaderComponent()