Files
sap-backend-developer-cap/app/incidents/webapp/test/integration/IncidentsObjectPageJourney.gen.js
2026-07-26 08:41:40 +00:00

46 lines
2.4 KiB
JavaScript

/******************************************************************************
* ╔═══════════════════════════════════════════════════════════════════════╗ *
* ║ ║ *
* ║ WARNING: AUTO-GENERATED FILE ║ *
* ║ ║ *
* ║ This file is automatically generated by SAP Fiori tools and is ║ *
* ║ overwritten when you run the OPA test generator again. ║ *
* ║ ║ *
* ║ To add your own custom tests: ║ *
* ║ - Create a new journey test file in this directory. ║ *
* ║ - Follow the same pattern as this file. ║ *
* ║ - Add the new file to the opaTests.qunit.js config file. ║ *
* ║ - Custom journey files are not overwritten. ║ *
* ║ ║ *
* ╚═══════════════════════════════════════════════════════════════════════╝ *
******************************************************************************/
sap.ui.define([
"sap/ui/test/opaQunit",
"./pages/JourneyRunner"
], function (opaTest, runner) {
"use strict";
function journey() {
QUnit.module("IncidentsObjectPageObjectPage journey");
opaTest("Navigate to IncidentsObjectPageObjectPage", function (Given, When, Then) {
Given.iStartMyApp();
When.onTheIncidentsListGenerated.onFilterBar().iExecuteSearch();
Then.onTheIncidentsListGenerated.onTable().iCheckRows();
When.onTheIncidentsListGenerated.onTable().iPressRow(0);
Then.onTheIncidentsObjectPageGenerated.iSeeThisPage();
});
opaTest("Teardown", function (Given, When, Then) {
// Cleanup
Given.iTearDownMyApp();
});
}
runner.run([journey]);
});