@sap_oss/wdio-qmate-service 3.8.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.yml +4 -4
- package/.prettierrc.json +7 -7
- package/CLAUDE.md +10 -10
- package/CONTRIBUTING.md +1 -1
- package/README.md +6 -2
- package/lib/reuse/authenticator/authConfig.js +3 -3
- package/lib/reuse/authenticator/authConfig.js.map +1 -1
- package/lib/reuse/authenticator/authHandler.js +0 -2
- package/lib/reuse/authenticator/authHandler.js.map +1 -1
- package/lib/reuse/authenticator/basicUrlAuthenticator.js.map +1 -1
- package/lib/reuse/authenticator/customAuthenticator.js +1 -3
- package/lib/reuse/authenticator/customAuthenticator.js.map +1 -1
- package/lib/reuse/authenticator/formAuthenticator.js +1 -3
- package/lib/reuse/authenticator/formAuthenticator.js.map +1 -1
- package/lib/reuse/helper/clientsideUI5scripts.js +15 -19
- package/lib/reuse/helper/clientsideUI5scripts.js.map +1 -1
- package/lib/reuse/helper/dateTimeFormatParser.js +8 -2
- package/lib/reuse/helper/dateTimeFormatParser.js.map +1 -1
- package/lib/reuse/helper/elementHighlight.js +2 -6
- package/lib/reuse/helper/elementHighlight.js.map +1 -1
- package/lib/reuse/helper/errorHandler.js +2 -9
- package/lib/reuse/helper/errorHandler.js.map +1 -1
- package/lib/reuse/helper/jsDocGen.js +1 -1
- package/lib/reuse/helper/jsDocGen.js.map +1 -1
- package/lib/reuse/helper/tableHelper.js +3 -0
- package/lib/reuse/helper/tableHelper.js.map +1 -1
- package/lib/reuse/helper/timeHelper.js +3 -7
- package/lib/reuse/helper/timeHelper.js.map +1 -1
- package/lib/reuse/helper/verboseLogger.js.map +1 -1
- package/lib/reuse/index.js +0 -17
- package/lib/reuse/index.js.map +1 -1
- package/lib/reuse/modules/common/constants/date.constants.js +0 -2
- package/lib/reuse/modules/common/constants/date.constants.js.map +1 -1
- package/lib/reuse/modules/common/navigation.js.map +1 -1
- package/lib/reuse/modules/flp/userSettings.d.ts +2 -0
- package/lib/reuse/modules/flp/userSettings.js +6 -1
- package/lib/reuse/modules/flp/userSettings.js.map +1 -1
- package/lib/reuse/modules/nonUi5/NonUi5.js.map +1 -1
- package/lib/reuse/modules/nonUi5/session.js.map +1 -1
- package/lib/reuse/modules/nonUi5/userInteraction.js.map +1 -1
- package/lib/reuse/modules/ui5/assertion.d.ts +1 -0
- package/lib/reuse/modules/ui5/assertion.js +11 -4
- package/lib/reuse/modules/ui5/assertion.js.map +1 -1
- package/lib/reuse/modules/ui5/control.js.map +1 -1
- package/lib/reuse/modules/ui5/date.js +15 -15
- package/lib/reuse/modules/ui5/date.js.map +1 -1
- package/lib/reuse/modules/ui5/element.d.ts +2 -2
- package/lib/reuse/modules/ui5/element.js +7 -4
- package/lib/reuse/modules/ui5/element.js.map +1 -1
- package/lib/reuse/modules/ui5/session.d.ts +4 -2
- package/lib/reuse/modules/ui5/session.js +32 -4
- package/lib/reuse/modules/ui5/session.js.map +1 -1
- package/lib/reuse/modules/ui5/table.js +25 -9
- package/lib/reuse/modules/ui5/table.js.map +1 -1
- package/lib/reuse/modules/ui5/userInteraction.d.ts +1 -1
- package/lib/reuse/modules/ui5/userInteraction.js +46 -59
- package/lib/reuse/modules/ui5/userInteraction.js.map +1 -1
- package/lib/reuse/modules/util/constants/formatter.constants.js +0 -2
- package/lib/reuse/modules/util/constants/formatter.constants.js.map +1 -1
- package/lib/reuse/modules/util/file.d.ts +7 -4
- package/lib/reuse/modules/util/file.js +34 -7
- package/lib/reuse/modules/util/file.js.map +1 -1
- package/lib/reuse/modules/util/formatter.js +7 -3
- package/lib/reuse/modules/util/formatter.js.map +1 -1
- package/lib/reuse/modules/util/function.js +1 -5
- package/lib/reuse/modules/util/function.js.map +1 -1
- package/lib/scripts/clientsideUI5scripts.js +22 -29
- package/lib/scripts/clientsideUI5scripts.js.map +1 -1
- package/lib/scripts/dataExchange/dataExchange.js.map +1 -1
- package/lib/scripts/dataExchange/dataExchangeUtil.js +3 -13
- package/lib/scripts/dataExchange/dataExchangeUtil.js.map +1 -1
- package/lib/scripts/hooks/before.js +0 -1
- package/lib/scripts/hooks/before.js.map +1 -1
- package/lib/scripts/hooks/onComplete.js +2 -3
- package/lib/scripts/hooks/onComplete.js.map +1 -1
- package/lib/scripts/hooks/utils/addLocatorCommands.js.map +1 -1
- package/lib/scripts/hooks/utils/browserLog.js.map +1 -1
- package/lib/scripts/hooks/utils/cycle.js +3 -9
- package/lib/scripts/hooks/utils/cycle.js.map +1 -1
- package/lib/scripts/hooks/utils/dataExchangeCommands.js +1 -2
- package/lib/scripts/hooks/utils/dataExchangeCommands.js.map +1 -1
- package/lib/scripts/hooks/utils/isBrowserDefined.js.map +1 -1
- package/lib/scripts/locators/qmateLocator.js +30 -53
- package/lib/scripts/locators/qmateLocator.js.map +1 -1
- package/lib/scripts/locators/qmateLocatorSrc/comparators/DomPropertiesComparator.js +2 -2
- package/lib/scripts/locators/qmateLocatorSrc/comparators/DomPropertiesComparator.js.map +1 -1
- package/lib/scripts/locators/qmateLocatorSrc/constants/IgnoredMetadataList.d.ts +1 -0
- package/lib/scripts/locators/qmateLocatorSrc/constants/IgnoredMetadataList.js +10 -0
- package/lib/scripts/locators/qmateLocatorSrc/constants/IgnoredMetadataList.js.map +1 -0
- package/lib/scripts/locators/qmateLocatorSrc/filters/ElementFilter.d.ts +2 -3
- package/lib/scripts/locators/qmateLocatorSrc/filters/ElementFilter.js +18 -22
- package/lib/scripts/locators/qmateLocatorSrc/filters/ElementFilter.js.map +1 -1
- package/lib/scripts/locators/qmateLocatorSrc/utils/UI5ControlHandler.js +3 -2
- package/lib/scripts/locators/qmateLocatorSrc/utils/UI5ControlHandler.js.map +1 -1
- package/lib/scripts/locators/uiveri5Locator.js +1 -1
- package/lib/scripts/locators/uiveri5Locator.js.map +1 -1
- package/lib/scripts/stats/createUsage.js +1 -1
- package/lib/scripts/stats/createUsage.js.map +1 -1
- package/lib/scripts/stats/getOperatingSystem.js.map +1 -1
- package/lib/scripts/stats/getUserId.js +1 -1
- package/lib/scripts/stats/stats.js +9 -9
- package/lib/scripts/stats/stats.js.map +1 -1
- package/lib/scripts/stats/updateUsage.js +1 -1
- package/mkdocs.yml +18 -18
- package/package.json +18 -26
- package/packages/qcrypt/dist/classes/Decrypter.d.ts +38 -38
- package/packages/qcrypt/dist/classes/Decrypter.js +150 -153
- package/packages/qcrypt/dist/classes/Encrypter.d.ts +46 -46
- package/packages/qcrypt/dist/classes/Encrypter.js +144 -144
- package/packages/qcrypt/dist/classes/KeyGenerator.d.ts +16 -16
- package/packages/qcrypt/dist/classes/KeyGenerator.js +45 -43
- package/packages/qcrypt/dist/classes/helper/ErrorHandler.d.ts +8 -8
- package/packages/qcrypt/dist/classes/helper/ErrorHandler.js +48 -50
- package/packages/qcrypt/dist/classes/helper/Util.d.ts +67 -67
- package/packages/qcrypt/dist/classes/helper/Util.js +113 -114
- package/packages/qcrypt/dist/index.js +5 -3
- package/packages/qcrypt/dist/types/common.d.ts +13 -13
- package/reuseApi.json +8 -468
- package/test/.eslintrc.yml +1 -1
- package/test/authenticator/staticLogin/configCustom.js +1 -3
- package/test/authenticator/staticLogin/configCustomViaConfig.js +1 -3
- package/test/authenticator/staticLogin/configFiori.js +1 -3
- package/test/authenticator/staticLogin/configPlain.js +1 -4
- package/test/authenticator/staticLogin/configSapCloud.js +1 -3
- package/test/authenticator/staticLogin/html/custom.html +4 -4
- package/test/authenticator/staticLogin/html/fiori.html +4 -4
- package/test/authenticator/staticLogin/html/home.html +2 -2
- package/test/authenticator/staticLogin/html/sapCloud.html +4 -4
- package/test/authenticator/staticLogin/specs/custom.spec.js +1 -5
- package/test/authenticator/staticLogin/specs/plain.spec.js +0 -5
- package/test/authenticator/staticLogin/staticServerConfig.js +13 -10
- package/test/authenticator/systemLogin/configCustom.js +3 -5
- package/test/authenticator/systemLogin/configFiori.js +2 -5
- package/test/authenticator/systemLogin/configPlain.js +3 -5
- package/test/authenticator/systemLogin/configSapCloud.js +3 -5
- package/test/authenticator/systemLogin/specs/custom.spec.js +3 -5
- package/test/authenticator/systemLogin/specs/fiori.spec.js +3 -4
- package/test/authenticator/systemLogin/specs/plain.spec.js +3 -5
- package/test/authenticator/systemLogin/specs/sapCloud.spec.js +3 -5
- package/test/core/dataExchange/config.export.js +11 -18
- package/test/core/dataExchange/config.import.js +7 -12
- package/test/core/dataExchange/config.js +9 -11
- package/test/core/dataExchange/config.parallel.group.js +53 -61
- package/test/core/dataExchange/config.parallel.js +53 -58
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/purchase-orders/Limit-Purchase-Order.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/purchase-orders/ServicePurchaseOrder.2Items.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/purchaseRequisition_HI.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/subfolder/LimitPurchaseOrder.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/subfolder/PurchaseOrderItems.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/subfolder/PurchaseOrderWithScheduline.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/subfolder/ServiceAndMaterialPurchaseOrder.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/subfolder/ServicePurchaseOrder.json +1 -1
- package/test/core/dataExchange/data/another/folder/data/anotherFolder/subfolder/ServicePurchaseOrder2Items.json +1 -1
- package/test/core/dataExchange/data/my/folder/data/qs9/data.json +1 -1
- package/test/core/dataExchange/data/my/folder/data/qs9/purchaseRequisition.json +1 -1
- package/test/core/dataExchange/data/my/folder/data/qs9/supplierInvoice.json +1 -1
- package/test/core/dataExchange/data/my/folder/data/qs9/webUser.json +1 -1
- package/test/core/dataExchange/data/ui/moreDataFolder/anotherUser.json +1 -1
- package/test/core/dataExchange/data/ui/user.json +1 -1
- package/test/core/dataExchange/data/ui/webUser.json +1 -1
- package/test/core/dataExchange/specs/export.fast.spec.js +11 -16
- package/test/core/dataExchange/specs/export.slow.spec.js +13 -18
- package/test/core/dataExchange/specs/export.spec.js +13 -23
- package/test/core/dataExchange/specs/import.spec.js +6 -23
- package/test/core/dataExchange/specs/importExport.spec.js +47 -62
- package/test/core/dataExchange/utils.js +11 -15
- package/test/core/functional/README.md +8 -5
- package/test/core/functional/chaining/chaining.test.js +46 -49
- package/test/core/functional/chaining/test.conf.js +1 -4
- package/test/core/functional/locators/ancestorProperties.test.js +49 -59
- package/test/core/functional/locators/childProperties.test.js +30 -36
- package/test/core/functional/locators/descendantProperties.test.js +50 -57
- package/test/core/functional/locators/domProperties.test.js +25 -29
- package/test/core/functional/locators/elementProperties.test.js +30 -29
- package/test/core/functional/locators/mixedProperties.test.js +317 -108
- package/test/core/functional/locators/parentProperties.test.js +18 -22
- package/test/core/functional/locators/siblingProperties.test.js +66 -75
- package/test/core/functional/locators/utils.js +1 -1
- package/test/core/functional/nativeBrowser/runInBrowser.test.js +84 -58
- package/test/core/functional/nativeBrowser/test.conf.js +1 -3
- package/test/core/functional/nonUi5/basic.test.js +3 -3
- package/test/core/functional/nonUi5/getWithDomElement.test.js +0 -2
- package/test/core/functional/nonUi5/getWithDomElements.test.js +2 -3
- package/test/core/functional/nonUi5/test.conf.js +1 -4
- package/test/core/functional/ui5Properties/countries.json +1 -1
- package/test/core/functional/ui5Properties/getAggregations.test.js +19 -27
- package/test/core/functional/ui5Properties/getAssociations.test.js +3 -3
- package/test/core/functional/ui5Properties/getBindingInfos.test.js +17 -17
- package/test/core/functional/ui5Properties/getProperties.test.js +25 -33
- package/test/core/functional/ui5Properties/test.conf.js +1 -6
- package/test/core/functional/uiveri5/sample.test.js +1 -2
- package/test/core/functional/uiveri5/test.conf.js +1 -3
- package/test/core/testIntegration/config.js +1 -1
- package/test/core/testIntegration/configMultiCombo.js +1 -1
- package/test/core/testIntegration/configTable.js +1 -1
- package/test/core/testIntegration/filters1.spec.js +908 -870
- package/test/core/testIntegration/multicombobox.spec.js +64 -60
- package/test/core/testIntegration/table.spec.js +35 -33
- package/test/helper/configurations/base.conf.js +6 -3
- package/test/helper/configurations/chrome.headless.conf.js +1 -1
- package/test/helper/sleeper.js +1 -1
- package/test/reuse/common/assertion/expectDefined.spec.js +1 -2
- package/test/reuse/common/assertion/expectEqual.spec.js +36 -26
- package/test/reuse/common/assertion/expectFalse.spec.js +1 -1
- package/test/reuse/common/assertion/expectTrue.spec.js +1 -1
- package/test/reuse/common/assertion/expectUndefined.spec.js +1 -2
- package/test/reuse/common/assertion/expectUnequal.spec.js +24 -13
- package/test/reuse/common/assertion/expectUrlToBe.spec.js +3 -6
- package/test/reuse/common/assertion/test.assertion.conf.js +39 -35
- package/test/reuse/common/date/calculate.spec.js +36 -36
- package/test/reuse/common/date/calculateWithTime.spec.js +88 -88
- package/test/reuse/common/date/getNextMonth.spec.js +3 -3
- package/test/reuse/common/date/getNextYear.spec.js +2 -2
- package/test/reuse/common/date/getPreviousMonth.spec.js +2 -2
- package/test/reuse/common/date/getPreviousYear.spec.js +2 -2
- package/test/reuse/common/date/getSpecific.spec.js +2 -2
- package/test/reuse/common/date/getToday.spec.js +2 -2
- package/test/reuse/common/date/getTomorrow.spec.js +2 -2
- package/test/reuse/common/date/test.date.conf.js +1 -1
- package/test/reuse/common/navigation/navigateToUrlAndRetry.spec.js +2 -6
- package/test/reuse/common/navigation/test.navigation.conf.js +14 -12
- package/test/reuse/common/userInteraction/clearAndFillActive.spec.js +1 -3
- package/test/reuse/common/userInteraction/clearAndFillActiveAndRetry.spec.js +2 -6
- package/test/reuse/common/userInteraction/fillActive.spec.js +2 -6
- package/test/reuse/common/userInteraction/fillActiveAndRetry.spec.js +2 -6
- package/test/reuse/common/userInteraction/pressKey.spec.js +6 -30
- package/test/reuse/common/userInteraction/test.userInteraction.conf.js +36 -38
- package/test/reuse/flp/userLocks/data/data.json +1 -1
- package/test/reuse/flp/userLocks/deleteExistingLockEntries.spec.js +0 -3
- package/test/reuse/flp/userLocks/getNumberOfLockEntries.spec.js +0 -2
- package/test/reuse/flp/userLocks/test.userLocks.conf.js +1 -4
- package/test/reuse/flp/userSettings/data/data.json +1 -1
- package/test/reuse/flp/userSettings/getDateFormatFromUserSettings.spec.js +0 -2
- package/test/reuse/flp/userSettings/getLanguageFromUserSettings.spec.js +0 -1
- package/test/reuse/flp/userSettings/getTimeFormatFromUserSettings.spec.js +0 -3
- package/test/reuse/flp/userSettings/getTimeZoneFromUserSettings.spec.js +0 -2
- package/test/reuse/flp/userSettings/setDateFormatFromUserSettings.spec.js +0 -2
- package/test/reuse/flp/userSettings/setLanguageFromUserSettings.spec.js +0 -2
- package/test/reuse/flp/userSettings/setNumberFormatFromUserSettings.spec.js +1 -3
- package/test/reuse/flp/userSettings/setS4UserSettings.spec.js +0 -2
- package/test/reuse/flp/userSettings/setTimeFormatFromUserSettings.spec.js +0 -3
- package/test/reuse/flp/userSettings/setTimeZoneFromUserSettings.spec.js +0 -2
- package/test/reuse/flp/userSettings/test.userSettings.apply.conf.js +1 -3
- package/test/reuse/helper/elementHighlight/test.elementHighlight.conf.js +2 -4
- package/test/reuse/nonUi5/assertion/expectAttributeToBe.spec.js +4 -11
- package/test/reuse/nonUi5/assertion/expectAttributeToContain.spec.js +3 -10
- package/test/reuse/nonUi5/assertion/expectCssPropertyValueToBe.spec.js +2 -4
- package/test/reuse/nonUi5/assertion/expectToBeNotVisible.spec.js +3 -5
- package/test/reuse/nonUi5/assertion/expectToBeVisible.spec.js +2 -2
- package/test/reuse/nonUi5/assertion/test.assertion.conf.js +39 -35
- package/test/reuse/nonUi5/assertion/test.assertion.sauceLabs.conf.js +40 -42
- package/test/reuse/nonUi5/element/getAttributeValue.spec.js +3 -9
- package/test/reuse/nonUi5/element/getByChild.spec.js +4 -8
- package/test/reuse/nonUi5/element/getByClass.spec.js +2 -7
- package/test/reuse/nonUi5/element/getByCss.spec.js +6 -11
- package/test/reuse/nonUi5/element/getByCssContainingText.spec.js +2 -6
- package/test/reuse/nonUi5/element/getById.spec.js +3 -10
- package/test/reuse/nonUi5/element/getByName.spec.js +2 -5
- package/test/reuse/nonUi5/element/getByParent.spec.js +5 -15
- package/test/reuse/nonUi5/element/getByXPath.spec.js +2 -5
- package/test/reuse/nonUi5/element/getCssPropertyValue.spec.js +1 -4
- package/test/reuse/nonUi5/element/getValue.spec.js +3 -6
- package/test/reuse/nonUi5/element/highlight.spec.js +0 -2
- package/test/reuse/nonUi5/element/isPresent.spec.js +1 -3
- package/test/reuse/nonUi5/element/isPresentByCss.spec.js +1 -1
- package/test/reuse/nonUi5/element/isPresentByXPath.spec.js +0 -1
- package/test/reuse/nonUi5/element/setInnerHTML.spec.js +2 -5
- package/test/reuse/nonUi5/element/test.element.conf.js +18 -15
- package/test/reuse/nonUi5/element/waitForAll.spec.js +2 -5
- package/test/reuse/nonUi5/element/waitToBeClickable.spec.js +2 -5
- package/test/reuse/nonUi5/element/waitToBePresent.spec.js +2 -3
- package/test/reuse/nonUi5/element/waitToBeVisible.spec.js +3 -8
- package/test/reuse/nonUi5/navigation/test.navigation.conf.js +1 -3
- package/test/reuse/nonUi5/userInteraction/checkAttributeAndValue.spec.js +13 -17
- package/test/reuse/nonUi5/userInteraction/clear.spec.js +3 -5
- package/test/reuse/nonUi5/userInteraction/clearAndFill.spec.js +1 -1
- package/test/reuse/nonUi5/userInteraction/clearAndFillAndRetry.spec.js +1 -3
- package/test/reuse/nonUi5/userInteraction/clearAndRetry.spec.js +1 -3
- package/test/reuse/nonUi5/userInteraction/click.spec.js +1 -3
- package/test/reuse/nonUi5/userInteraction/clickAndRetry.spec.js +2 -6
- package/test/reuse/nonUi5/userInteraction/clickElementInSvg.spec.js +1 -3
- package/test/reuse/nonUi5/userInteraction/doubleClick.spec.js +1 -1
- package/test/reuse/nonUi5/userInteraction/dragAndDrop.spec.js +2 -2
- package/test/reuse/nonUi5/userInteraction/fillAndRetry.spec.js +1 -3
- package/test/reuse/nonUi5/userInteraction/selectAll.spec.js +2 -2
- package/test/reuse/nonUi5/userInteraction/test.userInteraction.conf.js +1 -1
- package/test/reuse/nonUi5/userInteraction/test.userInteraction.sauceLabs.conf.js +43 -39
- package/test/reuse/service/odata/test.odata.conf.js +4 -7
- package/test/reuse/service/rest/db.json +1 -1
- package/test/reuse/service/rest/delete.spec.js +3 -10
- package/test/reuse/service/rest/get.spec.js +2 -9
- package/test/reuse/service/rest/init.spec.js +0 -2
- package/test/reuse/service/rest/patch.spec.js +5 -12
- package/test/reuse/service/rest/post.spec.js +6 -17
- package/test/reuse/service/rest/put.spec.js +10 -17
- package/test/reuse/service/rest/rest-server.js +5 -5
- package/test/reuse/service/rest/test.rest.conf.js +4 -11
- package/test/reuse/ui5/assertion/expectAttributeToBe.spec.js +77 -42
- package/test/reuse/ui5/assertion/expectAttributeToContain.spec.js +48 -18
- package/test/reuse/ui5/assertion/expectBindingContextPathToBe.spec.js +41 -42
- package/test/reuse/ui5/assertion/expectBindingPathToBe.spec.js +58 -64
- package/test/reuse/ui5/assertion/expectCssPropertyValueToBe.spec.js +1 -2
- package/test/reuse/ui5/assertion/expectMessageToastTextToBe.spec.js +7 -11
- package/test/reuse/ui5/assertion/expectTextToBe.spec.js +13 -13
- package/test/reuse/ui5/assertion/expectToBeEnabled.spec.js +2 -6
- package/test/reuse/ui5/assertion/expectToBeNotEnabled.spec.js +17 -20
- package/test/reuse/ui5/assertion/expectToBeNotVisible.spec.js +13 -14
- package/test/reuse/ui5/assertion/expectToBeVisible.spec.js +15 -20
- package/test/reuse/ui5/assertion/expectToBeVisibleInViewport.spec.js +11 -15
- package/test/reuse/ui5/assertion/expectValidationError.spec.js +14 -16
- package/test/reuse/ui5/assertion/expectValidationSuccess.spec.js +14 -16
- package/test/reuse/ui5/assertion/expectValueToBe.spec.js +14 -17
- package/test/reuse/ui5/assertion/expectValueToBeDefined.spec.js +6 -9
- package/test/reuse/ui5/assertion/test.assertion.sauceLab.conf.js +3 -3
- package/test/reuse/ui5/confirmationDialog/clickButton.spec.js +24 -28
- package/test/reuse/ui5/confirmationDialog/clickCancel.spec.js +24 -25
- package/test/reuse/ui5/confirmationDialog/clickCreate.spec.js +1 -1
- package/test/reuse/ui5/confirmationDialog/clickDelete.spec.js +25 -28
- package/test/reuse/ui5/confirmationDialog/clickNo.spec.js +21 -29
- package/test/reuse/ui5/confirmationDialog/clickOk.spec.js +19 -22
- package/test/reuse/ui5/confirmationDialog/clickRevokeApproval.spec.js +1 -1
- package/test/reuse/ui5/confirmationDialog/clickYes.spec.js +17 -25
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.conf.js +1 -1
- package/test/reuse/ui5/confirmationDialog/test.confirmationDialog.sauceLab.conf.js +4 -4
- package/test/reuse/ui5/control/execute.spec.js +37 -25
- package/test/reuse/ui5/control/focus.spec.js +29 -29
- package/test/reuse/ui5/control/getAggregationProperty.spec.js +25 -21
- package/test/reuse/ui5/control/getAssociationProperty.spec.js +13 -15
- package/test/reuse/ui5/control/getBindingContextPathProperty.spec.js +12 -10
- package/test/reuse/ui5/control/getProperty.spec.js +12 -10
- package/test/reuse/ui5/control/getPropertyBinding.spec.js +12 -10
- package/test/reuse/ui5/control/test.control.sauceLab.conf.js +3 -4
- package/test/reuse/ui5/date/fillRange.spec.js +7 -10
- package/test/reuse/ui5/date/pick.spec.js +31 -34
- package/test/reuse/ui5/date/pickRange.spec.js +31 -25
- package/test/reuse/ui5/date/pickWithTime.spec.js +8 -10
- package/test/reuse/ui5/date/test.date.conf.js +3 -8
- package/test/reuse/ui5/date/test.date.sauceLab.conf.js +4 -9
- package/test/reuse/ui5/element/getBindingValue.spec.js +17 -23
- package/test/reuse/ui5/element/getByChild.spec.js +52 -52
- package/test/reuse/ui5/element/getByParent.spec.js +65 -61
- package/test/reuse/ui5/element/getByText.spec.js +10 -14
- package/test/reuse/ui5/element/getCssPropertyValue.spec.js +1 -1
- package/test/reuse/ui5/element/getDisplayed.spec.js +23 -26
- package/test/reuse/ui5/element/getId.spec.js +15 -18
- package/test/reuse/ui5/element/getPropertyValue.spec.js +19 -23
- package/test/reuse/ui5/element/highlight.spec.js +9 -12
- package/test/reuse/ui5/element/isVisible.spec.js +12 -12
- package/test/reuse/ui5/element/test.element.sauceLab.conf.js +3 -5
- package/test/reuse/ui5/element/waitForAll.spec.js +10 -15
- package/test/reuse/ui5/errorDialog/clickClose.spec.js +6 -9
- package/test/reuse/ui5/errorDialog/expectToBeVisible.spec.js +7 -11
- package/test/reuse/ui5/errorDialog/test.errorDialog.conf.js +2 -5
- package/test/reuse/ui5/errorDialog/test.errorDialog.sauceLab.conf.js +4 -9
- package/test/reuse/ui5/mockserver_qunit/Component.js +3 -8
- package/test/reuse/ui5/mockserver_qunit/controller/App.controller.js +12 -18
- package/test/reuse/ui5/mockserver_qunit/controller/BaseController.js +3 -10
- package/test/reuse/ui5/mockserver_qunit/controller/Home.controller.js +6 -11
- package/test/reuse/ui5/mockserver_qunit/controller/NotFound.controller.js +6 -11
- package/test/reuse/ui5/mockserver_qunit/controller/employee/Employee.controller.js +10 -16
- package/test/reuse/ui5/mockserver_qunit/controller/employee/EmployeeList.controller.js +4 -9
- package/test/reuse/ui5/mockserver_qunit/controller/employee/Resume.controller.js +39 -36
- package/test/reuse/ui5/mockserver_qunit/controller/employee/overview/EmployeeOverview.controller.js +2 -7
- package/test/reuse/ui5/mockserver_qunit/controller/employee/overview/EmployeeOverviewContent.controller.js +66 -79
- package/test/reuse/ui5/mockserver_qunit/index.html +19 -18
- package/test/reuse/ui5/mockserver_qunit/initMockServer.js +13 -13
- package/test/reuse/ui5/mockserver_qunit/localService/mockdata/Employees.json +153 -153
- package/test/reuse/ui5/mockserver_qunit/localService/mockdata/Resumes.json +63 -63
- package/test/reuse/ui5/mockserver_qunit/localService/mockserver.js +124 -128
- package/test/reuse/ui5/mockserver_qunit/localService/mockserverLoadAllData.js +7 -13
- package/test/reuse/ui5/mockserver_qunit/manifest.json +169 -167
- package/test/reuse/ui5/mockserver_qunit/test/flpSandboxMockServer.html +58 -56
- package/test/reuse/ui5/mockserver_qunit/test/flpSandboxMockServerAllData.html +65 -61
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/config.js +60 -66
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/qunitExecution/specs/runQUnitTests.spec.js +3 -4
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testDisplayNotFound/data/setup.json +8 -10
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testDisplayNotFound/specs/testDisplayNotFound.spec.js +16 -18
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testShowEmployeeList/data/mock/Employees.json +203 -203
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testShowEmployeeList/data/mock/Resumes.json +113 -113
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testShowEmployeeList/data/setup.json +8 -10
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testShowEmployeeList/data/testShowEmployeeList.json +1 -1
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/testShowEmployeeList/specs/testShowEmployeeList.spec.js +24 -26
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/utils/constants.js +2 -2
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/utils/mockDataMapper.js +5 -6
- package/test/reuse/ui5/mockserver_qunit/test/qmate/ui/utils/mockHelper.js +37 -52
- package/test/reuse/ui5/mockserver_qunit/test/unit/allTests.js +2 -4
- package/test/reuse/ui5/mockserver_qunit/test/unit/unitTests.qunit.html +28 -31
- package/test/reuse/ui5/mockserver_qunit/test/unit/utils/Conversions.js +13 -10
- package/test/reuse/ui5/navigation/expectUnsupportedNavigationPopup.spec.js +12 -13
- package/test/reuse/ui5/navigation/navigateToApplicationWithQueryParams.spec.js +1 -1
- package/test/reuse/ui5/navigation/navigateToApplicationWithQueryParamsAndRetry.spec.js +1 -1
- package/test/reuse/ui5/navigation/navigateToSystemAndApplication.spec.js +1 -2
- package/test/reuse/ui5/navigation/navigateToSystemAndApplicationAndRetry.spec.js +2 -4
- package/test/reuse/ui5/navigation/test.navigation.conf.js +2 -7
- package/test/reuse/ui5/navigation/test.navigation.sauceLab.conf.js +4 -4
- package/test/reuse/ui5/navigation/test.navigation.static.sauceLab.conf.js +4 -4
- package/test/reuse/ui5/navigationBar/clickUserIcon.spec.js +5 -10
- package/test/reuse/ui5/navigationBar/expectPageTitle.spec.js +2 -3
- package/test/reuse/ui5/navigationBar/expectShellHeader.spec.js +2 -3
- package/test/reuse/ui5/navigationBar/test.navigationBar.conf.js +2 -8
- package/test/reuse/ui5/navigationBar/test.navigationBar.sauceLab.conf.js +4 -10
- package/test/reuse/ui5/session/login.spec.js +9 -11
- package/test/reuse/ui5/session/loginFiori.spec.js +5 -7
- package/test/reuse/ui5/session/loginSapCloud.spec.js +6 -8
- package/test/reuse/ui5/session/logout.spec.js +2 -3
- package/test/reuse/ui5/session/switchUser.spec.js +1 -1
- package/test/reuse/ui5/session/test.session.conf.js +1 -7
- package/test/reuse/ui5/session/test.session.sauceLab.conf.js +4 -12
- package/test/reuse/ui5/table/clickSettingsButton.spec.js +12 -18
- package/test/reuse/ui5/table/getAllColumnValuesByName.spec.js +1 -4
- package/test/reuse/ui5/table/getSelectorForRowByIndex.spec.js +11 -14
- package/test/reuse/ui5/table/getSelectorsForRowsByValues.spec.js +6 -9
- package/test/reuse/ui5/table/getTotalNumberOfRowsByValues.spec.js +1 -3
- package/test/reuse/ui5/table/openItemByIndex.spec.js +23 -29
- package/test/reuse/ui5/table/openItemByValues.spec.js +27 -38
- package/test/reuse/ui5/table/selectRowByValues.spec.js +7 -7
- package/test/reuse/ui5/table/sortColumnAscending.spec.js +17 -25
- package/test/reuse/ui5/table/sortColumnDescending.spec.js +13 -19
- package/test/reuse/ui5/table/test.table.sauceLab.conf.js +4 -8
- package/test/reuse/ui5/table/test.table.sauceLab.tunnel.conf.js +4 -8
- package/test/reuse/ui5/userInteraction/clear.spec.js +14 -18
- package/test/reuse/ui5/userInteraction/clearAndFill.spec.js +28 -29
- package/test/reuse/ui5/userInteraction/clearAndFillAndRetry.spec.js +4 -12
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInput.spec.js +20 -19
- package/test/reuse/ui5/userInteraction/clearAndFillSmartFieldInputAndRetry.spec.js +5 -7
- package/test/reuse/ui5/userInteraction/clearAndRetry.spec.js +11 -16
- package/test/reuse/ui5/userInteraction/click.spec.js +90 -29
- package/test/reuse/ui5/userInteraction/clickAndRetry.spec.js +1 -3
- package/test/reuse/ui5/userInteraction/clickSelectArrow.spec.js +29 -30
- package/test/reuse/ui5/userInteraction/clickSelectArrowAndRetry.spec.js +1 -3
- package/test/reuse/ui5/userInteraction/doubleClick.spec.js +18 -22
- package/test/reuse/ui5/userInteraction/dragAndDrop.spec.js +8 -10
- package/test/reuse/ui5/userInteraction/fill.spec.js +20 -22
- package/test/reuse/ui5/userInteraction/fillAndRetry.spec.js +2 -6
- package/test/reuse/ui5/userInteraction/mouseOverElement.spec.js +2 -5
- package/test/reuse/ui5/userInteraction/openF4Help.spec.js +8 -12
- package/test/reuse/ui5/userInteraction/openValueHelp.spec.js +11 -12
- package/test/reuse/ui5/userInteraction/rightClick.spec.js +17 -20
- package/test/reuse/ui5/userInteraction/scrollToElement.spec.js +38 -38
- package/test/reuse/ui5/userInteraction/searchFor.spec.js +3 -12
- package/test/reuse/ui5/userInteraction/selectBox.spec.js +36 -36
- package/test/reuse/ui5/userInteraction/selectCombobox.spec.js +16 -24
- package/test/reuse/ui5/userInteraction/selectMultiComboBox.spec.js +22 -31
- package/test/reuse/util/browser/back.spec.js +10 -11
- package/test/reuse/util/browser/clearBrowser.spec.js +1 -1
- package/test/reuse/util/browser/executeScript.spec.js +14 -16
- package/test/reuse/util/browser/getBaseUrl.spec.js +1 -1
- package/test/reuse/util/browser/getBrowserName.spec.js +1 -3
- package/test/reuse/util/browser/getCurrentUrl.spec.js +9 -9
- package/test/reuse/util/browser/getCurrentWindow.spec.js +1 -1
- package/test/reuse/util/browser/getUI5Version.spec.js +8 -8
- package/test/reuse/util/browser/log.spec.js +1 -3
- package/test/reuse/util/browser/logCurrentUrl.spec.js +1 -1
- package/test/reuse/util/browser/refresh.spec.js +14 -16
- package/test/reuse/util/browser/reloadSession.spec.js +1 -1
- package/test/reuse/util/browser/setBaseUrl.spec.js +2 -2
- package/test/reuse/util/browser/switchToDefaultContent.spec.js +28 -29
- package/test/reuse/util/browser/switchToWindow.spec.js +2 -3
- package/test/reuse/util/browser/test.browserCmndLineArgs.conf.js +1 -3
- package/test/reuse/util/browser/waitUntil.spec.js +8 -16
- package/test/reuse/util/component/loadEntryPoint.spec.js +2 -3
- package/test/reuse/util/component/storeEntryPoint.spec.js +6 -10
- package/test/reuse/util/component/test.component.conf.js +1 -4
- package/test/reuse/util/console/console.spec.js +1 -3
- package/test/reuse/util/console/test.console.conf.js +2 -4
- package/test/reuse/util/data/customSourceData/getSecureData.secure.json +1 -1
- package/test/reuse/util/data/customSourceData/test.json +1 -1
- package/test/reuse/util/data/data/test.json +1 -1
- package/test/reuse/util/data/getData.spec.js +3 -7
- package/test/reuse/util/data/test.data.conf.js +1 -5
- package/test/reuse/util/data/test.data.privacy.conf.js +1 -7
- package/test/reuse/util/file/getAttributeValuesFromJson.spec.js +1 -1
- package/test/reuse/util/file/getFileNamesByExtensions.spec.js +0 -1
- package/test/reuse/util/file/pdfParser.spec.js +76 -80
- package/test/reuse/util/file/test.file.conf.js +2 -1
- package/test/reuse/util/file/testFiles/test1.json +26 -77
- package/test/reuse/util/file/upload.spec.js +24 -29
- package/test/reuse/util/formatter/addRemoveLeadingZeros.spec.js +1 -2
- package/test/reuse/util/formatter/formatDate.spec.js +2 -2
- package/test/reuse/util/formatter/formatDateWithTime.spec.js +6 -2
- package/test/reuse/util/formatter/sliceStringAfter.spec.js +1 -1
- package/test/reuse/util/formatter/sliceStringAt.spec.js +1 -1
- package/test/reuse/util/formatter/stringifyJSON.spec.js +4 -4
- package/test/reuse/util/formatter/test.formatter.conf.js +2 -2
- package/test/reuse/util/system/system.spec.js +1 -3
- package/test/reuse/util/system/test.system.conf.js +3 -5
- package/test/reuse/util/userSettings/data/data.json +1 -1
- package/test/reuse/util/userSettings/getDateFormatFromUserSettings.spec.js +0 -2
- package/test/reuse/util/userSettings/getLanguageFromUserSettings.spec.js +0 -1
- package/test/reuse/util/userSettings/getTimeFormatFromUserSettings.spec.js +0 -3
- package/test/reuse/util/userSettings/getTimeZoneFromUserSettings.spec.js +0 -2
- package/test/reuse/util/userSettings/setDateFormatFromUserSettings.spec.js +0 -2
- package/test/reuse/util/userSettings/setLanguageFromUserSettings.spec.js +0 -2
- package/test/reuse/util/userSettings/setNumberFormatFromUserSettings.spec.js +1 -3
- package/test/reuse/util/userSettings/setS4UserSettings.spec.js +0 -2
- package/test/reuse/util/userSettings/setTimeFormatFromUserSettings.spec.js +0 -3
- package/test/reuse/util/userSettings/setTimeZoneFromUserSettings.spec.js +0 -2
- package/test/reuse/util/userSettings/test.userSettings.apply.conf.js +1 -3
- package/test/unit/stats/getUserId.error.spec.ts +3 -1
- package/test/unit/stats/getUserId.spec.ts +10 -10
- package/test/unit/vitest.config.ts +2 -2
- package/test/watchMode/config.js +1 -3
- package/test/watchMode/navigateToUrlAndClick.spec.js +7 -7
- package/tsconfig.json +1 -4
- package/lib/reuse/modules/mobile/Mobile.d.ts +0 -16
- package/lib/reuse/modules/mobile/Mobile.js +0 -23
- package/lib/reuse/modules/mobile/Mobile.js.map +0 -1
- package/lib/reuse/modules/mobile/android.d.ts +0 -32
- package/lib/reuse/modules/mobile/android.js +0 -85
- package/lib/reuse/modules/mobile/android.js.map +0 -1
- package/lib/reuse/modules/mobile/device.d.ts +0 -173
- package/lib/reuse/modules/mobile/device.js +0 -403
- package/lib/reuse/modules/mobile/device.js.map +0 -1
- package/lib/reuse/modules/mobile/element.d.ts +0 -95
- package/lib/reuse/modules/mobile/element.js +0 -185
- package/lib/reuse/modules/mobile/element.js.map +0 -1
- package/lib/reuse/modules/mobile/gestures.d.ts +0 -42
- package/lib/reuse/modules/mobile/gestures.js +0 -86
- package/lib/reuse/modules/mobile/gestures.js.map +0 -1
- package/lib/reuse/modules/mobile/ios.d.ts +0 -10
- package/lib/reuse/modules/mobile/ios.js +0 -19
- package/lib/reuse/modules/mobile/ios.js.map +0 -1
- package/lib/reuse/modules/mobile/userInteraction.d.ts +0 -94
- package/lib/reuse/modules/mobile/userInteraction.js +0 -210
- package/lib/reuse/modules/mobile/userInteraction.js.map +0 -1
- package/test/helper/configurations/mobile.conf.js +0 -16
|
@@ -36,7 +36,7 @@ describe("date - getNextMonth without format ", function () {
|
|
|
36
36
|
const date = new Date();
|
|
37
37
|
date.setMonth(date.getMonth() + 1);
|
|
38
38
|
common.assertion.expectEqual(calculatedDate.toDateString(), date.toDateString());
|
|
39
|
-
common.assertion.expectUnequal(calculatedDate.toDateString(),
|
|
39
|
+
common.assertion.expectUnequal(calculatedDate.toDateString(), new Date().toDateString());
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -89,7 +89,7 @@ describe("date - getNextMonth with format 'yyyymmdd' ", function () {
|
|
|
89
89
|
});
|
|
90
90
|
|
|
91
91
|
describe("date - getNextMonth with format 'yyyy/mm/dd' ", function () {
|
|
92
|
-
it("Preparation", function () {
|
|
92
|
+
it("Preparation", function () {});
|
|
93
93
|
|
|
94
94
|
it("Execution", function () {
|
|
95
95
|
calculatedDate = common.date.getNextMonth("yyyy/mm/dd");
|
|
@@ -102,4 +102,4 @@ describe("date - getNextMonth with format 'yyyy/mm/dd' ", function () {
|
|
|
102
102
|
const fullDate = `${year}/${month}/${day}`;
|
|
103
103
|
common.assertion.expectEqual(calculatedDate, fullDate);
|
|
104
104
|
});
|
|
105
|
-
});
|
|
105
|
+
});
|
|
@@ -11,7 +11,7 @@ describe("date - getNextYear without any format ", function () {
|
|
|
11
11
|
const date = new Date();
|
|
12
12
|
date.setFullYear(date.getFullYear() + 1);
|
|
13
13
|
common.assertion.expectEqual(calculatedDate.toDateString(), date.toDateString());
|
|
14
|
-
common.assertion.expectUnequal(calculatedDate.toDateString(),
|
|
14
|
+
common.assertion.expectUnequal(calculatedDate.toDateString(), new Date().toDateString());
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
17
|
|
|
@@ -69,4 +69,4 @@ describe("date - getNextYear with format 'yyyy/mm/dd' ", function () {
|
|
|
69
69
|
const fullDate = `${year}/${month}/${day}`;
|
|
70
70
|
common.assertion.expectEqual(calculatedDate, fullDate);
|
|
71
71
|
});
|
|
72
|
-
});
|
|
72
|
+
});
|
|
@@ -10,7 +10,7 @@ describe("date - getPreviousMonth without any format ", function () {
|
|
|
10
10
|
const date = new Date();
|
|
11
11
|
date.setMonth(date.getMonth() - 1);
|
|
12
12
|
common.assertion.expectEqual(calculatedDate.toDateString(), date.toDateString());
|
|
13
|
-
common.assertion.expectUnequal(calculatedDate.toDateString(),
|
|
13
|
+
common.assertion.expectUnequal(calculatedDate.toDateString(), new Date().toDateString());
|
|
14
14
|
});
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -68,4 +68,4 @@ describe("date - getPreviousMonth with format 'yyyy/mm/dd' ", function () {
|
|
|
68
68
|
const fullDate = `${year}/${month}/${day}`;
|
|
69
69
|
common.assertion.expectEqual(calculatedDate, fullDate);
|
|
70
70
|
});
|
|
71
|
-
});
|
|
71
|
+
});
|
|
@@ -11,7 +11,7 @@ describe("date - getPreviousYear without any format ", function () {
|
|
|
11
11
|
const date = new Date();
|
|
12
12
|
date.setFullYear(date.getFullYear() - 1);
|
|
13
13
|
common.assertion.expectEqual(calculatedDate.toDateString(), date.toDateString());
|
|
14
|
-
common.assertion.expectUnequal(calculatedDate.toDateString(),
|
|
14
|
+
common.assertion.expectUnequal(calculatedDate.toDateString(), new Date().toDateString());
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
17
|
|
|
@@ -69,4 +69,4 @@ describe("date - getPreviousYear with format 'yyyy/mm/dd' ", function () {
|
|
|
69
69
|
const fullDate = `${year}/${month}/${day}`;
|
|
70
70
|
common.assertion.expectEqual(calculatedDate, fullDate);
|
|
71
71
|
});
|
|
72
|
-
});
|
|
72
|
+
});
|
|
@@ -14,7 +14,7 @@ describe("date - getSpecific without any format ", function () {
|
|
|
14
14
|
|
|
15
15
|
it("Verification", function () {
|
|
16
16
|
common.assertion.expectEqual(calculatedDate.toDateString(), date.toDateString());
|
|
17
|
-
common.assertion.expectUnequal(calculatedDate.toDateString(),
|
|
17
|
+
common.assertion.expectUnequal(calculatedDate.toDateString(), new Date().toDateString());
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -60,4 +60,4 @@ describe("date - getSpecific with format 'yyyy/mm/dd' ", function () {
|
|
|
60
60
|
const fullDate = `${year}/${month}/${day}`;
|
|
61
61
|
common.assertion.expectEqual(calculatedDate, fullDate);
|
|
62
62
|
});
|
|
63
|
-
});
|
|
63
|
+
});
|
|
@@ -20,7 +20,7 @@ describe("date - getToday without any format (unhappy case)", function () {
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
it("Verification", function () {
|
|
23
|
-
common.assertion.expectUnequal(arrivedDate.toDateString(),
|
|
23
|
+
common.assertion.expectUnequal(arrivedDate.toDateString(), new Date("10/09/2020").toDateString());
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
26
|
|
|
@@ -75,4 +75,4 @@ describe("date - getToday with format 'yyyy/mm/dd' ", function () {
|
|
|
75
75
|
const fullDate = `${year}/${month}/${day}`;
|
|
76
76
|
common.assertion.expectEqual(arrivedDate, fullDate);
|
|
77
77
|
});
|
|
78
|
-
});
|
|
78
|
+
});
|
|
@@ -11,7 +11,7 @@ describe("date - getTomorrow without any format ", function () {
|
|
|
11
11
|
const date = new Date();
|
|
12
12
|
date.setDate(date.getDate() + 1);
|
|
13
13
|
common.assertion.expectEqual(arrivedDate.toDateString(), date.toDateString());
|
|
14
|
-
common.assertion.expectUnequal(arrivedDate.toDateString(),
|
|
14
|
+
common.assertion.expectUnequal(arrivedDate.toDateString(), new Date().toDateString());
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
17
|
|
|
@@ -69,4 +69,4 @@ describe("date - getTomorrow with format 'yyyy/mm/dd' ", function () {
|
|
|
69
69
|
const fullDate = `${year}/${month}/${day}`;
|
|
70
70
|
common.assertion.expectEqual(arrivedDate, fullDate);
|
|
71
71
|
});
|
|
72
|
-
});
|
|
72
|
+
});
|
|
@@ -16,16 +16,12 @@ describe("navigateToUrlAndRetry", function () {
|
|
|
16
16
|
|
|
17
17
|
describe("navigateToUrlAndRetry with wrong url", function () {
|
|
18
18
|
it("Execution & Verification", async function () {
|
|
19
|
-
await expect(common.navigation.navigateToUrlAndRetry("sd")).rejects.toThrow(
|
|
20
|
-
"Function 'navigateToUrlAndRetry' failed with: Retries done. Failed to execute the function:invalid argument"
|
|
21
|
-
);
|
|
19
|
+
await expect(common.navigation.navigateToUrlAndRetry("sd")).rejects.toThrow("Function 'navigateToUrlAndRetry' failed with: Retries done. Failed to execute the function:invalid argument");
|
|
22
20
|
});
|
|
23
21
|
});
|
|
24
22
|
|
|
25
23
|
describe("navigateToUrlAndRetry with wrong parameter", function () {
|
|
26
24
|
it("Execution & Verification", async function () {
|
|
27
|
-
await expect(common.navigation.navigateToUrlAndRetry()).rejects.toThrow(
|
|
28
|
-
"Function 'navigateToUrlAndRetry' failed with: Retries done. Failed to execute the function: Please provide an url as argument."
|
|
29
|
-
);
|
|
25
|
+
await expect(common.navigation.navigateToUrlAndRetry()).rejects.toThrow("Function 'navigateToUrlAndRetry' failed with: Retries done. Failed to execute the function: Please provide an url as argument.");
|
|
30
26
|
});
|
|
31
27
|
});
|
|
@@ -9,17 +9,19 @@ exports.config = merge(profile.config, {
|
|
|
9
9
|
baseUrl: "http://localhost:34099/ui",
|
|
10
10
|
|
|
11
11
|
services: [
|
|
12
|
-
[
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
[
|
|
13
|
+
"static-server",
|
|
14
|
+
{
|
|
15
|
+
port: 34099,
|
|
16
|
+
folders: [
|
|
17
|
+
{
|
|
18
|
+
mount: "/ui",
|
|
19
|
+
path: path.resolve(__dirname, "./website/main.html")
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
]
|
|
19
24
|
],
|
|
20
25
|
|
|
21
|
-
specs: [
|
|
22
|
-
|
|
23
|
-
path.resolve(__dirname, "navigateToUrl.spec.js")
|
|
24
|
-
]
|
|
25
|
-
});
|
|
26
|
+
specs: [path.resolve(__dirname, "navigateToUrlAndRetry.spec.js"), path.resolve(__dirname, "navigateToUrl.spec.js")]
|
|
27
|
+
});
|
|
@@ -8,9 +8,7 @@ describe("userInteraction - clearAndFillActive", function () {
|
|
|
8
8
|
let selector;
|
|
9
9
|
|
|
10
10
|
it("Preparation", async function () {
|
|
11
|
-
await browser.navigateTo(
|
|
12
|
-
`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`
|
|
13
|
-
);
|
|
11
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
|
|
14
12
|
await handleCookiesConsent();
|
|
15
13
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
16
14
|
});
|
|
@@ -8,9 +8,7 @@ describe("userInteraction - clearAndFillActiveAndRetry", function () {
|
|
|
8
8
|
let selector;
|
|
9
9
|
|
|
10
10
|
it("Preparation", async function () {
|
|
11
|
-
await browser.navigateTo(
|
|
12
|
-
`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`
|
|
13
|
-
);
|
|
11
|
+
await browser.navigateTo(`${BASE_URL}/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.Overview`);
|
|
14
12
|
await util.browser.refresh();
|
|
15
13
|
await handleCookiesConsent();
|
|
16
14
|
await util.browser.switchToIframe("[id='sampleFrame']");
|
|
@@ -101,8 +99,6 @@ describe("userInteraction - clearAndFillActiveAndRetry with wrong element", func
|
|
|
101
99
|
const retries = 1;
|
|
102
100
|
const interval = 2000;
|
|
103
101
|
await ui5.userInteraction.click(selector);
|
|
104
|
-
await expect(common.userInteraction.clearAndFillActiveAndRetry(value, retries, interval)).rejects.toThrow(
|
|
105
|
-
"Function 'clearAndFillActiveAndRetry' failed with: Retries done. Failed to execute the function:invalid element state"
|
|
106
|
-
);
|
|
102
|
+
await expect(common.userInteraction.clearAndFillActiveAndRetry(value, retries, interval)).rejects.toThrow("Function 'clearAndFillActiveAndRetry' failed with: Retries done. Failed to execute the function:invalid element state");
|
|
107
103
|
});
|
|
108
104
|
});
|
|
@@ -96,9 +96,7 @@ describe("userInteraction - fillActive - element with empty value", function ()
|
|
|
96
96
|
const index = 0;
|
|
97
97
|
const timeout = 30000;
|
|
98
98
|
await ui5.userInteraction.click(selector);
|
|
99
|
-
await expect(common.userInteraction.fillActive(value)).rejects.toThrow(
|
|
100
|
-
"Function 'fillActive' failed with: Please provide a value(datatype - number/string) as argument."
|
|
101
|
-
);
|
|
99
|
+
await expect(common.userInteraction.fillActive(value)).rejects.toThrow("Function 'fillActive' failed with: Please provide a value(datatype - number/string) as argument.");
|
|
102
100
|
});
|
|
103
101
|
});
|
|
104
102
|
|
|
@@ -198,9 +196,7 @@ describe("userInteraction - fillActive - empty value", function () {
|
|
|
198
196
|
it("Execution & Verification", async function () {
|
|
199
197
|
// Make the form field active
|
|
200
198
|
await nonUi5.userInteraction.click(element);
|
|
201
|
-
await expect(common.userInteraction.fillActive()).rejects.toThrow(
|
|
202
|
-
"Function 'fillActive' failed with: Please provide a value(datatype - number/string) as argument."
|
|
203
|
-
);
|
|
199
|
+
await expect(common.userInteraction.fillActive()).rejects.toThrow("Function 'fillActive' failed with: Please provide a value(datatype - number/string) as argument.");
|
|
204
200
|
});
|
|
205
201
|
});
|
|
206
202
|
|
|
@@ -105,9 +105,7 @@ describe("userInteraction - fillActiveAndRetry - empty value", function () {
|
|
|
105
105
|
const retries = 1;
|
|
106
106
|
const interval = 3000;
|
|
107
107
|
await ui5.userInteraction.click(selector);
|
|
108
|
-
await expect(common.userInteraction.fillActiveAndRetry(value)).rejects.toThrow(
|
|
109
|
-
"Function 'fillActiveAndRetry' failed with: Retries done. Failed to execute the function: Please provide a value(datatype - number/string) as argument."
|
|
110
|
-
);
|
|
108
|
+
await expect(common.userInteraction.fillActiveAndRetry(value)).rejects.toThrow("Function 'fillActiveAndRetry' failed with: Retries done. Failed to execute the function: Please provide a value(datatype - number/string) as argument.");
|
|
111
109
|
});
|
|
112
110
|
});
|
|
113
111
|
|
|
@@ -152,8 +150,6 @@ describe("userInteraction - fillActiveAndRetry - empty value", function () {
|
|
|
152
150
|
it("Execution & Verification", async function () {
|
|
153
151
|
// Make the form field active
|
|
154
152
|
await nonUi5.userInteraction.click(element);
|
|
155
|
-
await expect(common.userInteraction.fillActiveAndRetry()).rejects.toThrow(
|
|
156
|
-
"Function 'fillActiveAndRetry' failed with: Retries done. Failed to execute the function: Please provide a value(datatype - number/string) as argument."
|
|
157
|
-
);
|
|
153
|
+
await expect(common.userInteraction.fillActiveAndRetry()).rejects.toThrow("Function 'fillActiveAndRetry' failed with: Retries done. Failed to execute the function: Please provide a value(datatype - number/string) as argument.");
|
|
158
154
|
});
|
|
159
155
|
});
|
|
@@ -1,92 +1,69 @@
|
|
|
1
1
|
const { BASE_URL } = require("../../../../src/reuse/constants.ts");
|
|
2
|
-
const {
|
|
3
|
-
handleCookiesConsent
|
|
4
|
-
} = require("../../../helper/utils");
|
|
2
|
+
const { handleCookiesConsent } = require("../../../helper/utils");
|
|
5
3
|
|
|
6
4
|
// TODO: add some assertions
|
|
7
5
|
|
|
8
6
|
describe("userInteraction - pressKey - single key - key value", function () {
|
|
9
|
-
|
|
10
7
|
it("Execution", async function () {
|
|
11
8
|
await common.userInteraction.pressKey("Enter");
|
|
12
9
|
});
|
|
13
|
-
|
|
14
10
|
});
|
|
15
11
|
|
|
16
12
|
describe("userInteraction - pressKey - single key - codepoint", function () {
|
|
17
|
-
|
|
18
13
|
it("Execution", async function () {
|
|
19
14
|
await common.userInteraction.pressKey("\uE007");
|
|
20
15
|
});
|
|
21
|
-
|
|
22
16
|
});
|
|
23
17
|
|
|
24
18
|
describe("userInteraction - pressKey - multiple keys", function () {
|
|
25
|
-
|
|
26
19
|
it("Execution", async function () {
|
|
27
20
|
await common.userInteraction.pressKey(["\uE007", "\uE004"]);
|
|
28
21
|
});
|
|
29
|
-
|
|
30
22
|
});
|
|
31
23
|
|
|
32
24
|
describe("userInteraction - pressEnter", function () {
|
|
33
|
-
|
|
34
25
|
it("Execution", async function () {
|
|
35
26
|
await common.userInteraction.pressEnter();
|
|
36
27
|
});
|
|
37
|
-
|
|
38
28
|
});
|
|
39
29
|
|
|
40
30
|
describe("userInteraction - pressF4", function () {
|
|
41
|
-
|
|
42
31
|
it("Execution", async function () {
|
|
43
32
|
await common.userInteraction.pressF4();
|
|
44
33
|
});
|
|
45
|
-
|
|
46
34
|
});
|
|
47
35
|
|
|
48
36
|
describe("userInteraction - pressTab", function () {
|
|
49
|
-
|
|
50
37
|
it("Execution", async function () {
|
|
51
38
|
await common.userInteraction.pressTab();
|
|
52
39
|
});
|
|
53
|
-
|
|
54
40
|
});
|
|
55
41
|
|
|
56
42
|
describe("userInteraction - pressBackspace", function () {
|
|
57
|
-
|
|
58
43
|
it("Execution", async function () {
|
|
59
44
|
await common.userInteraction.pressBackspace();
|
|
60
45
|
});
|
|
61
|
-
|
|
62
46
|
});
|
|
63
47
|
|
|
64
48
|
describe("userInteraction - pressArrowLeft", function () {
|
|
65
|
-
|
|
66
49
|
it("Execution", async function () {
|
|
67
50
|
await common.userInteraction.pressArrowLeft();
|
|
68
51
|
});
|
|
69
|
-
|
|
70
52
|
});
|
|
71
53
|
|
|
72
54
|
describe("userInteraction - pressArrowRight", function () {
|
|
73
|
-
|
|
74
55
|
it("Execution", async function () {
|
|
75
56
|
await common.userInteraction.pressArrowRight();
|
|
76
57
|
});
|
|
77
|
-
|
|
78
58
|
});
|
|
79
59
|
|
|
80
60
|
describe("userInteraction - pressEscape", function () {
|
|
81
|
-
|
|
82
61
|
it("Execution", async function () {
|
|
83
62
|
await common.userInteraction.pressEscape();
|
|
84
63
|
});
|
|
85
|
-
|
|
86
64
|
});
|
|
87
65
|
|
|
88
66
|
describe("userInteraction - selectAll", function () {
|
|
89
|
-
|
|
90
67
|
it("Preparation", async function () {
|
|
91
68
|
await browser.navigateTo(`${BASE_URL}/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState`);
|
|
92
69
|
await handleCookiesConsent();
|
|
@@ -95,13 +72,12 @@ describe("userInteraction - selectAll", function () {
|
|
|
95
72
|
|
|
96
73
|
it("Execution", async function () {
|
|
97
74
|
const selector = {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
75
|
+
elementProperties: {
|
|
76
|
+
viewName: "sap.m.sample.InputValueState.V",
|
|
77
|
+
metadata: "sap.m.Input",
|
|
78
|
+
value: "Value state None"
|
|
102
79
|
}
|
|
103
80
|
};
|
|
104
81
|
await ui5.userInteraction.selectAll(selector);
|
|
105
82
|
});
|
|
106
|
-
|
|
107
|
-
});
|
|
83
|
+
});
|
|
@@ -8,46 +8,44 @@ exports.config = merge(profile.config, {
|
|
|
8
8
|
|
|
9
9
|
baseUrl: "http://localhost:34005/",
|
|
10
10
|
|
|
11
|
-
specs: [
|
|
12
|
-
path.resolve(__dirname, "pressKey.spec.js"),
|
|
13
|
-
path.resolve(__dirname, "clearAndFillActive.spec.js"),
|
|
14
|
-
path.resolve(__dirname, "clearAndFillActiveAndRetry.spec.js"),
|
|
15
|
-
path.resolve(__dirname, "fillActive.spec.js"),
|
|
16
|
-
path.resolve(__dirname, "fillActiveAndRetry.spec.js")
|
|
17
|
-
],
|
|
11
|
+
specs: [path.resolve(__dirname, "pressKey.spec.js"), path.resolve(__dirname, "clearAndFillActive.spec.js"), path.resolve(__dirname, "clearAndFillActiveAndRetry.spec.js"), path.resolve(__dirname, "fillActive.spec.js"), path.resolve(__dirname, "fillActiveAndRetry.spec.js")],
|
|
18
12
|
|
|
19
13
|
services: [
|
|
20
|
-
[
|
|
21
|
-
|
|
22
|
-
folders: [{
|
|
23
|
-
mount: "/waitForElements.html",
|
|
24
|
-
path: path.resolve(__dirname, "../../../helper/website/waitForElements.html")
|
|
25
|
-
},
|
|
14
|
+
[
|
|
15
|
+
"static-server",
|
|
26
16
|
{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
17
|
+
port: 34005,
|
|
18
|
+
folders: [
|
|
19
|
+
{
|
|
20
|
+
mount: "/waitForElements.html",
|
|
21
|
+
path: path.resolve(__dirname, "../../../helper/website/waitForElements.html")
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
mount: "/buttons.html",
|
|
25
|
+
path: path.resolve(__dirname, "../../../helper/website/buttons.html")
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
mount: "/checkBox.html",
|
|
29
|
+
path: path.resolve(__dirname, "../../../helper/website/checkBox.html")
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
mount: "/dropdown.html",
|
|
33
|
+
path: path.resolve(__dirname, "../../../helper/website/dropdown.html")
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
mount: "/forms.html",
|
|
37
|
+
path: path.resolve(__dirname, "../../../helper/website/forms.html")
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
mount: "/scrollPage.html",
|
|
41
|
+
path: path.resolve(__dirname, "../../../helper/website/scrollPage.html")
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
mount: "/tables.html",
|
|
45
|
+
path: path.resolve(__dirname, "../../../helper/website/tables.html")
|
|
46
|
+
}
|
|
47
|
+
]
|
|
49
48
|
}
|
|
50
|
-
|
|
51
|
-
}]
|
|
49
|
+
]
|
|
52
50
|
]
|
|
53
|
-
});
|
|
51
|
+
});
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
"systemUrl": "cca476c6015846bf5af4dd3d2d56bf3cb2778e25ced298129f3c975221bd9f461e4d2648e3571ed2d5bfc58014654f09d4c04146918c7edbbbe10b481edab8182a7b012bcf90ef6d52465c15be16d82bef521211e3166226fde522e64e0fd9a802261e51303bcebb3913740862a036a2d88620576a285b025c68a67607dd07917ac6055855d34427033cf525674ea44a1b66a3c9ea861b4a36962ff74264d2f3d1e34bdb5bb2e20c00c06aa20abdcb9b6170d19c52a384c1fa36fc8a3ca81f95f55131423ce64abf51d392c5546fac41925034c6881cc779704edd191978b10fddcb5151c4000c1ecdc0c569b166296d94f6ce13567a4f4e4747c474765c44cdc4224a039300539fe5689b872e2a78b93a44ffaba8fbd3865a9d83087fd527ebfef645fac3d497795435bbbec22b4f9121faa8d964a034916bdc014e1ec49c98c13d6843288a0f374a3c164df9f0b625d5c7032efe52da5f9949004dbefb2e5e",
|
|
4
4
|
"username": "cd5d64bf00a47ee406c8ef22e03a8f2eaae240da55484227f9b23ae679399c13ad284bb4b6810fc0d6d50d76b0564e5bea49489a5089a495d96de0fa5f57c9112187f15dcb583c2f22d0e25727be2e6ff07cde6d65daeb0ec9ce5411642380ad4f3f46f1e30fdc5488e2cec7862224dbebc809880af96fb434865988302b7b8d96137cf446eedbeac8b26145d2223707b46665147d72fce9be86434873f13587933544f1546be8905c5d453e516f35757c2d98b582d35762e16245c407f071854d26e75498ddfbe0f896cfd07c9d526f89de288d99181ef8336cfd5c9e936d8808f422cbf6a7b705851436b367fed47c58a28adc00f2448f6b8adf44d7737b5762cf1ce41eb9a8c5310b5746c07573ea1aaa0af54f496ba6fc2158dff614e92eeeef57c22d040c97664e54d119fc2e6d106ebcc754cff4d4b885c32c273f68d700822f5d573a1ffd2cb3465296074dbf4b0b46171a69bdd8f3427d285f93f8d2",
|
|
5
5
|
"password": "f29d3de7092b06610ea12aa60513a9bc5178c69f67286c4377414ef34b0bdf8727aa2787807cf4678376ccdb2d51715ea34e88450544a510137e3eb552fab98f7bdbc302e9b3c30a25744d4719246181bb63eeac931a1807da43f587baf309a097c9af216639796c97ed4068332af4f33594eea8eba02c5eec31a852167b7ab0eadee460b4534d51c5278b81e5cab4fe5f67ffddeb1070f40d2b0b521e4a9acf30fc408899ff08d22d53c2fc67ca92bd94ae2f9d193240a03f97bb197bed107e9e591d48d8830845794f9bd0016e1ae065b42a3830134ed9241e3cb37f8c7e5d5d76fa8df9cb973eb968ce945db5de10c0c8bb004e8504a6e0e4554f58350add6da6d8efd1bdb55d12bbcbe676fa04170ac3e2ad831c97f37b6251ce7bbcbb10a7f2212d599875f61566833ec3e03a9f58dff2463c326202887302dc71f3e09b73cd3eaf7bd07977abff0962ea4d7bd890cc9dadbf5240bedc2c3e1802156504"
|
|
6
|
-
}
|
|
6
|
+
}
|
|
@@ -4,7 +4,6 @@ describe("userLocks", function () {
|
|
|
4
4
|
let user;
|
|
5
5
|
let pw;
|
|
6
6
|
describe("deleteExistingLockEntries - get and delete existing user locks", function () {
|
|
7
|
-
|
|
8
7
|
it("Preparation: Set systemUrl ", async function () {
|
|
9
8
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
10
9
|
browser.config.baseUrl = util.data.decrypt(data.baseUrl);
|
|
@@ -31,7 +30,5 @@ describe("userLocks", function () {
|
|
|
31
30
|
it("Execution & Verification: delete existing locks", async function () {
|
|
32
31
|
await flp.userLocks.deleteExistingLockEntries(user, pw);
|
|
33
32
|
});
|
|
34
|
-
|
|
35
33
|
});
|
|
36
|
-
|
|
37
34
|
});
|
|
@@ -5,7 +5,6 @@ describe("userLocks", function () {
|
|
|
5
5
|
let pw;
|
|
6
6
|
|
|
7
7
|
describe("getNumberOfLockEntries - get user locks", function () {
|
|
8
|
-
|
|
9
8
|
it("Preparation: Set systemUrl ", async function () {
|
|
10
9
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
11
10
|
browser.config.baseUrl = util.data.decrypt(data.baseUrl);
|
|
@@ -17,5 +16,4 @@ describe("userLocks", function () {
|
|
|
17
16
|
await flp.userLocks.getNumberOfLockEntries(user, pw);
|
|
18
17
|
});
|
|
19
18
|
});
|
|
20
|
-
|
|
21
19
|
});
|
|
@@ -9,8 +9,5 @@ exports.config = merge(qmateConfiguration.config, {
|
|
|
9
9
|
},
|
|
10
10
|
maxInstances: 1,
|
|
11
11
|
|
|
12
|
-
specs: [
|
|
13
|
-
path.resolve(__dirname, "getNumberOfLockEntries.spec.js"),
|
|
14
|
-
path.resolve(__dirname, "deleteExistingLockEntries.spec.js"),
|
|
15
|
-
]
|
|
12
|
+
specs: [path.resolve(__dirname, "getNumberOfLockEntries.spec.js"), path.resolve(__dirname, "deleteExistingLockEntries.spec.js")]
|
|
16
13
|
});
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
"systemUrl": "817bac533d84867cf08db1aa05d763453bad031d3e6ba5f674452da8ed1c7a525085003a481053a59e7b382f0c71461f641beabf6043e4fb3a76aabde151bdbf0ed76f12c8512bba93c263315b7b23a1a986a99cbc727a24124faed74445fe48759aea0256d9df9839c409872cbc41889c5f3d9955560af97088221aac7bbbd4df3899945cdc8eccd6389eb77dd6e4d7eec0a91fb3389ced2077fb24118a0b00337ef7e6f992048cb5f9bfc3c5af8bf14e3b278decc1663c3109086e0db1f736e3abc3235b5929f3df19fe605aea3e8239b842f98e66095c9c3ef975aa9f9c0cae77beee7b6c8f5bc37e8a32f06ada9ba0202262c525f33354cbde790c98b6195e157431b52f85e380232c449c46753b9a964d399d68a27a6d775918092b61ead6cb743207219d3ae61964d2d7c9ebeb870f2e69e1c613bfa083bd954b556b6a07f7bcc2db78ada63457f4f376e60f17fa2a4c3548a435e901260b1a7ca7bb93",
|
|
4
4
|
"username": "2ab173a889f752d3a42db739f2dd2cd179e72d747550b028db67f774aa8530e3ea3a95e582446015634449be9ab658098b9048401833d69a998be483fdaa7676214a21af6fbbe4f4273207b2a39f4efec5998266b1b4f45b1423aa7133fc31dc56041ba4049c278ec3fddbed766b3f0dc114fb1a9cef2058aebb3c4b9d91200a2d9531dc93bae58514f233f0e2f49f5b64cbb78d6035053a1f7353c80cfe151fed90f6e6300568a32a3e3226324a5a20e42492e5fbc42c1a9c6c8c136d4c91be327f939bed973d5991abbbd98c509c232028bcaf0a40b9a8c805ae66a48fd899ef919b92cad8b094c9c8f0aac44222a4bc973964958ead8ec7252c45ffcdaca0aa44b81580af603f6e3c3ee61943dec6de61f32ac5a3c3d89c85d16fb108caf85cd2967f6553418f520f9c3eabbb28907535d1ccb8cc205f934473eb64259d12385bb44b51dcf146d0f8718eb0379610895bd27c718a1be046a5c5f12e596bd2",
|
|
5
5
|
"password": "f29d3de7092b06610ea12aa60513a9bc5178c69f67286c4377414ef34b0bdf8727aa2787807cf4678376ccdb2d51715ea34e88450544a510137e3eb552fab98f7bdbc302e9b3c30a25744d4719246181bb63eeac931a1807da43f587baf309a097c9af216639796c97ed4068332af4f33594eea8eba02c5eec31a852167b7ab0eadee460b4534d51c5278b81e5cab4fe5f67ffddeb1070f40d2b0b521e4a9acf30fc408899ff08d22d53c2fc67ca92bd94ae2f9d193240a03f97bb197bed107e9e591d48d8830845794f9bd0016e1ae065b42a3830134ed9241e3cb37f8c7e5d5d76fa8df9cb973eb968ce945db5de10c0c8bb004e8504a6e0e4554f58350add6da6d8efd1bdb55d12bbcbe676fa04170ac3e2ad831c97f37b6251ce7bbcbb10a7f2212d599875f61566833ec3e03a9f58dff2463c326202887302dc71f3e09b73cd3eaf7bd07977abff0962ea4d7bd890cc9dadbf5240bedc2c3e1802156504"
|
|
6
|
-
}
|
|
6
|
+
}
|
|
@@ -2,7 +2,6 @@ const data = require("./data/data.json");
|
|
|
2
2
|
|
|
3
3
|
describe("userSettings", function () {
|
|
4
4
|
describe("getDateFormatFromUserSettings.spec - passing date format", function () {
|
|
5
|
-
|
|
6
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
7
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
8
7
|
});
|
|
@@ -15,5 +14,4 @@ describe("userSettings", function () {
|
|
|
15
14
|
common.assertion.expectEqual(new Date(date), new Date(userDate));
|
|
16
15
|
});
|
|
17
16
|
});
|
|
18
|
-
|
|
19
17
|
});
|
|
@@ -2,7 +2,6 @@ const data = require("./data/data.json");
|
|
|
2
2
|
|
|
3
3
|
describe("userSettings", function () {
|
|
4
4
|
describe("getLanguageFromUserSettings.spec", function () {
|
|
5
|
-
|
|
6
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
7
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
8
7
|
});
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
const data = require("./data/data.json");
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
describe("userSettings", function () {
|
|
5
4
|
describe("getTimeFormatFromUserSettings.spec", function () {
|
|
6
|
-
|
|
7
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
8
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
9
7
|
});
|
|
@@ -12,6 +10,5 @@ describe("userSettings", function () {
|
|
|
12
10
|
const userTimeFormat = await flp.userSettings.getTimeFormatFromUserSettings(util.data.decrypt(data.username), util.data.decrypt(data.password));
|
|
13
11
|
common.assertion.expectDefined(userTimeFormat); //12 Hour Format (Example: 12:05:10 PM)
|
|
14
12
|
});
|
|
15
|
-
|
|
16
13
|
});
|
|
17
14
|
});
|
|
@@ -2,7 +2,6 @@ const data = require("./data/data.json");
|
|
|
2
2
|
|
|
3
3
|
describe("userSettings", function () {
|
|
4
4
|
describe("getTimeZoneFromUserSettings.spec", function () {
|
|
5
|
-
|
|
6
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
7
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
8
7
|
});
|
|
@@ -11,6 +10,5 @@ describe("userSettings", function () {
|
|
|
11
10
|
const userTimeZone = await flp.userSettings.getTimeZoneFromUserSettings(util.data.decrypt(data.username), util.data.decrypt(data.password));
|
|
12
11
|
common.assertion.expectDefined(userTimeZone); //Europe, Berlin was set.
|
|
13
12
|
});
|
|
14
|
-
|
|
15
13
|
});
|
|
16
14
|
});
|
|
@@ -2,7 +2,6 @@ const data = require("./data/data.json");
|
|
|
2
2
|
|
|
3
3
|
describe("userSettings", function () {
|
|
4
4
|
describe("setDateFormatFromUserSettings.spec - passing date format", function () {
|
|
5
|
-
|
|
6
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
7
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
8
7
|
});
|
|
@@ -29,5 +28,4 @@ describe("userSettings", function () {
|
|
|
29
28
|
common.assertion.expectEqual(new Date(date), new Date(userDate));
|
|
30
29
|
});
|
|
31
30
|
});
|
|
32
|
-
|
|
33
31
|
});
|
|
@@ -2,7 +2,6 @@ const data = require("./data/data.json");
|
|
|
2
2
|
|
|
3
3
|
describe("userSettings", function () {
|
|
4
4
|
describe("setLanguageFromUserSettings.spec", function () {
|
|
5
|
-
|
|
6
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
7
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
8
7
|
});
|
|
@@ -12,5 +11,4 @@ describe("userSettings", function () {
|
|
|
12
11
|
common.assertion.expectEqual(process.env.USER_SETTINGS_LANG_KEY.length, 2); //Output: en
|
|
13
12
|
});
|
|
14
13
|
});
|
|
15
|
-
|
|
16
14
|
});
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
const data = require("./data/data.json");
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
describe("userSettings", function () {
|
|
5
4
|
describe("setNumberFormatFromUserSettings.spec", function () {
|
|
6
|
-
|
|
7
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
8
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
9
7
|
});
|
|
10
8
|
|
|
11
9
|
it("Execution", async function () {
|
|
12
10
|
await flp.userSettings.setNumberFormatFromUserSettings(util.data.decrypt(data.username), util.data.decrypt(data.password));
|
|
13
|
-
common.assertion.expectDefined(process.env.USER_SETTINGS_NUMBER_FORMAT);
|
|
11
|
+
common.assertion.expectDefined(process.env.USER_SETTINGS_NUMBER_FORMAT); //Output: 1,234,567.89
|
|
14
12
|
});
|
|
15
13
|
});
|
|
16
14
|
});
|
|
@@ -2,7 +2,6 @@ const data = require("./data/data.json");
|
|
|
2
2
|
|
|
3
3
|
describe("userSettings", function () {
|
|
4
4
|
describe("setS4UserSettings.spec - apply all s4 user settings", function () {
|
|
5
|
-
|
|
6
5
|
it("Preparation: Set systemUrl ", async function () {
|
|
7
6
|
browser.config.params.systemUrl = util.data.decrypt(data.systemUrl);
|
|
8
7
|
});
|
|
@@ -32,6 +31,5 @@ describe("userSettings", function () {
|
|
|
32
31
|
common.assertion.expectDefined(process.env.USER_SETTINGS_LANG_KEY);
|
|
33
32
|
});
|
|
34
33
|
});
|
|
35
|
-
|
|
36
34
|
});
|
|
37
35
|
});
|