Skip to content

Commit d640fd4

Browse files
committed
Test build fix
1 parent 42d275f commit d640fd4

File tree

3 files changed

+1
-76
lines changed

3 files changed

+1
-76
lines changed

.circleci/config.yml

-40
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ deploy_defaults: &deploy_defaults
88
docker:
99
- image: cimg/python:3.12.1-browsers
1010

11-
test_defaults: &test_defaults
12-
docker:
13-
- image: cypress/included:cypress-13.17.0-node-22.13.0-chrome-131.0.6778.264-1-ff-134.0-edge-131.0.2903.112-1
14-
1511
install_build_dependency: &install_build_dependency
1612
name: Installation of build and deployment dependencies.
1713
command: |
@@ -62,14 +58,6 @@ running_yarn_sb_build: &running_yarn_sb_build
6258
source buildenvvar
6359
yarn sb:build
6460
65-
running_yarn_test: &running_yarn_test
66-
name: Running Yarn Test Build
67-
command: |
68-
yarn install
69-
cypress install
70-
yarn build
71-
yarn cy:ci
72-
7361
workspace_persist: &workspace_persist
7462
root: .
7563
paths:
@@ -100,26 +88,6 @@ build_steps: &build_steps # Initialization.
10088
- run: *running_yarn_sb_build
10189
- persist_to_workspace: *workspace_persist
10290

103-
test_steps: &test_steps # Initialization.
104-
- checkout
105-
- setup_remote_docker
106-
- restore_cache:
107-
key: test-node-modules-{{ checksum "yarn.lock" }}
108-
- run: *running_yarn_test
109-
- save_cache:
110-
key: test-node-modules-{{ checksum "yarn.lock" }}
111-
paths:
112-
- node_modules
113-
- /root/.cache/Cypress
114-
- store_test_results:
115-
path: cypress/test-report
116-
- store_artifacts:
117-
path: cypress/test-report
118-
- store_artifacts:
119-
path: cypress/videos
120-
- store_artifacts:
121-
path: cypress/screenshots
122-
12391
deploy_steps: &deploy_steps
12492
- checkout
12593
- attach_workspace: *workspace_attach
@@ -175,14 +143,6 @@ jobs:
175143
APPNAME: "platform-ui-mvp"
176144
steps: *build_steps
177145

178-
test-dev:
179-
<<: *test_defaults
180-
environment:
181-
DEPLOY_ENV: "DEV"
182-
LOGICAL_ENV: "dev"
183-
APPNAME: "platform-ui-mvp"
184-
steps: *test_steps
185-
186146
# Just tests commited code.
187147
deployDev:
188148
<<: *deploy_defaults

cypress.config.ts

-32
This file was deleted.

package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
"report:coverage": "nyc report --reporter=html",
1717
"report:coverage:text": "nyc report --reporter=text",
1818
"sb": "storybook dev -p 6006",
19-
"sb:build": "storybook build -o build/storybook",
20-
"cy:run": "cypress run --reporter junit",
21-
"cy:ci": "start-server-and-test 'serve -s build -n -p 3000' http://localhost:3000 'cy:run'"
19+
"sb:build": "storybook build -o build/storybook"
2220
},
2321
"dependencies": {
2422
"@datadog/browser-logs": "^4.21.2",
@@ -181,7 +179,6 @@
181179
"craco-resolve-url-loader": "^1.0.0",
182180
"cross-env": "^7.0.3",
183181
"css-loader": "3.5.3",
184-
"@cypress/code-coverage": "^3.10.0",
185182
"eslint": "^8.25.0",
186183
"eslint-config-airbnb": "^19.0.4",
187184
"eslint-config-react-app": "^7.0.1",

0 commit comments

Comments
 (0)