Skip to content

Error when examples are deleted #58

@garg3133

Description

@garg3133

When this tool is used to initialize a new Nightwatch project, we add some examples related to page-objects, custom-commands and custom-assertions to the project, along with setting the respective configs in the Nighwtach configuration file.

Now, when the user deletes the examples directory from the Nightwatch project and tries to run the tests again, it fails giving the following error:
image
which can be confusing to users and take up a lot of their time to debug. We need to find a solution to deal with such a situation.

Related thread: https://browserstack.slack.com/archives/C027A82KQC9/p1660121243886599?thread_ts=1660111768.893559&cid=C027A82KQC9

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