Skip to content

Support running multiple test files in series #59

@alowayed

Description

@alowayed

I need to run multiple test files but get an error on line 15 of background.js:

Path must be a string. Received [ 'test1.js', 'test2.js' ]

My gulp task looks something like this:

gulp.src('')
    .pipe(nightwatch({
        configFile: nightWatchConfigPath,
        cliArgs: [
            '--config configPath.json'
            '--test test1.js',
            '--test test1.js',
            '--env chrome'
        ]
    }))

Seems both tests are being concatenated into an array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions