From db8c993f9026101317bf85e44f3c1bf53749f8cd Mon Sep 17 00:00:00 2001 From: d041073 Date: Fri, 19 Apr 2024 15:37:54 +0200 Subject: [PATCH] [INTERNAL][TEST] demokit: stabilize demokit apps Opa tests SNOW: DINC0128037 CR-Id: 002075125800001569792024 Change-Id: I9a67f74537db762dab9590e1645d5038f436753e --- .../sap/m/demokit/orderbrowser/demoapp.json | 2 -- .../webapp/test/integration/AllJourneys.js | 3 +- .../webapp/test/integration/BusyJourney.js | 31 ------------------- .../test/integration/BusyJourneyPhone.js | 31 ------------------- 4 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourney.js delete mode 100644 src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourneyPhone.js diff --git a/src/sap.m/test/sap/m/demokit/orderbrowser/demoapp.json b/src/sap.m/test/sap/m/demokit/orderbrowser/demoapp.json index 66ff70901cee..f151c1e30247 100644 --- a/src/sap.m/test/sap/m/demokit/orderbrowser/demoapp.json +++ b/src/sap.m/test/sap/m/demokit/orderbrowser/demoapp.json @@ -25,8 +25,6 @@ "webapp/model/models.js", "webapp/test/integration/arrangements/Startup.js", "webapp/test/integration/AllJourneys.js", - "webapp/test/integration/BusyJourney.js", - "webapp/test/integration/BusyJourneyPhone.js", "webapp/test/integration/MasterJourney.js", "webapp/test/integration/NavigationJourney.js", "webapp/test/integration/NavigationJourneyPhone.js", diff --git a/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/AllJourneys.js b/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/AllJourneys.js index 0251e3d2a0cb..6679db64b967 100644 --- a/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/AllJourneys.js +++ b/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/AllJourneys.js @@ -8,8 +8,7 @@ sap.ui.define([ "./arrangements/Startup", "./MasterJourney", "./NavigationJourney", - "./NotFoundJourney", - "./BusyJourney" + "./NotFoundJourney" ], function (Opa5, Startup) { "use strict"; Opa5.extendConfig({ diff --git a/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourney.js b/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourney.js deleted file mode 100644 index 1d44f63d3849..000000000000 --- a/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourney.js +++ /dev/null @@ -1,31 +0,0 @@ -/*global QUnit*/ - -sap.ui.define([ - "sap/ui/test/opaQunit", - "sap/ui/Device", - "./pages/App", - "./pages/Master" -], function (opaTest, Device) { - "use strict"; - - var iDelay = (Device.browser.msie || Device.browser.edge) ? 1500 : 1000; - - QUnit.module("Phone busy indication"); - - opaTest("Should see a global busy indication while loading the metadata", function (Given, When, Then) { - // Arrangements - Given.iStartMyApp({delay: iDelay}); - - // Assertions - Then.onTheAppPage.iShouldSeeTheBusyIndicator(); - }); - - opaTest("Should see a busy indication on the master after loading the metadata", function (Given, When, Then) { - // Assertions - Then.onTheMasterPage.iShouldSeeTheBusyIndicator(); - - //Cleanup - Then.iTeardownMyApp(); - }); - -}); diff --git a/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourneyPhone.js b/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourneyPhone.js deleted file mode 100644 index 1d44f63d3849..000000000000 --- a/src/sap.m/test/sap/m/demokit/orderbrowser/webapp/test/integration/BusyJourneyPhone.js +++ /dev/null @@ -1,31 +0,0 @@ -/*global QUnit*/ - -sap.ui.define([ - "sap/ui/test/opaQunit", - "sap/ui/Device", - "./pages/App", - "./pages/Master" -], function (opaTest, Device) { - "use strict"; - - var iDelay = (Device.browser.msie || Device.browser.edge) ? 1500 : 1000; - - QUnit.module("Phone busy indication"); - - opaTest("Should see a global busy indication while loading the metadata", function (Given, When, Then) { - // Arrangements - Given.iStartMyApp({delay: iDelay}); - - // Assertions - Then.onTheAppPage.iShouldSeeTheBusyIndicator(); - }); - - opaTest("Should see a busy indication on the master after loading the metadata", function (Given, When, Then) { - // Assertions - Then.onTheMasterPage.iShouldSeeTheBusyIndicator(); - - //Cleanup - Then.iTeardownMyApp(); - }); - -});