27 Commits

Author SHA1 Message Date
Keith Grant
ffade973a9
upgrade to patternfly 2.x, pf/react-core 3.x (#184) 2019-04-30 08:19:19 -04:00
Jake McDermott
ee5b4b072b
fix unit and functional tests 2019-04-29 11:35:06 -04:00
Keith Grant
9d66b583b7
158 paginated data list (#180)
* working: rename OrganizationTeamsList to PaginatedDataList

* convert org notifications list fully to PaginatedDataList

* update NotificationList tests

* refactor org access to use PaginatedDataList

* update tests for org access refactor; fix pagination & sorting

* restore Add Role functionality to Org roles

* fix displayed text when list of items is empty

* preserve query params when navigating through pagination

* fix bugs after RBAC rebase

* fix lint errors, fix add org access button
2019-04-29 10:08:50 -04:00
mabashian
8cfe74a854 Code cleanup, renaming functions, use .all() on config promises 2019-04-26 11:02:16 -04:00
mabashian
e5dda696d7 Add new tests for rbac on some of the org pages 2019-04-24 10:10:14 -04:00
mabashian
82db7df6b3 Remove errant comment 2019-04-23 15:19:46 -04:00
mabashian
f57876b6d9 Fix existing test failures 2019-04-23 14:55:06 -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
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
a808462a3d
remove test.only causing org access tests to skip 2019-04-11 12:40:27 -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
70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -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
6353d5e410 update tests for org add/edit refactor 2019-03-28 13:02:04 -04:00
John Mitchell
5419434daa
rename org teams functions based on guide 2019-03-26 17:04:34 -04:00
John Mitchell
7e414ace5a
add org teams list 2019-03-21 13:12:12 -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
Marliana Lara
b820e411d3
Refactor breadcrumbs, tabs, routing.
* Cleanup previous params logic from Notificaitons list
* Add shared breadcrumbs and tabs components
* Structure Organization screens to render only cardBody content
* Add styles
* Fetch organization when location changes
2019-01-25 16:42:04 -05:00
Marliana Lara
d040f063e9
Move Organization screens and tests into new folder structure 2019-01-07 15:33:27 -05:00
mabashian
356ad06d74 Add support for i18n using lingui 2018-12-10 10:17:00 -05:00
John Mitchell
3a8d95b03b
working test commit 2018-12-04 14:46:18 -05:00
John Mitchell
aab6aa4ef9
working commit tests 2018-12-03 13:30:31 -05:00