froth-webdriverio-framework 4.0.8 → 4.0.9

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.
@@ -88,7 +88,7 @@ async function RNDDATE(startYear = 1950, endYear = 2005, format = 'YYMMDD') {
88
88
 
89
89
  const randomTimestamp = start + Math.random() * (end - start);
90
90
  const randomDate = new Date(randomTimestamp);
91
-
91
+ console.log(randomDate);
92
92
  return FORMATDATE(randomDate, format);
93
93
  }
94
94
 
@@ -187,7 +187,7 @@ async function RANDOM(template, datatype) {
187
187
  // Example function to test the template replacement
188
188
  async function main() {
189
189
 
190
- let template = "SUBHRASUBUDHI {RNDDATE[1968][1970][yymmdd]} @GMAQIL.COM";
190
+ let template = "SUBHRASUBUDHI {RNDDATE[1994][2002][YYMMDD]} @GMAQIL.COM";
191
191
  let result = await RANDOM(template, 'STRING');
192
192
  console.log(result);
193
193
  console.log(typeof result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",