usil / seleniumjs4all

1 stars 0 forks source link

add an option to execute specific test types #10

Open iSkyNavy opened 1 year ago

iSkyNavy commented 1 year ago

It can be a parameter within tests that runs only one type of test, for example if the parameter has the value of "read" would only execute the tests that .read

jrichardsz commented 1 year ago

Example:

If tests files ends with:

This option called FILTER_BY_FILE_NAME_REGEX , could allows us to execute only the "read" tests

FILTER_BY_FILE_NAME_REGEX=^.+.\read.\test.\js
jrichardsz commented 1 year ago

Change this field to : filterByTestName

image

And add another optional called :

^.+.\read.\test.\js

Notes:

iSkyNavy commented 1 year ago

If you skip the file field nothing happens

iSkyNavy commented 1 year ago

Implemented in branch 1.0.2-snapshot