Commit Graph

22 Commits

Author SHA1 Message Date
Mashal Malik
f67ffdd480 refactor: replace @edx/paragon and @edx/frontend-build (#294)
* refactor: replace @edx/paragon and @edx/frontend-build

* refactor: updated edx packages

* fix: fixed failing test cases by remmoving paragon mock

* fix: updated lock file to fix build issues

---------

Co-authored-by: mashal-m <mashal.malik@arbisoft.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
Co-authored-by: Muhammad Abdullah Waheed <abdullah.waheed@arbisoft.com>
2024-02-28 13:04:23 -03:00
Syed Ali Abbas Zaidi
5bed90b659 feat: migrate enzyme to edx/react-unit-test-utils (#295)
* feat: migrate enzyme to edx/react-unit-test-utils

* refactor: remove shallowWrapper usage

* refactor: remove unnecessary _instance usage
2024-02-10 00:35:02 +05:00
Jhon Vente
44d6dc616c fix: test problems jest dom and paragon (#311) 2024-02-02 12:13:12 -05:00
Bilal Qamar
b7b94531aa feat: update react & react-dom to v17 (#190)
* feat: update react & react-dom to v17

* build: update pkgs

* fix: fix lint issue

* build: update paragon

* refactor: updated edx packages

* build: update -react-redux

* refactor: updated package-lock

* refactor: updated package-lock

* refactor: updated package-lock

---------

Co-authored-by: mashal-m <mashal.malik@arbisoft.com>
Co-authored-by: Mashal Malik <107556986+Mashal-m@users.noreply.github.com>
2023-08-28 10:36:11 -04:00
Adolfo R. Brandes
49357a4e87 feat: Support runtime configuration
frontend-platform supports runtime configuration since 2.5.0 (see the PR
that introduced it[1], but it requires MFE cooperation.  This implements
just that: by avoiding making configuration values constant, it should
now be possible to change them after initialization.

Almost all changes here relate to the `LMS_BASE_URL` setting, which in
most places was treated as a constant.

[1] openedx/frontend-platform#335
2023-05-25 11:28:28 -03:00
Diana Olarte
c646b88543 feat: allow runtime configuration (#144)
* feat: allow runtime configuration

* test: organize Head test
2022-11-21 10:06:24 -05:00
Leangseu Kim
956dee9a6d chore: change card body to card section 2022-07-19 11:28:15 -04:00
leangseu-edx
18bc94e2ff chore: add CTA for page (#112)
* chore: add CTA for page

* chore: update hyperlink style
2022-05-19 10:16:26 -04:00
Ben Warzeski
5f12c4fb8e chore: renderer test coverage (#103)
* chore: renderer test coverage

* fix: lint

* chore: api tests

* chore: tests for app reducer and StartGradeButton

* chore: lint

* fix: update reducer tests

* chore: more test coverage

* chore: test coverage

* chore: update test for merge conflicts
2022-04-29 14:54:33 -04:00
Leangseu Kim
d033fa310d feat: make zip support larger files
chore: improve code readability
2022-03-30 13:12:56 -04:00
Ben Warzeski
8ebd0497cf chore: update filter status component tests (#74)
* chore: update filter status component tests

* chore: move react stub to setupTests
2022-03-17 11:48:17 -04:00
Leangseu Kim
c6ed6938af fix: update setup test to mock locationId 2022-02-02 15:09:14 -05:00
leangseu-edx
c5bf0a7d11 feat: add file renderer that support common error handling and loading banner (#42)
* feat: add file renderer that support common error handling and loading banner

* chore: use axios instead of get from utils

* chore: fixed typo and update snapshots
2022-01-19 12:34:44 -05:00
Ben Warzeski
579ff50c99 feat: Zip download (#41)
* integration tests through navigation

* more tests

* download-demo

* feat: file download and tests

* fix: update manifest styling
2022-01-10 10:29:13 -05:00
Ben Warzeski
91c874e20d feat: Submit states (#37)
* feat: enable teams support

* feat: submit grade pending behavior

* feat: submit error behavior

* fix: Update src/data/services/lms/fakeData/testUtils.js

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>
2021-12-06 11:02:43 -05:00
Ben Warzeski
7634e0ad7e feat: Load submission pending and error states (#32)
* feat: list pending and error states

* fix: merge clunk

* feat: fetchSubmission pending and error states

* fix: lint fix

* fix: fix tests

* refactor: combined submission fetch

* fix: make merge fixes happy

* fix: linting

* fix: simplify selectors and fix action bar score

* fix: fix tests

* Update src/data/redux/requests/selectors.js

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>
2021-11-24 13:05:18 -05:00
Leangseu Kim
e620bc0f59 feat: first draft of submit
test: update unit test

chore: update requested change
2021-11-10 16:48:32 -05:00
Ben Warzeski
9a1a7cd892 refactor: centralize paragon mocking 2021-11-05 16:04:55 -04:00
Ben Warzeski
5ee8b75669 fix: setupTest intlShape mock 2021-10-29 10:23:58 -04:00
Ben Warzeski
9e79538254 fix tests, clean up Header, and add tests for it 2021-10-01 15:35:14 -04:00
Leangseu Kim
dacc6333ae commit before updating test
updated some test
2021-09-28 11:34:04 -04:00
Ben Warzeski
d84eff5041 initial commit 2021-09-28 11:34:02 -04:00