2.1.1 • Published 6 months ago

@currents/nx v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@currents/nx

NX plugin for running cypress tests using Currents or Sorry Cypress as an orchestration service.

The plugin is intended for usage in CI environments and runs Cypress in headless mode. Please use @nrwl/cypress for running cypress in interactive mode.

Setup

Install @currents/nx

npm i --save-dev @currents/nx

Add target currents to your project configuration:

{
  // ...
  "targets": {
    "currents": {
      "executor": "@currents/nx:currents",
      "options": {
        "record": true,
        "parallel": true,
        "cypressConfig": "apps/app-e2e/cypres.config.ts",
        "devServerTarget": "my-react-app:serve",
        "testingType": "e2e"
      }
    }
  }
  // ...

Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.

nx run project:currents --group nx --record --key <key> --ci-build-id hello-currents-nx

Configuration

See the schema.json for the list of available options

Example

See https://github.com/currents-dev/currents-nx-example for example integration.

Migration

Version 1.0.0

  • @nrwl/cypress no longer required - the plugin is a standalone implementation that is not dependent on @nrwl/cypress. Use the available configuration options to configure the execution of cypress runs.
2.1.1

6 months ago

2.1.0

6 months ago

2.0.0-beta.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0-beta.2

1 year ago

1.0.0-beta.1

1 year ago

0.1.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago