Skip to content

Commit

Permalink
test: fix single test run command (#10903)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 authored Feb 20, 2025
1 parent d49f0de commit 37884b2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"bundle": "nps build.bundle",
"test": "nps test-cy-ci",
"test:cypress": "nps test-cy-ci",
"test:cypress:single": "nps test-cy-single",
"test:cypress:single": "npx cypress run --component --browser chrome --spec",
"test:cypress:open": "nps test-cy-open",
"test:ssr": "node -e \"import('./test/ssr/component-imports.js')\"",
"create-ui5-element": "wc-create-ui5-element",
Expand Down
2 changes: 1 addition & 1 deletion packages/fiori/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test": "wc-dev test",
"test:ssr": "node -e \"import('./test/ssr/component-imports.js')\"",
"test:cypress": "nps test-cy-ci",
"test:cypress:single": "nps test-cy-single",
"test:cypress:single": "npx cypress run --component --browser chrome --spec",
"test:cypress:open": "nps test-cy-open",
"create-ui5-element": "wc-create-ui5-element",
"prepublishOnly": "tsc -b"
Expand Down
2 changes: 1 addition & 1 deletion packages/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test:cypress:suite-1": "nps test-cy-ci-suite-1",
"test:cypress:suite-2": "nps test-cy-ci-suite-2",
"test:cypress:open": "nps test-cy-open",
"test:cypress:single": "nps test-cy-single",
"test:cypress:single": "npx cypress run --component --browser chrome --spec",
"test:vitest": "yarn vitest run",
"test:ssr": "node -e \"import('./test/ssr/component-imports.js')\"",
"create-ui5-element": "wc-create-ui5-element",
Expand Down
1 change: 0 additions & 1 deletion packages/tools/components-package/nps.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ const getScripts = (options) => {
"test-cy-ci-suite-1": `cross-env CYPRESS_COVERAGE=true TEST_SUITE=SUITE1 yarn cypress run --component --browser chrome`,
"test-cy-ci-suite-2": `cross-env CYPRESS_COVERAGE=true TEST_SUITE=SUITE2 yarn cypress run --component --browser chrome`,
"test-cy-open": `cross-env CYPRESS_COVERAGE=true yarn cypress open --component --browser chrome`,
"test-cy-single": `cross-env yarn cypress run --component --browser chrome --spec ${process.argv[3]}`,
"test-suite-1": `node "${LIB}/test-runner/test-runner.js" --suite suite1`,
"test-suite-2": `node "${LIB}/test-runner/test-runner.js" --suite suite2`,
startWithScope: "nps scope.prepare scope.watchWithBundle",
Expand Down

0 comments on commit 37884b2

Please sign in to comment.