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

16 lines (12 loc) 567 B
const data = require("./data/data.json"); describe("userSettings", function () { describe("getLanguageFromUserSettings.spec", function () { it("Preparation: Set systemUrl ", async function () { browser.config.params.systemUrl = util.data.decrypt(data.systemUrl); }); it("Execution & Verification", async function () { const userLanguage = await util.userSettings.getLanguageFromUserSettings(util.data.decrypt(data.username), util.data.decrypt(data.password)); common.assertion.expectEqual(userLanguage.length, 2); }); }); });