Commit graph

19 commits

Author SHA1 Message Date
Sanne Raymaekers
2e5eaa85d9 package.json: Pin exact versions 2021-04-12 15:58:58 +02:00
Sanne Raymaekers
b0614ae750 CreateImageWizard: Notification on successful compose response 2021-03-09 21:41:17 +00:00
Jacob Kozol
36f2970419 package.json: update patternfly react-core 2021-02-24 18:50:02 +00:00
Jacob Kozol
61b9c2f3ce package: update patternfly dependencies
Bump patternfly packages to newest version.
2021-02-19 12:10:57 +01:00
Sanne Raymaekers
788291e329 package.json: Update frontend-components-config
The later versions also recognize `main` as a beta branch.
2020-12-16 14:12:28 +01:00
Sanne Raymaekers
3763457b8e package.json: Update major versions of react and patternfly 2020-11-27 11:35:23 +02:00
Sanne Raymaekers
33e9db6681 tests: More updates
- `npm run test:single` runs jest with `-w 1`, makes the output readable
- adds testIds to the radio buttons, I think it's a bit bugged where if
  you click the label it'll automatically switch to the first radio button
  (even if you click the label of the 2nd button)
- moved a misplaced wait
2020-11-18 16:38:23 +02:00
Aleksandar Todorov
44fecec797 Add tests switching between fields in AmazonUploadComponent 2020-11-18 16:38:23 +02:00
Aleksandar Todorov
afe02e0f2e Add more tests for Create Image Wizard
- sanity validation of each of the 4 steps
- click through buttons Next/Back/Cancel

Notes:

- add data-testid attribute for the release select field b/c
there's no better way to query it
- add @testing-library/jest-dom for additional asserts
2020-11-09 10:52:33 +01:00
Xiaofeng Wang
d4cb1c4d6b test: Add two more eslint plugin to follow best practices and
anticipate common mistakes

eslint-plugin-testing-library: for writing tests with Testing Library
eslint-plugin-jest-dom: for writing tests with jest-dom
2020-11-06 10:03:26 +01:00
Cockpit Project
afdfb6f387 package.json: Update @patternfly/react-core package dependency
Closes #39
2020-11-05 10:40:26 +01:00
Alexander Todorov
56d3701962
Improve test coverage
tests: Add test for updateCompose redux action
2020-11-05 10:40:04 +01:00
Cockpit Project
a407bc9490 package.json: Update @redhat-cloud-services/frontend-components-utilities package dependency
Closes #35
2020-11-03 15:31:56 +01:00
Cockpit Project
983801a637 package.json: Update @redhat-cloud-services/frontend-components package dependency
Closes #32
2020-11-02 20:11:28 +01:00
Jacob Kozol
ea09205a27 test: add initial jest tests
Basic jest tests are added for the landing page. These tests use the
react testing library so the enzyme dependencies are removed from the
package.json. The travis config is also updated.
2020-10-22 10:23:08 +02:00
Sanne Raymaekers
16ec5a7e3f
On travis run with NODE_ENV=production (#11)
* package.json: Clean up scripts

* travis: Run travis build scripts

These run with NODE_ENV=production, which is needed to have correct
routing on all clouddot instances.
2020-09-22 08:23:26 -05:00
Major Hayden
4c6c3fae1b 📦 package.json: Update scripts section
The starter app has been updated over the last few months and new
options are required in the `scripts` section of `package.json`.

Bring the `scripts` section in line with the starter app to fix some
issues around routing requests to `/beta` in CI.

Signed-off-by: Major Hayden <major@redhat.com>
2020-09-22 10:30:34 +02:00
sanne raymaekers
f62384485b Rename to image-builder-frontend 2020-09-14 12:16:35 +02:00
sanne raymaekers
f93d36b972 copy from RedHatInsights/insights-frontend-starter-app template
Copied removing unused parts, and includes some initial changes.
2020-04-15 12:46:02 +02:00