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

23 lines (19 loc) 796 B
const { handleCookiesConsent } = require("../../../helper/utils"); describe("userInteraction - moveCursorAndClick - chart tests", function () { it("Preparation", async function () { await common.navigation.navigateToUrl("https://sapui5.hana.ondemand.com/1.96.27/#/entity/sap.viz.ui5.controls.VizFrame/sample/sap.viz.sample.Donut"); await handleCookiesConsent(); }); it("Execution", async function () { const elem = await nonUi5.element.getByCss("g:nth-child(1) > g:nth-child(7)"); await nonUi5.userInteraction.moveCursorAndClick(elem); }); it("Verification", async function () { const selector = { elementProperties: { metadata: "sap.viz.ui5.controls.chartpopover.ContentPanel" } }; await ui5.element.getDisplayed(selector); }); });