fix(testing): only add atomizer label for parent atomizer task (#26740)
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> Atomizer is shown for all split targets ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> Atomizer is shown for only the parent atomizer target. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
This commit is contained in:
parent
5364e27d68
commit
336d371ceb
@ -393,7 +393,6 @@ describe('@nx/cypress/plugin', () => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"nonAtomizedTarget": "e2e",
|
|
||||||
"technologies": [
|
"technologies": [
|
||||||
"cypress",
|
"cypress",
|
||||||
],
|
],
|
||||||
|
|||||||
@ -279,7 +279,6 @@ async function buildCypressTargets(
|
|||||||
metadata: {
|
metadata: {
|
||||||
technologies: ['cypress'],
|
technologies: ['cypress'],
|
||||||
description: `Runs Cypress Tests in ${relativeSpecFilePath} in CI`,
|
description: `Runs Cypress Tests in ${relativeSpecFilePath} in CI`,
|
||||||
nonAtomizedTarget: options.targetName,
|
|
||||||
help: {
|
help: {
|
||||||
command: `${pmc.exec} cypress run --help`,
|
command: `${pmc.exec} cypress run --help`,
|
||||||
example: {
|
example: {
|
||||||
|
|||||||
@ -234,7 +234,6 @@ describe('@nx/jest/plugin', () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"nonAtomizedTarget": "test",
|
|
||||||
"technologies": [
|
"technologies": [
|
||||||
"jest",
|
"jest",
|
||||||
],
|
],
|
||||||
|
|||||||
@ -280,7 +280,6 @@ async function buildJestTargets(
|
|||||||
metadata: {
|
metadata: {
|
||||||
technologies: ['jest'],
|
technologies: ['jest'],
|
||||||
description: `Run Jest Tests in ${relativePath}`,
|
description: `Run Jest Tests in ${relativePath}`,
|
||||||
nonAtomizedTarget: options.targetName,
|
|
||||||
help: {
|
help: {
|
||||||
command: `${pmc.exec} jest --help`,
|
command: `${pmc.exec} jest --help`,
|
||||||
example: {
|
example: {
|
||||||
|
|||||||
@ -348,7 +348,6 @@ describe('@nx/playwright/plugin', () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"nonAtomizedTarget": "e2e",
|
|
||||||
"technologies": [
|
"technologies": [
|
||||||
"playwright",
|
"playwright",
|
||||||
],
|
],
|
||||||
@ -384,7 +383,6 @@ describe('@nx/playwright/plugin', () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"nonAtomizedTarget": "e2e",
|
|
||||||
"technologies": [
|
"technologies": [
|
||||||
"playwright",
|
"playwright",
|
||||||
],
|
],
|
||||||
|
|||||||
@ -226,7 +226,6 @@ async function buildPlaywrightTargets(
|
|||||||
metadata: {
|
metadata: {
|
||||||
technologies: ['playwright'],
|
technologies: ['playwright'],
|
||||||
description: `Runs Playwright Tests in ${relativeSpecFilePath} in CI`,
|
description: `Runs Playwright Tests in ${relativeSpecFilePath} in CI`,
|
||||||
nonAtomizedTarget: options.targetName,
|
|
||||||
help: {
|
help: {
|
||||||
command: `${pmc.exec} playwright test --help`,
|
command: `${pmc.exec} playwright test --help`,
|
||||||
example: {
|
example: {
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
const nxPreset = require('@nx/jest/preset').default;
|
const nxPreset = require('../node_modules/@nx/jest/preset').default;
|
||||||
|
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user