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

22 lines (17 loc) 674 B
"use strict"; describe("navigationBar - expectShellHeader", function () { it("Preparation", async function () { await common.navigation.navigateToUrl(browser.config.baseUrl); }); it("Execution & Verification", async function () { await ui5.navigationBar.expectShellHeader(); }); }); describe("navigationBar - expectShellHeader - error case", function () { it("Preparation", async function () { await common.navigation.navigateToUrl("https://www.sap.com"); }); it("Execution & Verification", async function () { await expect(ui5.navigationBar.expectShellHeader()).rejects.toThrowError("Function 'expectShellHeader' failed with:"); }); });