drevops / behat-steps

🧪 A collection of Behat step definitions for Drupal
GNU General Public License v3.0
18 stars 13 forks source link

Inconsistent format of "Given no managed files:" step #127

Closed AlexSkrypnyk closed 8 months ago

AlexSkrypnyk commented 1 year ago

The step's help currently states the following usage:

Given no managed files:
| filename      |
| myfile.jpg    |
| otherfile.jpg |

The code, however, does not account for the name of the provided field filename and is hardcoded to filename instead of using a field name. Moreover, the | filename | is removed in the step.

Actions:

  1. Remove hardcoded filename and use the provided field name.
  2. Updated step comment to reflect that any field name can be specified in the column name.