[PR #12] [MERGED] UI changes - tests and github actions for build and testing #245

Closed
opened 2026-03-04 01:35:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spr-networks/super/pull/12
Author: @lts-po
Created: 3/29/2022
Status: Merged
Merged: 3/29/2022
Merged by: @lts-po

Base: mainHead: test


📝 Commits (10+)

  • 6759373 [ui] move to for testing react components
  • 2e3d6a1 [ui] mock api for testing
  • a4793d1 [ui] add dev dependencies for testing
  • 6eb54ab [ui] add dev dependencies for testing
  • 8d45fce [ui] load mock API if REACT_APP_API=mock for testing
  • ecb116c [ui] cypress conf + specs for testing
  • 3125d2a [ui] first test
  • c9a00d7 [ui] github action for building & testing of ui
  • 889af97 [ui] ui test workflow - use yarn
  • 2315a08 [ui] github action - working dir fix

📊 Changes

15 files changed (+3159 additions, -1519 deletions)

View changed files

.github/workflows/test-ui.yml (+49 -0)
frontend/.DS_Store (+0 -0)
📝 frontend/.gitignore (+0 -1)
📝 frontend/README.md (+2 -0)
frontend/cypress.json (+6 -0)
frontend/cypress/integration/spec.js (+8 -0)
📝 frontend/package.json (+9 -1)
frontend/src/App.js (+38 -0)
frontend/src/__tests__/Api.js (+46 -0)
frontend/src/__tests__/App.js (+17 -0)
📝 frontend/src/components/Helpers/Api.js (+11 -11)
frontend/src/components/Helpers/MockAPI.js (+270 -0)
📝 frontend/src/index.js (+16 -33)
frontend/src/setupTests.js (+5 -0)
📝 frontend/yarn.lock (+2682 -1473)

📄 Description

[ui] integrate testing + github actions for running build + test


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spr-networks/super/pull/12 **Author:** [@lts-po](https://github.com/lts-po) **Created:** 3/29/2022 **Status:** ✅ Merged **Merged:** 3/29/2022 **Merged by:** [@lts-po](https://github.com/lts-po) **Base:** `main` ← **Head:** `test` --- ### 📝 Commits (10+) - [`6759373`](https://github.com/spr-networks/super/commit/675937309990f18ed34d17e7c02d73fb7d57357f) [ui] move to <App /> for testing react components - [`2e3d6a1`](https://github.com/spr-networks/super/commit/2e3d6a1cc8714ac1be5a542379497a1f75a96fcf) [ui] mock api for testing - [`a4793d1`](https://github.com/spr-networks/super/commit/a4793d1c787fe5a507ec0e94a474c6a0aeee1473) [ui] add dev dependencies for testing - [`6eb54ab`](https://github.com/spr-networks/super/commit/6eb54aba267fd538bda6432cafa7079060edeb01) [ui] add dev dependencies for testing - [`8d45fce`](https://github.com/spr-networks/super/commit/8d45fceb408bcfcca8e4824593a95ee730f2afb4) [ui] load mock API if REACT_APP_API=mock for testing - [`ecb116c`](https://github.com/spr-networks/super/commit/ecb116c656f850ffa753b05fad1e74bd273d22b3) [ui] cypress conf + specs for testing - [`3125d2a`](https://github.com/spr-networks/super/commit/3125d2ab5d07faaaefd7c0dbc6f209357afec48f) [ui] first test - [`c9a00d7`](https://github.com/spr-networks/super/commit/c9a00d7a3d0d03aa8bc0cf4eee23f5b2c35b5090) [ui] github action for building & testing of ui - [`889af97`](https://github.com/spr-networks/super/commit/889af979bf6360f2e1f8f4508909c3d8b5edc8f2) [ui] ui test workflow - use yarn - [`2315a08`](https://github.com/spr-networks/super/commit/2315a085f3d378ffeea1459490a6136db2e95a16) [ui] github action - working dir fix ### 📊 Changes **15 files changed** (+3159 additions, -1519 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/test-ui.yml` (+49 -0) ➖ `frontend/.DS_Store` (+0 -0) 📝 `frontend/.gitignore` (+0 -1) 📝 `frontend/README.md` (+2 -0) ➕ `frontend/cypress.json` (+6 -0) ➕ `frontend/cypress/integration/spec.js` (+8 -0) 📝 `frontend/package.json` (+9 -1) ➕ `frontend/src/App.js` (+38 -0) ➕ `frontend/src/__tests__/Api.js` (+46 -0) ➕ `frontend/src/__tests__/App.js` (+17 -0) 📝 `frontend/src/components/Helpers/Api.js` (+11 -11) ➕ `frontend/src/components/Helpers/MockAPI.js` (+270 -0) 📝 `frontend/src/index.js` (+16 -33) ➕ `frontend/src/setupTests.js` (+5 -0) 📝 `frontend/yarn.lock` (+2682 -1473) </details> ### 📄 Description [ui] integrate testing + github actions for running build + test --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:35:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/super#245
No description provided.