165 Commits

Author SHA1 Message Date
John Mitchell
261980f18e
update components tests to use mountWithContexts when relevant 2019-04-22 16:34:33 -04:00
John Mitchell
986641de9f
Fix ORganizationTeams test 2019-04-22 16:33:12 -04:00
John Mitchell
6f789b661f
Fix NotificationList tests 2019-04-22 15:43:47 -04:00
John Mitchell
667cbb0c20
update the rest of the organizations tests 2019-04-22 15:11:28 -04:00
John Mitchell
54499dbf69
update OrganizsationAccess and OrganizationAccessList w mountWithContexts 2019-04-18 17:18:19 -04:00
John Mitchell
a6f79c646d
update organization add test to use mountWithContexts 2019-04-18 13:54:41 -04:00
John Mitchell
5030eb35b6
migrate App.jsx to mountwithContext 2019-04-18 13:10:17 -04:00
Keith Grant
ae72d8dce5
Context test tools (#168)
* add enzyme test helper with lingui provider

* add router context to enzyme test helper

* get 18n, router, & config contexts rendering together in enzyme helper

* add config context to enzyme helpers

* add network and dialog contexts to enzymeHelpers

* convert OrganizationForm tests to use new mountWithContexts helper

* default all context value keys to default unless provided

* document use of mountWithContexts()

* fix typo in CONTRIBUTING.md

* update Organizations to use mountWithContext
2019-04-18 10:03:06 -04:00
mabashian
e11c2df6b6 Remove expand/collapse from org access list 2019-04-12 16:10:30 -04:00
John Mitchell
64aecb85fa
move router setup to RootProvider 2019-04-11 17:07:46 -04:00
John Mitchell
a808462a3d
remove test.only causing org access tests to skip 2019-04-11 12:40:27 -04:00
John Mitchell
b17fb8a596
Add handleHttpError prop to stop error from org detail test 2019-04-11 12:36:19 -04:00
John Mitchell
e36320174c
Add contrib docs based on context changes and move qs to util dir 2019-04-11 11:58:15 -04:00
John Mitchell
abc3733449
fix test after rebase of org teams update 2019-04-11 11:06:39 -04:00
John Mitchell
344713f938
fix unit tests for network handling 2019-04-11 10:42:33 -04:00
Keith Grant
96906c2ece
Merge pull request #157 from keithjgrant/145-org-teams-empty-state
Org teams empty state
2019-04-10 14:01:55 -04:00
Keith Grant
909c5e77c4 rename all test files to *.test.js 2019-04-10 09:55:57 -04:00
Keith Grant
70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00
Marliana Lara
3d6790a419
Merge pull request #155 from marshmalien/ux-instance-groups-lookup-height
UX - Lookup static height
2019-04-08 10:40:20 -04:00
Marliana Lara
212d3d517d
Replace lookup with patternfly's input group component and 'fix' the height 2019-04-05 15:39:14 -04:00
Alex Corey
09fd8e8106
Merge pull request #141 from AlexSCorey/48-deleteOrgs
Add alert for org. delete.
2019-04-05 12:39:38 -04:00
Alex Corey
a42a1bfa17 Addresses PR feedback 2019-04-05 11:29:48 -04:00
Alex Corey
de55ec1688 Add alert for org. delete. 2019-04-05 10:48:51 -04:00
Keith Grant
8700f32ffc fix tests eslintrc 2019-04-03 13:29:25 -04:00
Keith Grant
9781c22c3f update tests to match new ids 2019-04-03 13:16:29 -04:00
Keith Grant
99b2350778
Merge pull request #144 from keithjgrant/120-add-org-form-cleanup
Refactor org add/edit forms with Formik
2019-04-03 09:15:03 -04:00
Keith Grant
3f2cc53992 fix tests eslintrc 2019-03-29 14:28:41 -04:00
Keith Grant
40b88da9dd add FormRow component; rename unwrapped components with underscore 2019-03-29 13:50:17 -04:00
Keith Grant
6353d5e410 update tests for org add/edit refactor 2019-03-28 13:02:04 -04:00
John Mitchell
cc0fd6beb6
fix openDeleteModal with button test 2019-03-28 10:42:17 -04:00
Alex Corey
f3a07753e6 Add alert for org. delete. 2019-03-28 10:29:55 -04:00
John Mitchell
4e80f05cdf
Merge pull request #136 from jlmitch5/addOrgTeamsList
add org teams list
2019-03-27 11:30:59 -04:00
Alex Corey
a430b5bf9a fixes function naming to match our naming convention in the org. notifications. 2019-03-26 18:08:09 -04:00
John Mitchell
5419434daa
rename org teams functions based on guide 2019-03-26 17:04:34 -04:00
Keith Grant
02cd188c2f rename onX methods to handleX 2019-03-25 15:40:20 -04:00
Keith Grant
f3a6da20f6 create InstanceGroupsLookup for org add/edit forms 2019-03-25 11:59:14 -04:00
Keith Grant
f0c94c7e9c stub api in org add/edit tests 2019-03-25 11:56:29 -04:00
John Mitchell
7e414ace5a
add org teams list 2019-03-21 13:12:12 -04:00
mabashian
d30aed9231 Upgrades pf deps to latest 2019-03-19 16:41:26 -04:00
mabashian
fc80470e5d Normalize event callback function names in search and sort components 2019-03-19 14:01:39 -04:00
mabashian
3596d776fc Refactor of DataListToolbar. Creates a number of smaller components used by the toolbar. Adds support for passing in an add button node to the toolbar. 2019-03-19 14:01:39 -04:00
kialam
dbeef0a823
Merge pull request #123 from ansible/access-list-remove-role-functionality
Org Access List: add remove role functionality
2019-03-18 10:25:56 -04:00
Kia Lam
a5683fb354
Clear mocked methods after each test to prevent overlaps with other tests. 2019-03-14 10:41:28 -04:00
Kia Lam
6bd5ee4201
Move test for AccessList. 2019-03-13 17:12:16 -04:00
Alex Corey
0f6a40014e
Merge pull request #129 from AlexSCorey/paginationTest
add pagination test
2019-03-13 16:21:01 -04:00
Alex Corey
91e4679311 adds test to ensure page size option dropdown is removed is no page size option is passed in. 2019-03-13 16:19:59 -04:00
Kia Lam
0495214f47
Address PR feedback. 2019-03-13 15:59:42 -04:00
Kia Lam
21156d1409
Merge remote-tracking branch 'origin' into access-list-remove-role-functionality 2019-03-13 15:43:30 -04:00
Kia Lam
198dfe7f2e
Add unit test to check state when user tries to delete a role. 2019-03-13 14:44:12 -04:00
Keith Grant
188eaede43 switch to PatternFly Tooltip everywhere 2019-03-12 15:24:36 -04:00