ui5-community / wdi5

official UI5 end-to-end test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
https://ui5-community.github.io/wdi5/
Apache License 2.0
102 stars 43 forks source link

error: Cannot read properties of undefined (reading 'waitForUI5Options') #161

Closed marianfoo closed 2 years ago

marianfoo commented 2 years ago

Describe the bug When running wdio, error is happening in _getControl, probably in https://github.com/js-soft/wdi5/blob/d69e84a8229316f45afe4d714487b2136c6039de/client-side-js/getControl.js#L4

Maybe because i run this in Fiori Launchpad in flpSandbox.html?

To Reproduce Steps to reproduce the behavior:

  1. Clone https://github.com/marianfoo/ui5-dayjs-sample/tree/wdi5-test
  2. npm install
  3. npm run wdio

Expected behavior No error

Logs/Console Output

```shell http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.555:INFO:CONSOLE(456)] "2022-03-02 19:15:53.550899 xx-waitForTheme = undefined - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.555:INFO:CONSOLE(456)] "2022-03-02 19:15:53.552300 Declared modules: sap.ui.core.library - sap.ui.core.Core ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.556:INFO:CONSOLE(456)] "2022-03-02 19:15:53.553199 Declared theme sap_fiori_3 - sap.ui.core.Core", source: http://localhost:8080/resources/sap/base/Log.js?eval (456)[0302/191553.556:INFO:CONSOLE(456)] "2022-03-02 19:15:53.554199 Content direction set to 'ltr' - sap.ui.core.Core", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.556:INFO:CONSOLE(462)] "2022-03-02 19:15:53.554699 Browser-Id: cr98 - sap.ui.core.Core", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.557:INFO:CONSOLE(456)] "2022-03-02 19:15:53.556600 Sync point 'UI5 Document Ready' created - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.558:INFO:CONSOLE(456)] "2022-03-02 19:15:53.557699 Sync point 'UI5 Core Preloads and Bootstrap Script' created - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.561:INFO:CONSOLE(453)] "2022-03-02 19:15:53.560699 Sync loading of module 'jquery.sap.script' due to usage of deprecated API 'jQuery.sap.getUriParameters' - jquery.sap.stubs ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191553.567:INFO:CONSOLE(453)] "2022-03-02 19:15:53.566399 [Deprecated] UriParameters.get(..., true) must not be used, use getAll() instead. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191553.645:INFO:CONSOLE(462)] "2022-03-02 19:15:53.643800 Class sap.ui.core.Control registered for library sap.ui.core - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.654:INFO:CONSOLE(456)] "2022-03-02 19:15:53.653600 LoaderExtensions.registerResourcePath ('sap/ushell/renderers/fiorisandbox', 'https://sapui5.hana.ondemand.com/test-resources/sap/ushell/bootstrap/../renderers/fiorisandbox/') - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.654:INFO:CONSOLE(456)] "2022-03-02 19:15:53.653800 Mixing/Overwriting sandbox configuration from https://sapui5.hana.ondemand.com/test-resources/sap/ushell/bootstrap/../shells/sandbox/fioriSandboxConfig.json. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.654:INFO:CONSOLE(453)] "2022-03-02 19:15:53.653899 Sync loading of module 'jquery.sap.sjax' due to usage of deprecated API 'jQuery.sap.sjax' - jquery.sap.stubs ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191553.692:INFO:CONSOLE(462)] "2022-03-02 19:15:53.691800 Evaluating fiori launchpad sandbox config JSON: {"services":{"LaunchPage":{"adapter":{"config":{"catalogs":[{"id":"sample_catalog","title":"Sample Application Catalog","tiles":[{"id":"todefaultapp","title":"Default Application","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_00","title":"Default Application","info":"shows statically registered apps","icon":"sap-icon://Fiori2/F0001","targetURL":"#Action-todefaultapp"}},{"id":"tortademo","title":"RTA Demo App","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_17","title":"RTA Demo App","info":"shows RTA Demo App","icon":"sap-icon://Fiori2/F0001","targetURL":"#Action-tortademo"}},{"id":"toappnavsample","title":"AppNavSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"AppNavSample","subtitle":"Navigation Sample 1","info":"demo for startup parameter passing","icon":"sap-icon://Fiori2/F0003","targetURL":"#Action-toappnavsample"}},{"id":"toappnavsampleParam","title":"AppNavSampleParam","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_02","title":"AppNavSampleParam","subtitle":"Navigation Sample 1","info":"demo for startup parameter passing","icon":"sap-icon://flight","targetURL":"#Action-toappnavsampleParam"}},{"id":"toappnavsample2","title":"AppNavSample2","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_03","title":"AppNavSample2","subtitle":"Navigation Sample 2","info":"demo for declarative routing","icon":"sap-icon://Fiori2/F0002","targetURL":"#Action-toappnavsample2"}},{"id":"touserdefaults","title":"UserDefaults","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_03","title":"UserDefaults","subtitle":"UserDefaults Internal Demonstration App","info":"demo for UserDefaults","icon":"sap-icon://Fiori2/F0002","targetURL":"#Action-touserdefaults"}},{"id":"toappperssample","title":"AppPersSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_04","title":"AppPersSample","subtitle":"Personalization Sample 1","info":"demo for generic personalization service","icon":"sap-icon://employee","targetURL":"#Action-toappperssample"}},{"id":"toappperssample2","title":"AppPersSample2","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_05","title":"AppPersSample2","subtitle":"Personalization Sample 2","info":"demo for personalization of tables","icon":"sap-icon://flight","targetURL":"#Action-toappperssample2"}},{"id":"toappperssample3","title":"AppPersSample3","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_06","title":"AppPersSample3","subtitle":"Personalization Sample 3","info":"demo for personalization with variants","icon":"sap-icon://camera","targetURL":"#Action-toappperssample3"}},{"id":"toappcontextsample","title":"AppContextSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_07","title":"AppContextSample","subtitle":"Personalization Sample 4","info":"demo for AppContext (application state and cross app parameter passing)","icon":"sap-icon://car-rental","targetURL":"#Action-toappcontextsample"}},{"id":"toperssrvtest","title":"PersSrvTest","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_08","title":"PersSrvTest","subtitle":"Personalization Service Test","info":"create, load and save personalization containers","icon":"sap-icon://world","targetURL":"#Action-toperssrvtest"}},{"id":"toappstatesample","title":"AppStateSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_09","title":"AppStateSample","subtitle":"Application state sample app","info":"Application state sample app","icon":"sap-icon://action","targetURL":"#Action-toappstatesample"}},{"id":"toperssrv2test","title":"PersSrv2Test","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_10","title":"PersSrv2Test","subtitle":"Personalization Service Test","info":"OData model create, load and save personalization containers","icon":"sap-icon://action","targetURL":"#Action-toperssrv2test"}},{"id":"appscfltest","title":"AppScflTest","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_11","title":"AppScflTest","subtitle":"Scaffolding","info":"demo app based on sap.ca scaffolding layer","icon":"sap-icon://action-settings","targetURL":"#UI2Fiori2SampleApps-appscfltest"}},{"id":"appstateformsample","title":"Fiori Icons","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_12","title":"AppScflTest","subtitle":"Scaffolding","info":"demo app based on sap.ca scaffolding layer","icon":"sap-icon://action-settings","targetURL":"#Action-toappstateformsample"}},{"id":"ValidateUrlMessagePopoverSample","title":"ValidateUrlMessagePopoverSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_13","title":"ValidateUrlMessagePopoverSample","subtitle":"ValidateUrlMessagePopoverSample","info":"demo for startup parameter passing","icon":"sap-icon://Fiori2/F0003","targetURL":"#Action-ValidateUrlMessagePopoverSample"}},{"id":"toWDANavSource","title":"WDA Navigation source","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation source","subtitle":"WDR_TEST_FLP_NAVIGATION (nwbc)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavSource-display"}},{"id":"toWDANavTarget","title":"WDA Navigation target","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation target","subtitle":"WDR_TEST_PORTAL_NAV_TARGET (nwbc)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavTarget-display"}},{"id":"toWDANavSource","title":"WDA Navigation source","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation source","subtitle":"WDR_TEST_FLP_NAVIGATION (direct)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavSourceDirect-display"}},{"id":"toWDANavTarget","title":"WDA Navigation target (direct)","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation target","subtitle":"WDR_TEST_PORTAL_NAV_TARGET (direct)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavTargetDirect-display"}}]}],"groups":[{"id":"sample_group","title":"Sample Applications","isPreset":true,"isVisible":true,"isGroupLocked":false,"tiles":[{"id":"todefaultapp","title":"Default Application","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_00","title":"Default Application","info":"shows statically registered apps","icon":"sap-icon://Fiori2/F0001","targetURL":"#Action-todefaultapp"}},{"id":"tortademo","title":"RTA Demo App","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_17","title":"RTA Demo App","info":"shows RTA Demo App","icon":"sap-icon://Fiori2/F0001","targetURL":"#Action-tortademo"}},{"id":"toappnavsample","title":"AppNavSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"AppNavSample","subtitle":"Navigation Sample 1","info":"demo for startup parameter passing","icon":"sap-icon://Fiori2/F0003","targetURL":"#Action-toappnavsample"}},{"id":"toappnavsampleParam","title":"AppNavSampleParam","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_02","title":"AppNavSampleParam","subtitle":"Navigation Sample 1","info":"demo for startup parameter passing","icon":"sap-icon://flight","targetURL":"#Action-toappnavsampleParam"}},{"id":"toappnavsample2","title":"AppNavSample2","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_03","title":"AppNavSample2","subtitle":"Navigation Sample 2","info":"demo for declarative routing","icon":"sap-icon://Fiori2/F0002","targetURL":"#Action-toappnavsample2"}},{"id":"touserdefaults","title":"UserDefaults","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_03","title":"UserDefaults","subtitle":"UserDefaults Internal Demonstration App","info":"UserDefaults Internal Demonstration App","icon":"sap-icon://Fiori2/F0002","targetURL":"#Action-touserdefaults"}},{"id":"toappperssample","title":"AppPersSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_04","title":"AppPersSample","subtitle":"Personalization Sample 1","info":"demo for generic personalization service","icon":"sap-icon://employee","targetURL":"#Action-toappperssample"}},{"id":"toappperssample2","title":"AppPersSample2","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_05","title":"AppPersSample2","subtitle":"Personalization Sample 2","info":"demo for personalization of tables","icon":"sap-icon://flight","targetURL":"#Action-toappperssample2"}},{"id":"toappperssample3","title":"AppPersSample3","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_06","title":"AppPersSample3","subtitle":"Personalization Sample 3","info":"demo for personalization with variants","icon":"sap-icon://camera","targetURL":"#Action-toappperssample3"}},{"id":"toappcontextsample","title":"AppContextSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_07","title":"AppContextSample","subtitle":"Personalization Sample 4","info":"demo for AppContext (application state and cross app parameter passing)","icon":"sap-icon://car-rental","targetURL":"#Action-toappcontextsample"}},{"id":"toperssrvtest","title":"PersSrvTest","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_08","title":"PersSrvTest","subtitle":"Personalization Service Test","info":"create, load and save personalization containers","icon":"sap-icon://world","targetURL":"#Action-toperssrvtest"}},{"id":"toappstatesample","title":"AppStateSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_09","title":"AppStateSample","subtitle":"Application state sample app","info":"Application state sample app","icon":"sap-icon://action","targetURL":"#Action-toappstatesample"}},{"id":"toperssrv2test","title":"PersSrv2Test","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_10","title":"PersSrv2Test","subtitle":"Personalization Service Test","info":"OData model create, load and save personalization containers","icon":"sap-icon://action","targetURL":"#Action-toperssrv2test"}},{"id":"appscfltest","title":"AppScflTest","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_11","title":"AppScflTest","subtitle":"Scaffolding","info":"demo app based on sap.ca scaffolding layer","icon":"sap-icon://action-settings","targetURL":"#UI2Fiori2SampleApps-appscfltest"}},{"id":"toappstateformsample","title":"FormSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_12","title":"AppStateFormSample","subtitle":"Form editing with application state","info":"Form editing with application state","icon":"sap-icon://action","targetURL":"#Action-toappstateformsample"}},{"id":"ValidateUrlMessagePopoverSample","title":"ValidateUrlMessagePopoverSample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_13","title":"ValidateUrlMessagePopoverSample","subtitle":"ValidateUrlMessagePopoverSample","info":"demo for startup parameter passing","icon":"sap-icon://Fiori2/F0003","targetURL":"#Action-ValidateUrlMessagePopoverSample"}},{"id":"PostMessageTest","title":"Post Message Test","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_14","title":"Post Message Test","info":"Test app for the post message service interface used by WDA intent-based navigation","icon":"sap-icon://Fiori2/F0004","targetURL":"#Action-topostmessagesample"}},{"id":"toWDANavSource","title":"WDA Navigation source","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation source","subtitle":"WDR_TEST_FLP_NAVIGATION (nwbc)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavSource-display"}},{"id":"toWDANavTarget","title":"WDA Navigation target","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation target","subtitle":"WDR_TEST_PORTAL_NAV_TARGET (nwbc)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavTarget-display"}},{"id":"toWDANavSource","title":"WDA Navigation source","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation source","subtitle":"WDR_TEST_FLP_NAVIGATION (direct)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavSourceDirect-display"}},{"id":"toWDANavTarget","title":"WDA Navigation target (direct)","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_01","title":"WDA Navigation target","subtitle":"WDR_TEST_PORTAL_NAV_TARGET (direct)","info":"WDA Navigation source application","icon":"sap-icon://Fiori2/F0003","targetURL":"#WDANavTargetDirect-display"}},{"id":"BookmarkSample","title":"Bookmark Sample","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_15","title":"Bookmark Sample","info":"Create FLP Bookmarks","icon":"sap-icon://favorite","targetURL":"#Action-bookmark"}},{"id":"smartMainApp","title":"Smart Controls","size":"1x1","tileType":"sap.ushell.ui.tile.StaticTile","properties":{"chipId":"catalogTile_15","title":"Smart Controls","info":"Display Smart Controls","icon":"sap-icon://favorite","targetURL":"#SmartMainApp-start"}}]}]}}},"NavTargetResolution":{"config":{"enableClientSideTargetResolution":true}},"ClientSideTargetResolution":{"adapter":{"config":{"inbounds":{"actionTodefaultapp":{"semanticObject":"Action","action":"todefaultapp","title":"Default App: shows statically registered apps (fioriSandboxConfig.js) ","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.FioriSandboxDefaultApp","url":"test-resources/sap/ushell/demoapps/FioriSandboxDefaultApp"}},"actionToappnavsample":{"semanticObject":"Action","action":"toappnavsample","title":"Navigation Sample 1: demo for startup parameter passing and routing with event handlers","signature":{"parameters":{"fixed-param1":{"defaultValue":{"format":"value","value":"value1"}}},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppNavSample","url":"test-resources/sap/ushell/demoapps/AppNavSample?array-param1=value1&array-param1=value2"}},"actionToappnavsampleParam":{"semanticObject":"Action","action":"toappnavsampleParam","title":"Navigation Sample 1: demo for startup parameter passing and routing with event handlers","signature":{"parameters":{"fixed-param1":{"defaultValue":{"format":"value","value":"value1"}}},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppNavSample","url":"test-resources/sap/ushell/demoapps/AppNavSample?array-param1=value1&array-param1=value2"}},"actionToappnavsample2":{"semanticObject":"Action","action":"toappnavsample2","title":"Navigation Sample 2: demo for declarative routing","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppNavSample2","url":"test-resources/sap/ushell/demoapps/AppNavSample2"}},"actionTouserdefaults":{"semanticObject":"Action","action":"touserdefaults","title":"UserDefaults Internal Demonstration App","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.UserDefaults","url":"test-resources/sap/ushell/demoapps/UserDefaults"}},"actionToappperssample":{"semanticObject":"Action","action":"toappperssample","title":"Personalization Sample 1: demo for generic personalization service","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppPersSample","url":"test-resources/sap/ushell/demoapps/AppPersSample"}},"actionToappcontextsample":{"semanticObject":"Action","action":"toappcontextsample","title":"Personalization Sample 4: demo for AppContext (application state and cross app parameter passing)","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppContextSample","url":"test-resources/sap/ushell/demoapps/AppContextSample"}},"actionToShowParameters":{"semanticObject":"Action","action":"toshowparameters","title":"Show received parameters","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.ReceiveParametersTestApp","url":"test-resources/sap/ushell/demoapps/ReceiveParametersTestApp"}},"actionToappperssample2":{"semanticObject":"Action","action":"toappperssample2","title":"Personalization Sample 2: demo for personalization of tables","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppPersSample2","url":"test-resources/sap/ushell/demoapps/AppPersSample2"}},"actionToappperssample3":{"semanticObject":"Action","action":"toappperssample3","title":"Personalization Sample 3: demo for personalization with variants","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppPersSample3","url":"test-resources/sap/ushell/demoapps/AppPersSample3"}},"actionToperssrvtest":{"semanticObject":"Action","action":"toperssrvtest","title":"Personalization Service Test: create, load and save personalization containers","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.PersSrvTest","url":"test-resources/sap/ushell/demoapps/PersSrvTest"}},"actionToperssrv2test":{"semanticObject":"Action","action":"toperssrv2test","title":"Personalization Service Test: OData model create, load and save personalization containers","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.PersSrv2Test","url":"test-resources/sap/ushell/demoapps/PersSrv2Test"}},"actionToappstatesample":{"semanticObject":"Action","action":"toappstatesample","title":"ApplicationState Sample: demo for AppState","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppStateSample","url":"test-resources/sap/ushell/demoapps/AppStateSample"}},"actionToappstateformsample":{"semanticObject":"Action","action":"toappstateformsample","title":"ApplicationState Sample: Application State (Form, Undo)","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.AppStateFormSample","url":"test-resources/sap/ushell/demoapps/AppStateFormSample"}},"actionValidateUrlMessagePopoverSample":{"semanticObject":"Action","action":"ValidateUrlMessagePopoverSample","title":"ValidateUrlMessagePopoverSample","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.ValidateUrlMessagePopoverSample","url":"test-resources/sap/ushell/demoapps/ValidateUrlMessagePopoverSample"}},"uI2Fiori2SampleAppsAppscfltest":{"semanticObject":"UI2Fiori2SampleApps","action":"appscfltest","title":"Scaffolding: demo app based on sap.ca scaffolding layer","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=AppScflTest","url":"test-resources/sap/ushell/demoapps/AppScflTest"}},"actionTopostmessagesample":{"semanticObject":"Action","action":"topostmessagesample","title":"Post Message Test App","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"URL","additionalInformation":"managed=FioriWave1","url":"test-resources/sap/ushell/demoapps/PostMessageTestApp/index.html"}},"wDANavSourceDisplay":{"semanticObject":"WDANavSource","action":"display","title":"WDA Navsource nwbc url","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"WDA","additionalInformation":"","url":"/ui2/nwbc/~canvas;window=app/wda/WDR_TEST_FLP_NAVIGATION/?System=&sap-ie=edge"}},"wDANavTargetDisplay":{"semanticObject":"WDANavTarget","action":"display","title":"WDA Navtarget nwbc url","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"WDA","additionalInformation":"","url":"/ui2/nwbc/~canvas;window=app/wda/WDR_TEST_PORTAL_NAV_TARGET/?System=&sap-ie=edge"}},"wDANavSourceDirectDisplay":{"semanticObject":"WDANavSourceDirect","action":"display","title":"WDA Navsource direct url","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"WDA","additionalInformation":"","url":"/sap/bc/webdynpro/sap/wdr_test_flp_navigation"}},"wDANavTargetDirectDisplay":{"semanticObject":"WDANavTargetDirect","action":"display","title":"WDA Navtarget direct url","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"WDA","additionalInformation":"","url":"/sap/bc/webdynpro/sap/wdr_test_portal_nav_target"}},"actionBookmark":{"semanticObject":"Action","action":"bookmark","title":"Bookmark Sample","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ushell.demo.bookmark","url":"test-resources/sap/ushell/demoapps/BookmarkSample"}},"smartMainApp":{"semanticObject":"SmartMainApp","action":"start","title":"Smart Controls","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ui.comp.sample.smartlink.example_99","url":"test-resources/sap/ui/comp/demokit/sample/smartlink/example_99"}},"smartFactsheetPage":{"semanticObject":"ProductCollection","action":"displayFactSheet","title":"Show Fact Sheet","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ui.comp.sample.smartlink.factSheetPage","url":"test-resources/sap/ui/comp/demokit/sample/smartlink/factSheetPage"}},"smartProductPage":{"semanticObject":"ProductCollection","action":"displayProduct","title":"Show Product","signature":{"parameters":{"sap-tag":{"defaultValue":{"format":"value","value":"superiorAction"}}},"additionalParameters":"allowed"},"resolutionResult":{"applicationType":"SAPUI5","additionalInformation":"SAPUI5.Component=sap.ui.comp.sample.smartlink.productPage","url":"test-resources/sap/ui/comp/demokit/sample/smartlink/productPage"}},"tortademo":{"semanticObject":"Action","action":"tortademo","title":"RTA Demo App","signature":{"parameters":{},"additionalParameters":"allowed"},"resolutionResult":{"additionalInformation":"SAPUI5.Component=sap.ui.demoapps.rta.freestyle","applicationType":"SAPUI5","url":"test-resources/sap/ui/demoapps/demokit/rta/freestyle"}},"userdefaults1":{"semanticObject":"Action","action":"tortademo","title":"UserDefaults1","signature":{"additionalParameters":"ignored","parameters":{"naturalPriority":{"defaultValue":{"value":"LOW"}},"sap-priority":{"defaultValue":{"value":"UserDefault.First","format":"reference"}},"targetMappingName":{"defaultValue":{"value":"First"}}}},"resolutionResult":{"additionalInformation":"SAPUI5.Component=sap.ui.demoapps.rta.freestyle","applicationType":"SAPUI5","url":"test-resources/sap/ui/demoapps/demokit/rta/freestyle"}},"userdefaults2":{"semanticObject":"Action","action":"tortademo","title":"UserDefaults2","signature":{"additionalParameters":"ignored","parameters":{"naturalPriority":{"defaultValue":{"value":"LOW"}},"sap-priority":{"defaultValue":{"value":"UserDefault.Second","format":"reference"}},"targetMappingName":{"defaultValue":{"value":"Second"}},"AdditionalValueParam":{"defaultValue":{"value":"UserDefault.extended.AdditionalValueParam","format":"reference"}}}},"resolutionResult":{"additionalInformation":"SAPUI5.Component=sap.ui.demoapps.rta.freestyle","applicationType":"SAPUI5","url":"test-resources/sap/ui/demoapps/demokit/rta/freestyle"}}}}}}}} - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.705:INFO:CONSOLE(453)] "2022-03-02 19:15:53.693000 Sync loading of module 'jquery.sap.strings' due to usage of deprecated API 'jQuery.sap.endsWithIgnoreCase' - jquery.sap.stubs ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191553.713:INFO:CONSOLE(456)] "2022-03-02 19:15:53.712899 Mixing/Overwriting sandbox configuration from /appconfig/fioriSandboxConfig.json. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.741:INFO:CONSOLE(453)] "2022-03-02 19:15:53.740600 retry loading JavaScript resource: sap/ui/core/library-preload.js - sap.ui.ModuleSystem", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191553.754:INFO:CONSOLE(452)] "2022-03-02 19:15:53.754100 failed to load JavaScript resource: sap/ui/core/library-preload.js - sap.ui.ModuleSystem", source: http://localhost:8080/resources/sap/base/Log.js?eval (452) [0302/191553.755:INFO:CONSOLE(452)] "2022-03-02 19:15:53.754399 failed to load 'sap/ui/core/library-preload.js' (failed to load 'sap/ui/core/library-preload.js' from ../resources/sap/ui/core/library-preload.js: script load error), falling back to library-preload.json - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (452) [0302/191553.772:INFO:CONSOLE(452)] "2022-03-02 19:15:53.772199 failed to load '../resources/sap/ui/core/library-preload.json': undefined - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (452) [0302/191553.837:INFO:CONSOLE(462)] "2022-03-02 19:15:53.836899 Analyzing Library sap.ui.core - sap.ui.core.Core.initLibrary()", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.839:INFO:CONSOLE(456)] "2022-03-02 19:15:53.838500 Including ../resources/sap/ui/core/themes/sap_fiori_3/library.css - sap.ui.core.Core.includeLibraryTheme() - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.963:INFO:CONSOLE(462)] "2022-03-02 19:15:53.963000 Analyzing Library sap.m - sap.ui.core.Core.initLibrary()", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.964:INFO:CONSOLE(462)] "2022-03-02 19:15:53.963399 resolve Dependencies to sap.ui.core - sap.ui.core.Core.initLibrary()", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.966:INFO:CONSOLE(456)] "2022-03-02 19:15:53.965600 Including ../resources/sap/m/themes/sap_fiori_3/library.css - sap.ui.core.Core.includeLibraryTheme() - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191553.968:INFO:CONSOLE(462)] "2022-03-02 19:15:53.967100 Analyzing Library sap.ushell - sap.ui.core.Core.initLibrary()", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.968:INFO:CONSOLE(462)] "2022-03-02 19:15:53.967699 resolve Dependencies to sap.ui.core - sap.ui.core.Core.initLibrary()", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.969:INFO:CONSOLE(462)] "2022-03-02 19:15:53.968100 resolve Dependencies to sap.m - sap.ui.core.Core.initLibrary()", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191553.969:INFO:CONSOLE(456)] "2022-03-02 19:15:53.969100 Including ../resources/sap/ushell/themes/sap_fiori_3/library.css - sap.ui.core.Core.includeLibraryTheme() - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.221:INFO:CONSOLE(462)] "2022-03-02 19:15:54.220500 Class sap.ui.core.CommandExecution registered for library sap.ui.core - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.223:INFO:CONSOLE(462)] "2022-03-02 19:15:54.223300 Class sap.m._overflowToolbarHelpers.OverflowToolbarAssociativePopover registered for library sap.m - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.224:INFO:CONSOLE(462)] "2022-03-02 19:15:54.224000 Class sap.m.AssociativeOverflowToolbar registered for library sap.m - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.226:INFO:CONSOLE(453)] "2022-03-02 19:15:54.225500 Called sap.ui.core.theming.Parameters.get() before core has been initialized. Consider using the API only when required, e.g. onBeforeRendering. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191554.244:INFO:CONSOLE(456)] "2022-03-02 19:15:54.243899 Sync point 'UI5 Core Preloads and Bootstrap Script' finished (tasks:4, open:0, failures:0) - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.256:INFO:CONSOLE(456)] "2022-03-02 19:15:54.256000 Sync point 'UI5 Document Ready' finished (tasks:2, open:0, failures:0) - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.257:INFO:CONSOLE(456)] "2022-03-02 19:15:54.256300 Initializing - sap.ui.core.Core.init()", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.257:INFO:CONSOLE(462)] "2022-03-02 19:15:54.256500 FocusHandler setup on Root undefined: content - sap.ui.core.FocusHandler", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.257:INFO:CONSOLE(456)] "2022-03-02 19:15:54.256899 Initialized - sap.ui.core.Core.init()", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.257:INFO:CONSOLE(456)] "2022-03-02 19:15:54.257100 Starting Plugins - sap.ui.core.Core.init()", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.257:INFO:CONSOLE(456)] "2022-03-02 19:15:54.257199 Plugins started - sap.ui.core.Core.init()", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.258:INFO:CONSOLE(462)] "2022-03-02 19:15:54.257699 ThemeCheck: sap-ui-theme-sap.ui.core: true (noLinkElement: false, sheet: true, innerHtml: false, linkElementFinishedLoading: true) - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.258:INFO:CONSOLE(462)] "2022-03-02 19:15:54.258199 ThemeCheck: sap-ui-theme-sap.m: true (noLinkElement: false, sheet: true, innerHtml: false, linkElementFinishedLoading: true) - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.259:INFO:CONSOLE(462)] "2022-03-02 19:15:54.258399 ThemeCheck: sap-ui-theme-sap.ushell: true (noLinkElement: false, sheet: true, innerHtml: false, linkElementFinishedLoading: true) - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.259:INFO:CONSOLE(462)] "2022-03-02 19:15:54.258699 Interaction relevant step started - Number of pending steps: 1 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.259:INFO:CONSOLE(456)] "2022-03-02 19:15:54.259000 Fire Loaded Event - sap.ui.core.Core.init()", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.274:INFO:CONSOLE(33)] "could not find any translatable text for key 'appTitle' in bundle file(s): ''", source: http://localhost:8080/resources/sap/base/assert.js?eval (33) [0302/191554.275:INFO:CONSOLE(452)] "2022-03-02 19:15:54.274600 sap.ushelContainer.createRenderer() should always be called with bAsync:true. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (452) [0302/191554.654:INFO:CONSOLE(462)] "2022-03-02 19:15:54.653800 Class sap.m.MessageListItem registered for library sap.m - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191554.710:INFO:CONSOLE(456)] "2022-03-02 19:15:54.708699 It's not needed to call IconPool.insertFontFaceStyle to insert font-face for the predefined icon font SAP-icons because the font-face is included in the library.css of sap.ui.core - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.960:INFO:CONSOLE(456)] "2022-03-02 19:15:54.959100 Component "sap.ushell.renderers.fiori2" is loading library: "sap.ui.core" - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.960:INFO:CONSOLE(456)] "2022-03-02 19:15:54.959699 Component "sap.ushell.renderers.fiori2" is loading library: "sap.m" - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191554.990:INFO:CONSOLE(462)] "2022-03-02 19:15:54.990100 Class sap.ui.core.routing.Target.TitleProvider registered for library sap.ui.core - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.036:INFO:CONSOLE(453)] "2022-03-02 19:15:55.035899 Do not use deprecated view factory functions (View: mainShell). Use the static create function on the view module instead: [XML|HTML|JSON]View.create(). - sap.ui.view ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.037:INFO:CONSOLE(462)] "2022-03-02 19:15:55.036600 Customizing: no View replacement found for view 'sap.ushell.renderers.fiori2.Shell'. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.047:INFO:CONSOLE(453)] "2022-03-02 19:15:55.047000 Do not use deprecated sap.ui.core.mvc.JSView: (View: mainShell). Use typed views defined by 'sap.ui.core.mvc.View.extend()' and created by 'sap.ui.core.mvc.View.create()'. For further information, have a look at https://sapui5.hana.ondemand.com/#/topic/e6bb33d076dc4f23be50c082c271b9f0. - sap.ui.core.mvc.JSView ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.124:INFO:CONSOLE(462)] "2022-03-02 19:15:55.123399 Class sap.ui.core.mvc.XMLAfterRenderingNotifier registered for library sap.ui.core - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.125:INFO:CONSOLE(462)] "2022-03-02 19:15:55.124500 Registered on-demand-preprocessor for "xml" with syncSupport - sap.ui.core.mvc.View ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.126:INFO:CONSOLE(453)] "2022-03-02 19:15:55.125199 For defining views, use typed views with 'sap.ui.core.mvc.View.extend()'. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.126:INFO:CONSOLE(453)] "2022-03-02 19:15:55.126100 Do not use synchronous controller creation for controller 'sap.ushell.renderers.fiori2.Shell'! Use the new asynchronous factory 'sap.ui.core.mvc.Controller.create(...)' instead. - sap.ui.controller ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.176:INFO:CONSOLE(456)] "2022-03-02 19:15:55.175199 FLP Bootstrap Scheduling Agent :: MODULE 'state' /AVAILABLE/ - FLPScheduler ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191555.229:INFO:CONSOLE(462)] "2022-03-02 19:15:55.228500 lazy stub for method 'sap.ui.xmlfragment' called. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.240:INFO:CONSOLE(456)] "2022-03-02 19:15:55.240100 Do not use deprecated factory function 'sap.ui.xmlfragment'. Require 'sap/ui/core/Fragment' and use 'load()' instead - sap.ui.xmlfragment ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191555.241:INFO:CONSOLE(453)] "2022-03-02 19:15:55.240699 Synchronous loading of fragment, due to Fragment.init() call for 'sap.ushell.ui.ShellLayout'. Use 'sap/ui/core/Fragment' module with Fragment.load() instead. - SyncXHR ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.249:INFO:CONSOLE(462)] "2022-03-02 19:15:55.247899 XML processing mode is default. - XMLTemplateProcessor", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.249:INFO:CONSOLE(462)] "2022-03-02 19:15:55.248899 asynchronously - XMLTemplateProcessor", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.283:INFO:CONSOLE(462)] "2022-03-02 19:15:55.282199 Class sap.ushell.ui.shell.SplitContainer registered for library sap.ushell - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.302:INFO:CONSOLE(453)] "2022-03-02 19:15:55.301699 JQMIGRATE: jQuery.fn.bind() is deprecated - jQueryThreeDeprecation ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.304:INFO:CONSOLE(456)] "2022-03-02 19:15:55.303699 Do not use deprecated factory function 'sap.ui.xmlfragment'. Require 'sap/ui/core/Fragment' and use 'load()' instead - sap.ui.xmlfragment ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191555.304:INFO:CONSOLE(453)] "2022-03-02 19:15:55.304000 Synchronous loading of fragment, due to Fragment.init() call for 'sap.ushell.ui.ShellHeader'. Use 'sap/ui/core/Fragment' module with Fragment.load() instead. - SyncXHR ", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.309:INFO:CONSOLE(462)] "2022-03-02 19:15:55.309199 XML processing mode is default. - XMLTemplateProcessor", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.310:INFO:CONSOLE(462)] "2022-03-02 19:15:55.309800 asynchronously - XMLTemplateProcessor", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.332:INFO:CONSOLE(456)] "2022-03-02 19:15:55.331899 It's not needed to call IconPool.insertFontFaceStyle to insert font-face for the predefined icon font SAP-icons because the font-face is included in the library.css of sap.ui.core - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191555.333:INFO:CONSOLE(453)] "2022-03-02 19:15:55.332800 Legacy variant usage of sap.ui.core.theming.Parameters.get API detected for parameter(s): '_sap_m_Switch_OnPosition'. This could lead to bad performance and additional synchronous XHRs, as parameters might not be available yet. Use asynchronous variant instead. - LegacyParametersGet sap.ui.support", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.334:INFO:CONSOLE(453)] "2022-03-02 19:15:55.333300 Legacy variant usage of sap.ui.core.theming.Parameters.get API detected for parameter(s): '_sap_m_Switch_OffPosition'. This could lead to bad performance and additional synchronous XHRs, as parameters might not be available yet. Use asynchronous variant instead. - LegacyParametersGet sap.ui.support", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.334:INFO:CONSOLE(462)] "2022-03-02 19:15:55.334100 Class sap.ushell.ui.horizon.NewDesignSwitch registered for library sap.ushell - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.371:INFO:CONSOLE(462)] "2022-03-02 19:15:55.370300 Tool area not created but visibility updated - sap.ushell.ShellLayout", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.378:INFO:CONSOLE(462)] "2022-03-02 19:15:55.377199 Interaction relevant step stopped - Number of pending steps: 0 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.379:INFO:CONSOLE(462)] "2022-03-02 19:15:55.378399 Failed to publish into channel 'sap.ui'. No such channel. - sap.ui sap.ui.core.EventBus", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.381:INFO:CONSOLE(462)] "2022-03-02 19:15:55.380300 Interaction relevant step started - Number of pending steps: 1 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.385:INFO:CONSOLE(462)] "2022-03-02 19:15:55.384600 Interaction relevant step stopped - Number of pending steps: 0 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.385:INFO:CONSOLE(462)] "2022-03-02 19:15:55.384899 Failed to publish into channel 'sap.ui'. No such channel. - sap.ui sap.ui.core.EventBus", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.386:INFO:CONSOLE(462)] "2022-03-02 19:15:55.385500 Interaction relevant step started - Number of pending steps: 1 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.389:INFO:CONSOLE(462)] "2022-03-02 19:15:55.388699 Interaction relevant step stopped - Number of pending steps: 0 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.399:INFO:CONSOLE(462)] "2022-03-02 19:15:55.398300 Failed to publish Event 'rendererLoaded' in 'sap.ushell'. No listeners found. - sap.ushell#rendererLoaded sap.ui.core.EventBus", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.399:INFO:CONSOLE(462)] "2022-03-02 19:15:55.398500 Interaction relevant step started - Number of pending steps: 1 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.401:INFO:CONSOLE(462)] "2022-03-02 19:15:55.401000 Interaction relevant step stopped - Number of pending steps: 0 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.401:INFO:CONSOLE(462)] "2022-03-02 19:15:55.401199 Failed to publish into channel 'sap.ui'. No such channel. - sap.ui sap.ui.core.EventBus", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.402:INFO:CONSOLE(462)] "2022-03-02 19:15:55.401600 Interaction relevant step started - Number of pending steps: 1 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.403:INFO:CONSOLE(453)] "2022-03-02 19:15:55.402199 Legacy variant usage of sap.ui.core.theming.Parameters.get API detected for parameter(s): 'sapUiGlobalLogo'. This could lead to bad performance and additional synchronous XHRs, as parameters might not be available yet. Use asynchronous variant instead. - LegacyParametersGet sap.ui.support", source: http://localhost:8080/resources/sap/base/Log.js?eval (453) [0302/191555.422:INFO:CONSOLE(462)] "2022-03-02 19:15:55.421699 Interaction relevant step stopped - Number of pending steps: 0 - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.509:INFO:CONSOLE(456)] "2022-03-02 19:15:55.508800 Outer shell hash changed from 'undefined' to 'demarianzeisdatelibsample-tile' - sap.ushell.services.ShellNavigation", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191555.542:INFO:CONSOLE(456)] "2022-03-02 19:15:55.541600 NavTargetResolution: custom resolver DefaultAdapter resolves #demarianzeisdatelibsample-tile - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (456) [0302/191555.588:INFO:CONSOLE(462)] "2022-03-02 19:15:55.587800 Adapter got no system aliases via configuration - sap.ushell.adapters.local.ClientSideTargetResolutionAdapter", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.592:INFO:CONSOLE(462)] "2022-03-02 19:15:55.591699 [REPORT #1] Matching Intent 'demarianzeisdatelibsample-tile' to inbounds (form factor: desktop) - STAGE1: Find matching inbounds ------------------------------ Ô£à #demarianzeisdatelibsample-tile{<+>} STAGE2: Resolve references -------------------------- Ô£à No need to resolve references STAGE3: Rematch with references ------------------------------- Ô£à rematch was skipped (no references to resolve) STAGE4: Sort matched targets ---------------------------- Nothing to sort sap.ushell.services.ClientSideTargetResolution", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.594:INFO:CONSOLE(462)] "2022-03-02 19:15:55.592600 The following target will now be resolved - { "inbound": { "semanticObject": "demarianzeisdatelibsample", "action": "tile", "title": "Description of de.marianzeis.datelibsample", "signature": { "parameters": {}, "additionalParameters": "allowed" }, "resolutionResult": { "applicationType": "SAPUI5", "additionalInformation": "SAPUI5.Component=de.marianzeis.datelibsample", "ui5ComponentName": "de.marianzeis.datelibsample", "applicationDependencies": { "self": { "name": "de.marianzeis.datelibsample" }, "asyncHints": { "libs": [ { "name": "sap.ui.core" }, { "name": "sap.ui.unified" } ] } }, "url": "../" } }, "genericSO": false, "intentParamsPlusAllDefaults": {}, "defaultedParamNames": [], "resolutionResult": { "contentProviderId": "" }, "priorityString": "AIDM=0 CURCP=0 x TECM=0 MTCH=000 MREQ=000 NFIL=000 NDEF=000 POT=000 RFRE=999 TECP=0", "matches": true, "matchesVirtualInbound": false, "parsedIntent": { "semanticObject": "demarianzeisdatelibsample", "action": "tile", "contextRaw": "", "params": {}, "appSpecificRoute": "", "formFactor": "desktop" } } sap.ushell.services.ClientSideTargetResolution", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.598:INFO:CONSOLE(5)] "------------------------------------------------------------------------------------------", source: (5) [0302/191555.599:INFO:CONSOLE(6)] "undefined", source: (6) [0302/191555.611:INFO:CONSOLE(5)] "------------------------------------------------------------------------------------------", source: (5) [0302/191555.612:INFO:CONSOLE(6)] "undefined", source: (6) [0302/191555.627:INFO:CONSOLE(462)] "2022-03-02 19:15:55.627199 Intent was resolved to the following target - {} sap.ushell.services.ClientSideTargetResolution", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.629:INFO:CONSOLE(462)] "2022-03-02 19:15:55.628800 Failed to publish into channel 'ApplicationContainer'. No such channel. - ApplicationContainer sap.ui.core.EventBus", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0302/191555.630:INFO:CONSOLE(5)] "------------------------------------------------------------------------------------------", source: (5) [0302/191555.631:INFO:CONSOLE(6)] "undefined", source: (6) [0302/191555.640:INFO:CONSOLE(5)] "------------------------------------------------------------------------------------------", source: (5) [0302/191555.640:INFO:CONSOLE(6)] "undefined", source: (6) [0-0] 2022-03-02T18:15:55.646Z ERROR webdriver: Request failed with status 500 due to javascript error: javascript error: Cannot read properties of undefined (reading 'waitForUI5Options') [0-0] JavaScript stack: [0-0] TypeError: Cannot read properties of undefined (reading 'waitForUI5Options') [0-0] at eval (eval at executeAsyncScript (:552:26), :8:69) [0-0] at eval (eval at executeAsyncScript (:552:26), :33:12) [0-0] at eval (eval at executeAsyncScript (:552:26), :34:4) [0-0] at executeAsyncScript (:552:47) [0-0] at apply.selector.id (:567:29) [0-0] at callFunction (:446:22) [0-0] at :460:23 [0-0] at :461:3 [0-0] (Session info: headless chrome=98.0.4758.102) [0-0] javascript error in "ui5 basic.get field" javascript error: javascript error: Cannot read properties of undefined (reading 'waitForUI5Options') JavaScript stack: TypeError: Cannot read properties of undefined (reading 'waitForUI5Options') at eval (eval at executeAsyncScript (:552:26), :8:69) at eval (eval at executeAsyncScript (:552:26), :33:12) at eval (eval at executeAsyncScript (:552:26), :34:4) at executeAsyncScript (:552:47) at apply.selector.id (:567:29) at callFunction (:446:22) at :460:23 at :461:3 (Session info: headless chrome=98.0.4758.102) at getErrorFromResponseBody (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\webdriver\build\utils.js:197:12) at NodeJSRequest._request (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\webdriver\build\request\index.js:158:60) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Browser.wrapCommandFn (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\@wdio\utils\build\shim.js:137:29) at async Browser.wrapCommandFn (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\@wdio\utils\build\shim.js:137:29) at async WDI5._getControl (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\wdio-ui5-service\src\lib\WDI5.js:607:24) at async WDI5.init (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\wdio-ui5-service\src\lib\WDI5.js:47:31) at async Browser. (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\wdio-ui5-service\src\lib\wdioUi5-index.js:530:27) at async Browser.wrapCommandFn (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\@wdio\utils\build\shim.js:137:29) [0302/191555.657:INFO:CONSOLE(462)] "2022-03-02 19:15:55.656600 Shell controller._createWaitForRendererCreatedPromise: shell renderer already created, return empty array. - ", source: http://localhost:8080/resources/sap/base/Log.js?eval (462) [0-0] FAILED in chrome - C:\UI5_NPM\de.marianzeis.datelibsample\uimodule\webapp\test\basic.test.js "spec" Reporter: ------------------------------------------------------------------ [chrome 98.0.4758.102 windows #0-0] Running: chrome (v98.0.4758.102) on windows [chrome 98.0.4758.102 windows #0-0] Session ID: 7d1fb7b9a52437e66fb124026c692a73 [chrome 98.0.4758.102 windows #0-0] [chrome 98.0.4758.102 windows #0-0] » \webapp\test\basic.test.js [chrome 98.0.4758.102 windows #0-0] ui5 basic [chrome 98.0.4758.102 windows #0-0] ✖ get field [chrome 98.0.4758.102 windows #0-0] [chrome 98.0.4758.102 windows #0-0] 1 failing (3s) [chrome 98.0.4758.102 windows #0-0] [chrome 98.0.4758.102 windows #0-0] 1) ui5 basic get field [chrome 98.0.4758.102 windows #0-0] javascript error: Cannot read properties of undefined (reading 'waitForUI5Options') JavaScript stack: TypeError: Cannot read properties of undefined (reading 'waitForUI5Options') at eval (eval at executeAsyncScript (:552:26), :8:69) at eval (eval at executeAsyncScript (:552:26), :33:12) at eval (eval at executeAsyncScript (:552:26), :34:4) at apply.selector.id (:567:29) at callFunction (:446:22) at :460:23 at :461:3 (Session info: headless chrome=98.0.4758.102) [chrome 98.0.4758.102 windows #0-0] javascript error: javascript error: Cannot read properties of undefined (reading 'waitForUI5Options') [chrome 98.0.4758.102 windows #0-0] JavaScript stack: [chrome 98.0.4758.102 windows #0-0] TypeError: Cannot read properties of undefined (reading 'waitForUI5Options') [chrome 98.0.4758.102 windows #0-0] at eval (eval at executeAsyncScript (:552:26), :8:69) [chrome 98.0.4758.102 windows #0-0] at eval (eval at executeAsyncScript (:552:26), :33:12) [chrome 98.0.4758.102 windows #0-0] at eval (eval at executeAsyncScript (:552:26), :34:4) [chrome 98.0.4758.102 windows #0-0] at executeAsyncScript (:552:47) [chrome 98.0.4758.102 windows #0-0] at apply.selector.id (:567:29) [chrome 98.0.4758.102 windows #0-0] at callFunction (:446:22) [chrome 98.0.4758.102 windows #0-0] at :460:23 [chrome 98.0.4758.102 windows #0-0] at :461:3 [chrome 98.0.4758.102 windows #0-0] (Session info: headless chrome=98.0.4758.102) [chrome 98.0.4758.102 windows #0-0] at getErrorFromResponseBody (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\webdriver\build\utils.js:197:12) [chrome 98.0.4758.102 windows #0-0] at NodeJSRequest._request (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\webdriver\build\request\index.js:158:60) [chrome 98.0.4758.102 windows #0-0] at runMicrotasks () [chrome 98.0.4758.102 windows #0-0] at processTicksAndRejections (node:internal/process/task_queues:96:5) [chrome 98.0.4758.102 windows #0-0] at async Browser.wrapCommandFn (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\@wdio\utils\build\shim.js:137:29) [chrome 98.0.4758.102 windows #0-0] at async Browser.wrapCommandFn (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\@wdio\utils\build\shim.js:137:29) [chrome 98.0.4758.102 windows #0-0] at async WDI5._getControl (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\wdio-ui5-service\src\lib\WDI5.js:607:24) [chrome 98.0.4758.102 windows #0-0] at async WDI5.init (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\wdio-ui5-service\src\lib\WDI5.js:47:31) [chrome 98.0.4758.102 windows #0-0] at async Browser. (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\wdio-ui5-service\src\lib\wdioUi5-index.js:530:27) [chrome 98.0.4758.102 windows #0-0] at async Browser.wrapCommandFn (C:\UI5_NPM\de.marianzeis.datelibsample\node_modules\@wdio\utils\build\shim.js:137:29) Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:10 Waiting for the debugger to disconnect... Waiting for the debugger to disconnect... ```

Screenshots image

Runtime Env (please complete the following information):

marianfoo commented 2 years ago

no error when using:

wdi5: {
        logLevel: "silent", // [optional] error | verbose | silent, default: "error"
        url: "test/flpSandbox.html", // [mandatory] {string} name of your bootstrap html file. If your server autoredirects to a 'domain:port/'-like root url, use empty string ''
        skipInjectUI5OnStart: false, // [optional] {boolean}, default: false; true when UI5 is not on the start page, you need to later call <wdioUI5service>.injectUI5() manually
        waitForUI5Timeout: 15000 // [optional] {number}, default: 15000; maximum waiting time in milliseconds while checking for UI5 availability
      },

new error :(

[0-0] TypeError in "ui5 basic.get field"
TypeError: simple_test.getText is not a function
    at Context.<anonymous> (C:\UI5_NPM\de.marianzeis.datelibsample\uimodule\webapp\test\basic.test.js:15:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[0-0] FAILED in chrome - C:\UI5_NPM\de.marianzeis.datelibsample\uimodule\webapp\test\basic.test.js
vobu commented 2 years ago

hi, thanks for checking in 👍 can you please check whether setting

might solve things? Also, use the 0.9.0-alpha.0 - more stable than the semver suggests 😁

marianfoo commented 2 years ago

Hi vobu, thanks for the quick feedback. Your suggestions unfortunately produce the same error. Alpha really put me off a bit :D Unfortunately the same error here.

```shell > datelibsample@0.0.1 wdio:headlessmac > HEADLESS=true && cd uimodule && wdio run wdio.conf.js Execution of 1 workers started at 2022-03-03T15:47:33.059Z [0-0] RUNNING in chrome - /webapp/test/basic.test.js [0-0] TypeError in "ui5 basic.get field" TypeError: simple_test.getText is not a function at Context. (/Users/marianzeis/DEV/ui5-dayjs-sample/uimodule/webapp/test/basic.test.js:15:32) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) [0-0] FAILED in chrome - /webapp/test/basic.test.js "spec" Reporter: ------------------------------------------------------------------ [chrome 99.0.4844.51 mac os x #0-0] Running: chrome (v99.0.4844.51) on mac os x [chrome 99.0.4844.51 mac os x #0-0] Session ID: f252566a45cc3772e3b736dc87d10497 [chrome 99.0.4844.51 mac os x #0-0] [chrome 99.0.4844.51 mac os x #0-0] » /webapp/test/basic.test.js [chrome 99.0.4844.51 mac os x #0-0] ui5 basic [chrome 99.0.4844.51 mac os x #0-0] ✖ get field [chrome 99.0.4844.51 mac os x #0-0] [chrome 99.0.4844.51 mac os x #0-0] 1 failing (1.7s) [chrome 99.0.4844.51 mac os x #0-0] [chrome 99.0.4844.51 mac os x #0-0] 1) ui5 basic get field [chrome 99.0.4844.51 mac os x #0-0] simple_test.getText is not a function [chrome 99.0.4844.51 mac os x #0-0] TypeError: simple_test.getText is not a function [chrome 99.0.4844.51 mac os x #0-0] at Context. (/Users/marianzeis/DEV/ui5-dayjs-sample/uimodule/webapp/test/basic.test.js:15:32) [chrome 99.0.4844.51 mac os x #0-0] at runMicrotasks () [chrome 99.0.4844.51 mac os x #0-0] at processTicksAndRejections (node:internal/process/task_queues:96:5) Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:06 ```
Bildschirmfoto 2022-03-03 um 17 31 24
vobu commented 2 years ago

got things going :) see https://github.com/marianfoo/ui5-dayjs-sample/pull/1

marianfoo commented 2 years ago

very kind of you 😊 I tried this similar to what you did yesterday. I think the trivial error was here: https://github.com/vobu/ui5-dayjs-sample/blob/515efed6625c6293f392ec70e83e107cd73ea8b8/uimodule/webapp/test/pageObjects/Page.js#L5 image

I simply forgot async await here?

I just this this example here and tried to replicate it: https://github.com/js-soft/wdi5/blob/main/examples/ui5-js-app/webapp/test/e2e/basic.test.js

vobu commented 2 years ago

I simply forgot async await here?

that and using browser.goTo()| wdi5.goTo() instead of browser.url() plug awaiting querying for controls

marianfoo commented 2 years ago

might want to fix the example too? I guess still on the Todo list? :)

vobu commented 2 years ago

erm, what example?!?

marianfoo commented 2 years ago

I just this this example here and tried to replicate it: https://github.com/js-soft/wdi5/blob/main/examples/ui5-js-app/webapp/test/e2e/basic.test.js

this one Or did i copy something wrong here

vobu commented 2 years ago

as this is part of our CI and it works well, it seems you accidentally copied an old version

marianfoo commented 2 years ago

ah, i see, i was using this the older version refactor: cleanup https://github.com/js-soft/wdi5/commit/5859471dbeda2889c2c08abbcc1e004e5f88875d But it´s already fixed, cheers, thank for your support

Bildschirmfoto 2022-03-06 um 11 15 25