Commit graph

586 commits

Author SHA1 Message Date
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
BryceLTaylor
40ecc31704 Add integration tests loading scratch2 projects
Also update the readme with the info for
2022-05-06 12:07:02 -04:00
BryceLTaylor
9cc805f42c Add tests that attempt to load shared and unshared projects 2022-05-03 11:12:31 -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
seotts
604238d1a0 Revert "Merge pull request #6731 from LLK/studios-rtl"
This reverts commit 830a2e3ebf, reversing
changes made to 1a2d1db3a1.
2022-04-13 16:17:49 -04:00
Sarah Otts
830a2e3ebf
Merge pull request #6731 from LLK/studios-rtl
Display studio RTL for RTL languages
2022-04-12 15:21:48 -04:00
seotts
c6c9505476 Display studio RTL for RTL languages 2022-04-11 17:01:59 -04:00
BryceLTaylor
8da33efdaa update unit test to catch exception
Necessary for tests to pass on node 16
update package-lock
2022-04-01 11:40:00 -04:00
seotts
5756d4937d Fix conference integration test 2022-03-16 11:51:23 -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
Karishma Chadha
00f243250c Forward fix for regression introduced by changing the number of replies we fetch. This change updates the number of comment replies we fetch on project comments from 20 to 25 to be consistent with studio page. Also updates the code that controls whether to display the 'See more replies' button on comment threads. 2022-01-12 14:45:20 -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
BryceLTaylor
36ad8b65dc add an await to the join tests to fix flakyness 2021-12-07 13:06:56 -05:00
BryceLTaylor
d8eb1e388c Increase timouts for integration tests 2021-12-03 09:14:25 -05:00
BryceLTaylor
ce0f7b0665 remove importing of loadPageUntilVisible from comments integration tests 2021-12-02 16:29:50 -05:00
BryceLTaylor
769cf953dc remove reference to 'loadPageUntilVisible' from selenium-helpers 2021-12-02 16:27:54 -05:00
BryceLTaylor
02af240a7e remove reloads from comment integration tests 2021-12-02 16:26:23 -05:00
BryceLTaylor
47841d7891 Clean up loadPageUntilVisible function in Selenium Helpers 2021-11-30 09:35:49 -05:00
BryceLTaylor
2f15e8720a Create Selenium Helper function loadPageUntilVisible and use in comments test. 2021-11-29 16:35:18 -05:00
BryceLTaylor
391c0070ba add wait to studios int. test to avoid flakyness 2021-11-19 09:52:41 -05:00
BryceLTaylor
a3acec48fd Integration tests fix awaits 2021-11-19 09:45:44 -05:00
BryceLTaylor
d899d72ef4 integration tests use waitUntilVisible in more places 2021-11-19 09:44:43 -05:00
BryceLTaylor
ec60e53be2 Integration tests sign in by sending enter key 2021-11-19 09:43:02 -05:00
BryceLTaylor
6520a5f434 Integration tests use updated Sign In function from Selenium Helpers 2021-11-19 09:38:23 -05:00
Bryce Taylor
5fdff7be57
Merge pull request #6295 from BryceLTaylor/convert-Tap-to-Jest-Statistics
Convert integration tests for statistics page from Tap to Jest
2021-11-15 10:54:24 -05:00
Bryce Taylor
35dd66cdd7
Merge pull request #6292 from BryceLTaylor/convert-Tap-to-Jest-search
Move Search integration tests from Tap to Jest
2021-11-15 10:53:50 -05:00
Bryce Taylor
0fd07274d0
Merge pull request #6287 from BryceLTaylor/convert-Tap-to-Jest-login-failures
Convert login failure integration tests from tap to jest
2021-11-15 10:53:42 -05:00
BryceLTaylor
bd61b24407 fix statistics test to check if disabled is false 2021-11-15 10:35:11 -05:00
BryceLTaylor
995c01bccf Convert integration tests for statistics page from Tap to Jest 2021-11-10 10:54:38 -05:00
BryceLTaylor
621169137d Move Search integration tests from Tap to Jest 2021-11-09 15:33:08 -05:00
BryceLTaylor
e4b4cbf5f6 cleanup whitespace in sign-in-and-out integration tests 2021-11-08 16:58:02 -05:00
BryceLTaylor
56e8670ec7 Use SeleniumHelpers signIn function in sign-out integration tests 2021-11-08 16:47:39 -05:00
BryceLTaylor
c532e4498b Move test-login-failures integration tests to in sign-in-and-out jest tests 2021-11-08 16:38:25 -05:00
BryceLTaylor
6992ca707f Create waitUntilVisible SeleniumHelper function for Jest tests. 2021-11-08 16:37:15 -05:00
BryceLTaylor
bbfbf8d731 Move afterAll from sign-in-and-out tests earlier for understandability 2021-11-08 16:35:47 -05:00
BryceLTaylor
3c31adbf40 Add a partial profile reply integration test 2021-11-08 10:53:44 -05:00
BryceLTaylor
b5dc993689 Make project reply test match studio reply test 2021-10-29 16:18:55 -04:00
BryceLTaylor
bf9b14633f Add studio comment reply integration test 2021-10-29 16:18:18 -04:00
BryceLTaylor
aa594a48fc look for comments actually left in integration tests 2021-10-27 14:47:35 -04:00
BryceLTaylor
aa27e2c809 add project comment reply integration test 2021-10-26 12:02:25 -04:00
BryceLTaylor
45b25c809c update selenium-helper function containsClass 2021-10-22 16:22:11 -04:00
BryceLTaylor
e7b200d472 Add integration tests to check notifications for comments 2021-10-20 10:13:36 -04:00
BryceLTaylor
6de944036c Reconfigure comment integration tests to not sign out as much 2021-10-20 10:13:36 -04:00
BryceLTaylor
e473e9f402 Fix datestring in comment inegration tests to avoid phone number filter 2021-10-20 10:13:36 -04:00
Sarah Otts
c30252a4ed
Merge pull request #5882 from apple502j/move-faq-url
Move FAQ page to /faq
2021-10-12 16:34:41 -04:00
Bryce Taylor
a83c3e5571
Merge pull request #6126 from BryceLTaylor/add-comment-tests
Add comment and notification integration tests
2021-10-04 09:47:34 -04:00
BryceLTaylor
2ada55b590 remove commented out lines in comments test 2021-10-04 09:32:46 -04:00
BryceLTaylor
6571ddb34d Add tests for comment notifications 2021-10-01 14:43:36 -04:00
BryceLTaylor
53b79f64fe Use unique comment for each silo using silo name 2021-10-01 14:42:25 -04:00
seotts
ef3e861fc3 Allow admins to promote curators 2021-09-24 16:12:09 -04:00
Sarah Otts
be0144618d
Merge pull request #6078 from seotts/use-host-in-api-response
Use studio "host" in state, and accept "host" from api
2021-09-21 10:10:59 -04:00
seotts
dc241e1c6f Accept studio "host" from api; use "host" in state 2021-09-17 15:50:16 -04:00
BryceLTaylor
f011258c0a Add integration tests leaving comments on projects, studios, and profiles 2021-09-17 14:41:22 -04:00
Eric Rosenbaum
472a5fa6cd
Merge pull request #6007 from BryceLTaylor/studio-transfer-tests
Add studio transfer test
2021-09-08 09:41:05 -04:00
seotts
9e390d3404 Unit tests for transfer error states 2021-09-07 13:28:20 -04:00
Eric Rosenbaum
1d6c47d2a4
Revert "Revert "Transfer host modal updates"" 2021-09-02 14:43:31 -04:00
Eric Rosenbaum
ad2536e2c6
Revert "Transfer host modal updates" 2021-09-01 10:08:11 -04:00
BryceLTaylor
e077842426 Add studio transfer test 2021-08-30 10:37:19 -04:00
Eric Rosenbaum
ffe1475401 Reload the managers list after transfer 2021-08-26 13:32:34 -04:00
Eric Rosenbaum
5d838ef659 Muted users cannot transfer studio host 2021-08-24 14:36:06 -04:00
Eric Rosenbaum
b00a2d34f7 Merge branch 'develop' of https://github.com/LLK/scratch-www into transfer-modal3 2021-08-20 13:02:08 -04:00
BryceLTaylor
6ec730887c Clean up studio integration tests 2021-08-20 11:26:00 -04:00
BryceLTaylor
f67fcdc495 Check text of curator invite in studio integration test 2021-08-20 11:24:31 -04:00
Eric Rosenbaum
5fd180b558 update test 2021-08-19 21:41:55 -04:00
Eric Rosenbaum
ccb31f2fb5 add unit test for transfer host action 2021-08-19 13:56:37 -04:00
Eric Rosenbaum
dbf9b18d5b add unit test for permissions 2021-08-19 11:59:08 -04:00
BryceLTaylor
63e43abbc8 Look for studio tabs in studio management integration tests 2021-08-18 14:03:48 -04:00
BryceLTaylor
b834569aef Add expect lines to studio management integration tests 2021-08-18 13:46:50 -04:00
BryceLTaylor
a4f71b44fb split promote to studio manager integration tests into subtests 2021-08-18 13:46:50 -04:00
BryceLTaylor
1ec30589f7 move studio creation for management integration tests to beforeAll 2021-08-18 13:46:50 -04:00
BryceLTaylor
2e5055e05a Create sign in function in selenium helpers for integration tests 2021-08-18 13:46:50 -04:00
BryceLTaylor
a060311711 Add comments to jest integration tests about users used in tests 2021-08-18 13:46:50 -04:00
BryceLTaylor
b3226b13f6 Add promote to studio manager integration test 2021-08-18 13:46:50 -04:00
apple502j
9a390eafeb
Move FAQ page to /faq 2021-08-06 02:55:11 +09:00
BryceLTaylor
00154fdde9 Add studio rate limit integration test 2021-07-19 12:01:23 -04:00
Paul Kaplan
d5d3107dc4
Merge pull request #5722 from paulkaplan/fix-failing-permissions-test
test(studios): fix failing permissions tests for studios
2021-07-14 09:04:53 -04:00
Paul Kaplan
51268695f2 test(studios): fix failing permissions tests for studios
there was a test that mutated global fixture data, causing future tests to fail
2021-07-13 14:01:30 -04:00
BryceLTaylor
9f7fa72e9e check rate limit for studio creation integration test 2021-07-09 09:40:25 -04:00
Paul Kaplan
dcf2682f09
Merge pull request #5662 from paulkaplan/test-studio-member-actions
Create detailed unit tests for studio-member-actions
2021-07-07 15:28:55 -04:00
Paul Kaplan
e719d25e3d fix(studio): do not show mute error as if manager can edit info 2021-07-06 10:42:02 -04:00
Karishma Chadha
6dbf8d1bd5
Merge pull request #5692 from kchadha/manager-permissions
Update manager permissions for studios.
2021-07-06 09:22:59 -04:00
Paul Kaplan
0ca3431ec3 test: fix the new test for studio removeManager edge case 2021-06-30 11:26:54 -04:00
Paul Kaplan
e66a31abd8 test(studios): add missing test situations for studio-member-actions 2021-06-30 11:15:11 -04:00
Bryce Taylor
be38360443
Merge pull request #5671 from BryceLTaylor/studio-page-integration-tests
Studio page integration tests
2021-06-28 13:28:43 -04:00
BryceLTaylor
20b74ada3c update integration test for studio page to pass linting 2021-06-28 10:50:07 -04:00
Paul Kaplan
caeb6e476c Fixup incorrectly added code to test files 2021-06-28 09:54:53 -04:00
BryceLTaylor
e485cf29de add studios page integration tests 2021-06-25 17:33:46 -04:00
BryceLTaylor
bf91904a33 update homepage-rows and my-stuff integrationt ests for new studio page 2021-06-25 17:32:57 -04:00
Karishma Chadha
d0ad0a45d4 Update manager permissions for studios. 2021-06-25 12:41:36 -04:00
Paul Kaplan
1027b82f66 Include unit tests for more of the action creators 2021-06-25 10:43:33 -04:00
Paul Kaplan
a9d0ca47d7 Remove unused args 2021-06-24 08:47:52 -04:00