froth-webdriverio-framework 0.1.29 → 0.1.30
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/api/readTestdata.js +1 -1
- package/package.json +1 -1
package/api/readTestdata.js
CHANGED
|
@@ -6,7 +6,7 @@ async function getDataById(frothUrl,id, keyvalue) {
|
|
|
6
6
|
const url = `https://${frothUrl}/api/testdata-retrieve/${id}`;
|
|
7
7
|
|
|
8
8
|
try {
|
|
9
|
-
const token = await login('subhra.subudhi@roboticodigital.com','
|
|
9
|
+
const token = await login('subhra.subudhi@roboticodigital.com',Buffer.from('V2VsY29tZUAxMjM=','base64').toString('utf-8')); // Wait for the login function to resolve and get the token
|
|
10
10
|
if (!token) {
|
|
11
11
|
throw new Error('Login failed, no token obtained');
|
|
12
12
|
}
|