Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
CI: true
NODE_VERSION: 17.x
NODE_VERSION: 16.x
NODE_ENV: production

UI_IMAGE_ARTEFACT_NAME: "ui-docker-image"
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Load the pre-build UI docker image
run: |
docker load --input "${{ env.UI_IMAGE_ARTEFACT_NAME }}"
- uses: cypress-io/github-action@v2
- uses: cypress-io/github-action@v4
with:
browser: firefox
headless: true
Expand Down
2 changes: 1 addition & 1 deletion home2-dbmigrate/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:17-alpine
FROM node:16-alpine
COPY ./ ./
RUN npm ci
ENTRYPOINT ["npm", "run"]
Expand Down
2 changes: 1 addition & 1 deletion home2-ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:17
FROM node:16

ARG REACT_APP_VERSION
WORKDIR /app
Expand Down
21 changes: 0 additions & 21 deletions home2-ui/component/admin/common/image-upload-preview.test.js

This file was deleted.

2 changes: 1 addition & 1 deletion home2-ui/component/admin/common/use-form.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { act, renderHook } from "@testing-library/react-hooks";
import { act, renderHook } from "@testing-library/react";
import { reportError } from "../../../utils/error-reporting";
import { useForm } from "./use-form";

Expand Down
41 changes: 0 additions & 41 deletions home2-ui/component/footer/flat-links-list.test.js

This file was deleted.

37 changes: 0 additions & 37 deletions home2-ui/component/footer/flat-logo-list.test.js

This file was deleted.

24 changes: 0 additions & 24 deletions home2-ui/component/footer/vertical-separator.test.js

This file was deleted.

19 changes: 0 additions & 19 deletions home2-ui/component/projects/menu/projects-menu-tab.test.js

This file was deleted.

23 changes: 0 additions & 23 deletions home2-ui/component/projects/menu/projects-menu.test.js

This file was deleted.

19 changes: 19 additions & 0 deletions home2-ui/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
projectId: 'k3zgy6',
env: {
API_PREFIX: 'http://localhost:8090',
},
defaultCommandTimeout: 20000, // Github actions are slow
numTestsKeptInMemory: 3,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:8070',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})
7 changes: 0 additions & 7 deletions home2-ui/cypress.json

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion home2-ui/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,5 @@ module.exports = withBundleAnalyzer(
},
];
},
excludeFile: (str) => /\*.{spec,test}.js/.test(str),
})
);
Loading