Commit Graph

167 Commits

Author SHA1 Message Date
Brian Hicks
dface805bc add a separate checked attribute for writing tests against
The basic problem here: `node.checked = true` in a real browser does not
modify the DOM; it only modifies the internal state of the element. It shows
up in our tests because `Test.Html.Query` makes all the elements and properties
visible for testing.

To get around this, we just add a `data-nri-checked` for automated tests
to use.
2020-08-17 12:23:39 -05:00
Brian Hicks
3bbcc27d20 test checked attribute (since QA will be depending on it in their tests) 2020-08-17 12:23:39 -05:00
Brian Hicks
94f5d0e5cc move TextInput teests to a non-versioned file 2020-08-13 16:40:03 -05:00
Brian Hicks
8b91af1ccb move SlideModal tests to a non-versioned file 2020-08-13 16:39:20 -05:00
Brian Hicks
b6dc6a21c8 move PremiumCheckbox tests to a non-versioned file 2020-08-13 16:38:48 -05:00
Brian Hicks
b014df5af7 move Tooltip tests to a non-versioned file 2020-08-13 16:35:23 -05:00
Brian Hicks
9a51b4b5c2 move SortableTable tests to a non-versioned file 2020-08-13 16:34:03 -05:00
Brian Hicks
c7d6bafc96 move Page tests to a non-versioned file 2020-08-13 16:33:15 -05:00
Brian Hicks
72b5aeeb69 delete spec for deprecated component 2020-08-13 16:12:18 -05:00
Ju Liu
be9c2e42c5 Implement Modal.V10
Which allows an easier way to customize the modal styling
2020-08-12 15:18:21 +01:00
Tessa Kelly
a30bb6153d Copy V5 tabs to V6 2020-08-05 14:18:03 -07:00
Tessa Kelly
b6b41109e5 cp SegmentedControl/V10.elm SegmentedControl/V11.elm 2020-08-05 13:15:57 -07:00
Tessa
ef6ee0ab21
Merge branch 'master' into lab/stickyable-segmented-control 2020-08-04 21:44:47 -07:00
Tessa Kelly
9601ab46ac Fix json files -- no idea how I messed this up 2020-08-04 21:42:26 -07:00
Tessa
327b49837d
Merge branch 'master' into tessa/kill-sortable-table-v1 2020-08-04 11:18:44 -07:00
Tessa
74327e5e94
Merge branch 'master' into tessa/remove-modal-v8 2020-08-03 15:20:40 -07:00
Tessa
89b6e03905
Merge branch 'master' into tessa/remove-modal-v8 2020-08-03 15:20:04 -07:00
Tessa Kelly
0672ce7c35 Merge remote-tracking branch 'origin/master' into tessa/kill-button-v5 2020-08-03 14:43:47 -07:00
Juan Edi
cbad2b5c1c
Merge branch 'master' into tessa/kill-modal-v2 2020-08-03 15:18:59 -03:00
Tessa Kelly
2c2fc516b1 💀 remove Button V5 2020-07-31 16:16:39 -07:00
Tessa Kelly
9d80ef6edf 💀 remove Modal.V2 2020-07-31 14:10:30 -07:00
Tessa Kelly
e1e52a27f0 Update deprecated imports 2020-07-31 13:19:19 -07:00
Tessa Kelly
603a1f1e5a Fix test file, which should be against the newest version 2020-07-31 13:18:31 -07:00
Tessa Kelly
413fb78e20 Merge remote-tracking branch 'origin/master' into tessa/kill-segmented-control-v6 2020-07-31 13:06:46 -07:00
Tessa
a63b8f9c76
Merge branch 'master' into tessa/add-radio-button 2020-07-31 13:02:11 -07:00
Tessa Kelly
4c0ab29ad6 💀 remove SegmentedControl V6 2020-07-31 12:54:33 -07:00
Tessa Kelly
cdc6069cef Expose 2020-07-30 11:50:52 -07:00
Tessa Kelly
df1e8a8325 💀 remove segmented control v8 2020-07-29 16:16:39 -07:00
Tessa Kelly
1521aceb79 💀 remove Modal V8 2020-07-28 17:05:44 -07:00
Brian Hicks
5a4f19ac81 add Nri.Ui.Text.V5 2020-07-13 09:41:01 -05:00
Tessa Kelly
a21dd757d1 make run 2020-07-02 16:40:35 -07:00
Tessa Kelly
3bf24352af 💀 remove old components 2020-06-22 17:46:20 -07:00
Brian Hicks
d624c1ba6a add InputStyles.V3 2020-06-22 15:29:31 -05:00
Tessa Kelly
719cebe867 Fix test compilation 2020-06-10 14:56:55 -07:00
Tessa Kelly
77ead591bd Update elm-verify-examples 2020-06-10 12:11:45 -07:00
Tessa Kelly
fb53ce05d5 Copy V4 -> V5 2020-06-09 14:21:42 -07:00
Ju Liu
05748da187 Reorganize and rename assignment icons 2020-06-03 12:01:53 +01:00
Katie Hughes
08bd22fa7b Expose my module 2020-05-22 16:14:24 -07:00
Tessa Kelly
8bc6706acb Merge remote-tracking branch 'origin/master' into tessa/add-nri-menu 2020-05-19 13:38:48 -07:00
Tessa Kelly
e42a38c9b8 Expose confetti 2020-05-15 11:08:06 -07:00
Tessa Kelly
e22f067d9f Adds Nri.Ui.Menu to exposed api 2020-05-07 12:46:55 -07:00
Tessa Kelly
7e16ed19be 💀 remove Alert and BannerAlert 2020-05-01 10:42:41 -07:00
Tessa Kelly
f7cf19a07e Merge remote-tracking branch 'origin/master' into tessa/remove-old-components 2020-05-01 10:35:55 -07:00
Aaron VonderHaar
8b56dc9849 Merge remote-tracking branch 'origin/master' into ink/message 2020-04-28 16:43:23 -07:00
Aaron VonderHaar
098bdcce0c Make Nri.Ui.Tabs.V4 work with ProgramTest.clickButton
And also applies the guidelines from https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role#Best_practices
2020-04-28 16:29:00 -07:00
Aaron VonderHaar
3efc6fcf8f Message.V1 replaces BannerAlert.V6.alert 2020-04-27 16:30:09 -07:00
Tessa Kelly
d56f45248d 💀 remove select v6 2020-04-24 16:55:12 -07:00
Tessa Kelly
7068f4463c 💀 old segmented control 2020-04-24 16:55:11 -07:00
Tessa Kelly
017cc10300 💀 old slidemodal 2020-04-24 16:55:11 -07:00
Tessa Kelly
f656b6677e 💀 remove old tests 2020-04-24 16:54:52 -07:00
Aaron VonderHaar
af94ad7d0c Remove unnecessary setup from Spec.Nri.Ui.TextInput.V6 2020-04-13 17:01:33 -07:00
Aaron VonderHaar
a2d305b6e4 New attributes-style API for TextInput.V6 2020-04-13 17:01:33 -07:00
Aaron VonderHaar
36ce3cb9b2 Inline Spec.Nri.Ui.TextInput.V6.basic 2020-04-13 16:08:54 -07:00
Aaron VonderHaar
fab0271d03 Create Nri.Ui.TextInput.V6 from V5 2020-04-13 14:36:39 -07:00
Tessa Kelly
16366e4719 💀 remove Page.V2 2020-04-13 11:26:13 -07:00
Brian Hicks
7a0821ceac update elm-verify-examples config 2020-04-10 15:28:12 -05:00
Tessa Kelly
9a2d89bf9b Re-remove some of the modules 2020-04-06 15:46:31 -07:00
Tessa Kelly
c45f90221f Merge remote-tracking branch 'origin/master' into restore-used-modules 2020-04-06 15:44:35 -07:00
Tessa Kelly
196c229cf0 Fix make 2020-04-03 09:45:55 -07:00
Brian Hicks
18af70fe96 restore modules that were actually used 2020-04-01 06:30:50 -05:00
Brian Hicks
4094b97830 automatically look for verifiable examples in all exposed modules 2020-03-31 14:58:20 -05:00
Tessa Kelly
7bff7cf3d9 Use pennant v2 in checkbox module 2020-03-31 10:54:40 -07:00
Gavin Panella
28d36c6f64 Revert "Merge pull request #461 from NoRedInk/puffins/prepare-for-merge"
This reverts commit 4373c78d82, reversing
changes made to 6b78075f02.
2020-03-06 20:00:34 +01:00
Stoeffel
873f0ef521 move files into subdirectory 2020-03-02 10:45:03 +01:00
Tessa Kelly
3ce36fe1d5 Fix test compilation 2020-01-16 13:20:14 -08:00
Tessa Kelly
c8c2d9d875 Adds Select V7 (direct copy of V6) 2020-01-16 11:41:51 -08:00
brookeangel
4ae52055e3 fix test for toggletip 2019-12-02 16:13:26 -08:00
brookeangel
7e55bfbd2a also test toggletip and add some accessibility goodies 2019-09-30 15:29:43 -07:00
brookeangel
77b485a485 both types of tooltips can trigger on focus / blur - test it 2019-09-30 14:30:21 -07:00
Katie Hughes
ffafed6ddd add test confirming click clicks 2019-09-17 15:20:47 -07:00
Katie Hughes
daa6d2046d fix test 2019-09-16 16:26:30 -07:00
Katie Hughes
0737af2649 try another attribute so aria isn't mad 2019-09-16 14:51:24 -07:00
Katie Hughes
aecac29240 Create a toggle only view for SegmentedControl so you don't need to use it for page navigation 2019-09-11 10:34:03 -07:00
Michael Glass
1fae6a445b upgrade list zipper dependency 2019-09-04 11:03:03 +02:00
Gavin Panella
4b3e2b62da Verify Modal.V6 example code. 2019-07-30 23:03:59 +02:00
brookeangel
49b7a799a1 add tests for checkbox v6 2019-07-24 10:18:15 -07:00
Tessa Kelly
cee2ad4ea6 Adds test module from the monolith 2019-07-11 13:53:40 -07:00
Katie Hughes
0575f48c74 add select v6 tests 2019-05-17 15:38:47 -07:00
Katie Hughes
594f6355e2 remove type variable, change reload text 2019-05-14 16:04:51 -07:00
Katie Hughes
f0f2dd97e3 add tests for error page recovery text 2019-05-13 16:58:34 -07:00
Juan Edi
2a6db60f08 Fix spec 2019-04-12 17:08:43 -03:00
Tessa Kelly
d191da43ed Reset V1 to the old API
Make a V2 with the new content
test against V2
use V2 in the styleguide
2019-04-08 18:08:23 -07:00
Tessa Kelly
de598edb97 Adds test against forward button navigability 2019-04-05 13:58:16 -07:00
Tessa Kelly
3c491a77ea Adds failing test against navigation behavior 2019-04-05 12:45:58 -07:00
Tessa Kelly
71a8772f67 Adds test against clicking straight through the modals 2019-04-05 12:36:48 -07:00
Tessa Kelly
3d988ba028 Set up test context 2019-04-05 12:35:40 -07:00
Tessa Kelly
7b8ee07c7b adds basic test against open and closed states 2019-04-05 12:09:09 -07:00
Aaron VonderHaar
8a8626d240 Add Nri.Ui.TextInput.V4.generateId 2019-01-21 16:32:42 -08:00
mavnn
ae7aa6047c
Add Checkbox.V4/PremiumCheckbox.V3 with correct text styling
Previous versions relied on the nri2015 sass stylesheet for label style.
2018-12-14 12:18:49 +00:00
Brooke Angel
171702ea6c fix test ci script 2018-12-11 21:57:06 +01:00
Richard Feldman
e2907d9ba2 Prep for 0.19 dual-publish (#163)
* Use elm-css 16.0.0

* 💀 Ui.Checkbox V1 and V2

* s/Css.Foreign/Css.Global/g

* 💀 Nri.Ui.Styles.V1

* 💀 BannerAlert.V1

* 💀 Modal.V1

* 💀 Dropdown.V1

* 💀 Select.V1 and V2

* 💀 Alert.V1

* 💀 Button.V1 and V2

* 💀 Divider.V1

* 💀 Icon.V1 and V2

* 💀 Outline.V1

* 💀 SegmentedControl.V1-V5

* 💀 TextArea.V1 and V2

* 💀 TextInput.V1

* delete the rest of the modules

* actually more deletions

* InputStyles v1 is unused

* move to src-0.18

* do the 0.19 upgrade

* select options are addressable by index

* elm-css 16

* update scripts

* elm-format

* Update V2.elm

* put the nbsp back

* elm-format validation for both versions
2018-11-12 15:38:19 -08:00
Luke Westby
10e29b412b
Puffins final upgrades (#166)
* add toString to select config

* let table use v2 keyframes

* add to elm-package

* use button for tabs

* delete noop hrefs

* add to select tests

* use html v3
2018-11-12 12:25:37 -08:00
Richard Feldman
94d5096763 💀 elm-css-util 2018-10-31 17:54:15 -04:00
dependabot[bot]
d85e1afb35
Update rtfeldman/elm-css requirement from 13.1.1 <= v < 14.0.0 to 13.1.1 <= v < 15.0.0 in /tests
Updates the requirements on [rtfeldman/elm-css](https://github.com/rtfeldman/elm-css) to permit the latest version.
- [Release notes](https://github.com/rtfeldman/elm-css/releases)
- [Changelog](https://github.com/rtfeldman/elm-css/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rtfeldman/elm-css/commits/alpha-14.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-09 12:15:07 +00:00
James Gary
6897215469 🤦 Remove stuff from debugging 2018-09-07 15:22:35 -07:00
James Gary
c00828a3c1 Revert changes made to checkbox V1 2018-09-07 15:21:56 -07:00
James Gary
bae4268dcc Copy PremiumWithWriting v1 to v2, expose in elm-package.json 2018-09-07 15:20:25 -07:00
James Gary
509141f3cb Match the asset name that's already in the monolith 2018-09-05 15:38:44 -07:00
James Gary
833556e688 Add premium writing flag asset, make test more specific 2018-09-05 14:34:55 -07:00
James Gary
ee9271bdff Update PremiumCheckbox to explicitly manage pennant
- Simplify example
2018-09-05 13:40:18 -07:00