mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@grafana/e2e: added support for plugin repositories (#22546)
* Minor changes * Include Cypress support files in published package * Added CLI … with support for custom configurations (which Cypress does not currently support by default): * Loads cypress.json from @grafana/e2e as a base config (via a custom Cypress plugin) * Sets default values for project-level Cypress files (tests, etc) * Optionally loads a cypress.json from the current working directory as overrides * Updated lockfile
This commit is contained in:
10
packages/grafana-e2e/bin/grafana-e2e.js
Executable file
10
packages/grafana-e2e/bin/grafana-e2e.js
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// This file is used only for internal executions
|
||||
|
||||
require('ts-node').register({
|
||||
project: `${__dirname}/../tsconfig.json`,
|
||||
transpileOnly: true,
|
||||
});
|
||||
|
||||
require('../src/cli/index.ts').default();
|
||||
Reference in New Issue
Block a user