froth-webdriverio-framework 1.0.17 → 1.0.18
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 +5 -2
- package/package.json +1 -1
- package/storage/ADMIN_PASSWORD +1 -0
- package/storage/ADMIN_USER +1 -0
- package/storage/EMAIL +1 -0
- package/storage/PASSWORD +1 -0
package/api/readTestdata.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
const getLoginToken = require('../api/loginapi.js');
|
|
3
|
+
const { LocalStorage } = require('node-localstorage');
|
|
4
|
+
global.BUFFER = new LocalStorage('./storage');
|
|
3
5
|
|
|
4
6
|
// Function to get data from the API using the Bearer token
|
|
5
7
|
async function getDataById(frothUrl, token, id) {
|
|
@@ -76,7 +78,8 @@ async function getDataById(frothUrl, token, id) {
|
|
|
76
78
|
// // const data = await getExecuitonDetails(frothUrl, token, id);
|
|
77
79
|
// // console.log("Retrieved JSON Data:", data);
|
|
78
80
|
|
|
79
|
-
//
|
|
81
|
+
// const d= await getDataById(frothUrl, token, id);
|
|
82
|
+
// console.log(JSON.stringify(BUFFER))
|
|
80
83
|
// } catch (error) {
|
|
81
84
|
// console.error('Error in main function:', error);
|
|
82
85
|
// }
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
QgCY72/szqZ@(ap&
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ytladmin
|
package/storage/EMAIL
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0184310814@YES.MY
|
package/storage/PASSWORD
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
password
|