UNPKG

@sap_oss/wdio-qmate-service

Version:

[![REUSE status](https://api.reuse.software/badge/github.com/SAP/wdio-qmate-service)](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[![Node.js CI](https://github.com/SAP/wdio-qmate-service/actions/workflows/node.js.yml/badge.svg)](http

35 lines (27 loc) 959 B
const { handleCookiesConsent } = require("../../../helper/utils"); describe("userInteraction - dragAndDrop", function () { const sourceSelector = { "elementProperties": { "viewName": "sap.f.sample.GridListDragAndDrop.V", "metadata": "sap.f.GridListItem", "bindingContextPath": "/items/0" } }; const targetSelector = { "elementProperties": { "viewName": "sap.f.sample.GridListDragAndDrop.V", "metadata": "sap.f.GridListItem", "bindingContextPath": "/items/5" } }; it("Preparation", async function () { await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/sdk/#/entity/sap.f.GridList/sample/sap.f.sample.GridListDragAndDrop"); await handleCookiesConsent(); }); it("Execution", async function () { await ui5.userInteraction.dragAndDrop(sourceSelector, targetSelector, 0, 0, 1000); }); it("Verification", async function () { // TODO }); });