artes 1.1.44 → 1.1.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artes",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "description": "The simplest way to automate UI and API tests using Cucumber-style steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -184,8 +184,10 @@ When('User types random alphanumeric in range from {int} to {int} in {string}',
184
184
  })
185
185
 
186
186
  When('User types random fullname in {string}', async (input) => {
187
- const randomFullname = await random.person.fullName()
188
- await element(input).fill(randomFullname)
187
+ const randomFirstName = await random.person.firstName()
188
+ const randomLastName = await random.person.lastName()
189
+
190
+ await element(input).fill(`${randomFirstName} ${randomLastName}`)
189
191
  })
190
192
 
191
193
  When('User types random date between {int} and {int} in {string}', async (fromYear, toYear, input) => {