Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

CLI bootstrapping appears broken #269

@swashcap

Description

@swashcap

Problem

Setting up magellan yields a handful of issues. When running magellan --help:

  • The CLI generates a temp directory: producing side effects without warning is a bad user experience. Also: there doesn't appear to be any documentation about this directory or its importance in the README.
  • No CLI help output generated (see below)
  • It looks like testarmada-magellan-nightwatch-plugin is required out of the box?
  • The CLI exits with 1!

Steps to reproduce

$ mkdir magellan-test
$ cd $_
$ npm init -y
# ...
$ npm i -D testarmada-magellan testarmada-magellan-local-executor
# ...
$ npx magellan --help
[INFO] [Magellan] Loading configuration from default location: ./magellan.json
[INFO] [Magellan] Creating temporary files at: /Users/dudeman/magellan-demo/temp
[INFO] [Magellan] Version:  11.0.3
[INFO] [Magellan] Use --help to list out all command options
[ERROR] [Magellan] Could not start Magellan.
[ERROR] [Magellan] Could not load the testing framework plugin: testarmada-magellan-nightwatch-plugin
[ERROR] [Magellan] Check and make sure your package.json includes module: testarmada-magellan-nightwatch-plugin
[ERROR] [Magellan] Error: Cannot find module '/Users/dudeman/magellan-demo/node_modules/testarmada-magellan-nightwatch-plugin/index'
[ERROR] [Magellan] Error while running Magellan: undefined
[ERROR] [Magellan] undefined
$ echo $?
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions