NX
Running Playwright tests with NX
Running cypress tests in NX project with Currents
import { nxE2EPreset } from '@nx/playwright/preset';
import { defineConfig, devices } from '@playwright/test';
import { CurrentsConfig, currentsReporter } from '@currents/playwright';
const currentsConfig: CurrentsConfig = {
recordKey: process.env.CURRENTS_RECORD_KEY,
projectId: process.env.CURRENTS_PROJECT_ID,
};
const nxConf = nxE2EPreset(__filename);
export default defineConfig({
...nxConf,
reporter: [currentsReporter(currentsConfig)],
...
...
});Using --last-failed flag
--last-failed flagOrchestration in a single project
Last updated
Was this helpful?