Commit graph

148 commits

Author SHA1 Message Date
Christopher Willis-Ford
32b839a0d6 test(unit): add fixes for newer jest 2024-02-26 16:13:36 -08:00
Christopher Willis-Ford
a96fe522f4 style: fix automatically-fixable lint issues 2024-02-26 10:10:19 -08:00
Christopher Willis-Ford
9a97535168 style(test): enable ES6 and Jest eslint rules for tests 2023-10-24 14:03:18 -07:00
Christopher Willis-Ford
0ebd9a9245 Merge branch 'develop' into scratch-link-2.0-mac-release 2023-07-27 07:29:37 -07:00
Christopher Willis-Ford
233049d0a3 test: fix join flow analytics test for GTM/GA4 2023-06-30 08:53:01 -07:00
Andy O'Neill
51c493a450
Merge pull request #7348 from aoneill01/feature/react-intl-5
feat: upgrade react-intl
2023-02-21 15:46:34 -05:00
Andy O'Neill
d5bbb96a52 feat: upgrade react-intl 2023-02-21 15:36:27 -05:00
Christopher Willis-Ford
3cb6bd91a2 fix: remove Sentry and rewrite ErrorBoundary tests 2023-01-27 06:57:29 -08:00
Christopher Willis-Ford
a2d07da8c2 feat: prepare for Scratch Link 2.0 macOS release 2023-01-19 15:00:13 -08:00
Andy O'Neill
3c45808380 Add unit tests and correct linting problems 2022-11-15 15:36:17 -05:00
picklesrus
0d106c2143 Actually set the date in one of the tests. It worked before because it the real date was before may 22. 2022-05-23 12:38:18 -04:00
picklesrus
0566724640 Make it start now and stop after may 21 2022-04-28 17:25:53 -04:00
picklesrus
29bbd5c720 Update donate banner for Scratch celebration. 2022-04-28 17:10:54 -04:00
tomlum
a2d04c7046 lint fixes 2022-02-23 17:00:45 -05:00
tomlum
6bf5c4dd89 adds tests 2022-02-22 16:03:06 -05:00
seotts
911be6a161 Use new css class in test 2021-12-17 15:32:35 -05:00
tomlum
781deeb067 fixes modal test 2021-12-17 13:13:36 -05:00
seotts
cb3864c67a Update ids in modal tests 2021-12-17 13:13:36 -05:00
seotts
5bf60d6803 Fix banner test access to link inside FormattedMessage 2021-12-17 13:13:36 -05:00
tomlum
b36db10da7 adds banner mock test 2021-12-17 13:13:36 -05:00
tomlum
95f493dae8 adds modal link click test 2021-12-17 13:13:36 -05:00
tomlum
e57a60eb08 email-modal-tests 2021-12-17 13:13:36 -05:00
tomlum
5b58c3822c in progress, tests, banner, modal 2021-12-17 13:09:46 -05:00
Paul Kaplan
810465bfcf
Merge branch 'develop' into no-report-own-comments 2021-06-23 09:49:38 -04:00
Paul Kaplan
cfd52d9369 Pass a customized comment component for studios 2021-06-21 16:06:40 -04:00
Paul Kaplan
d35cee93f1 Fix unneeded variables 2021-06-21 12:34:49 -04:00
Paul Kaplan
1cace60ebd Fix admin panel space remaining after logging out 2021-06-21 12:25:19 -04:00
picklesrus
740e8c19b6 Add tests for single comment mode. 2021-06-17 16:27:50 -04:00
picklesrus
36516447cc Fix up tests from refactor and fix bug from refactor. 2021-06-15 17:22:32 -04:00
picklesrus
17307cacd3 Add tests 2021-06-10 16:51:41 -04:00
Paul Kaplan
2c53c70307
Merge pull request #5436 from paulkaplan/fix-admin-studio-comments
Wait for session to be fetched before loading comments
2021-05-24 15:32:24 -04:00
Paul Kaplan
b38a97adf3 Studio admin panel 2021-05-18 11:41:32 -04:00
Paul Kaplan
53414e11a9 Update tests 2021-05-17 15:31:08 -04:00
Paul Kaplan
ef9318463e Reset comments when admin logs in 2021-04-29 09:00:50 -04:00
seotts
f6f1095d93 add justMuted variable, fix linting 2021-03-23 16:33:24 -04:00
seotts
60bf05fbbf Reuse l10n strings instead of duplicating them 2021-03-23 15:45:16 -04:00
seotts
ccab9566b8 Show different modal message when muted in the past 2021-03-23 11:00:01 -04:00
seotts
d8a802fca2 Test that status gets correctly set in constructor 2021-03-19 15:42:54 -04:00
seotts
1744108570 Add test of shoudShowMuteModal when isReply 2021-03-19 15:29:29 -04:00
seotts
94eb3dc6de Continued work 2021-03-18 16:15:11 -04:00
seotts
23da1e2781 Continued work 2021-03-17 16:07:30 -04:00
seotts
50f49c28a2 remove commented-out test 2021-03-11 16:31:59 -05:00
seotts
936172d70b only show feedback link for new mute
Add variable for isBad string
2021-03-11 13:06:51 -05:00
seotts
0a8d8ad6c5 Fix and add tests for feedback link 2021-02-11 15:44:25 -05:00
picklesrus
de5a8026c1 Show the blue box on replies that got the user muted. 2021-02-05 08:16:00 -05:00
picklesrus
9a3fe8f222 Show the correct step of the modal based on whether the reply was just a click to try to reply while already muted or whether they replied and got muted. 2021-02-05 08:01:33 -05:00
picklesrus
92667c097d Add tests and expose steps enum so it can be referenced from outside MuteModal 2021-02-04 11:13:30 -05:00
Sarah Otts
f60a8c71a0
Merge pull request #4901 from seotts/automod-feedback-modal
Automod feedback modal steps
2021-02-02 08:58:47 -05:00
seotts
ba99d49298 Fix FeedbackForm tests + other small fixes
Add strings
2021-02-01 15:50:55 -05:00
picklesrus
259446ed8e Set buttons to be disabled (and not just look disabled) when the user was just muted. They were clickable before. 2021-01-28 15:07:20 -05:00