Christopher Willis-Ford
bc9e771f2c
test: simplify clickXpath() by letting click() scroll
...
Instead of trying to proactively scroll if necessary, just let Selenium
handle scrolling. The only reason to handle scrolling manually was to
tell the difference between an off-screen element and one that isn't
visible due to being beneath another element (like the loading screen).
Catching `ElementClickInterceptedError` is a simpler way to do that.
2023-09-22 13:48:08 -07:00
Christopher Willis-Ford
7aa5a79a0b
test: don't test external conference site
2023-09-22 13:48:08 -07:00
Christopher Willis-Ford
277f05513e
test: pick Chrome debugging port by Jest worker ID
2023-09-22 13:45:41 -07:00
Christopher Willis-Ford
547edeb6dd
test: make timeouts consistent, general cleanup
2023-09-22 13:45:41 -07:00
Christopher Willis-Ford
06a65d60e6
test: fix join flow test flakiness
...
- wait for navigation to complete so we don't accidentally grab an
element on the page we're navigating away from, leading to a stale
reference
- wait for focus to move into a selected input field so we don't
accidentally grab the `validation-message` attached to the old input
box (the "username" box is selected by default on the join flow page)
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
8682c4a9f4
test: wait for page load, fixing footer-links flakiness
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
3b44a2695b
test: add scrolling support to clickXpath to fix comments test
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
66eb147911
test: fix studios-page.test.js
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
0fda349a2c
test: unbreak 'load project from file' and make it more robust
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
b799a9fcfe
test: sign in again for each test if necessary
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
1275c58921
test: make clickXpath wait until it can 'see' the element
2023-09-22 10:16:15 -07:00
Christopher Willis-Ford
cdde117692
test: fix (and speed up?) project-page.test.js
2023-09-22 10:16:13 -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
f2f9e74a39
feat: update cookies page with scratchtheme info
2023-06-05 11:43:31 -04:00
Andy O'Neill
29a828487a
fix: correct integration tests and update scratch-gui
2023-05-24 13:16:01 -04:00
Andy O'Neill
374f75bdee
test: change page load strategy to improve integration tests
2023-04-11 09:05:06 -04:00
Andy O'Neill
5e35844e28
fix: use span for localized messages
2023-02-22 09:28:58 -05: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
Andy O'Neill
d342a28c94
Add unit tests for project-info.js
2022-11-03 14:11:35 -04:00
Colby Gutierrez-Kraybill
877bf07040
testing roundup
2022-09-27 21:25:54 -04:00
Colby Gutierrez-Kraybill
191cfb1d57
Add check on password complexity by using a backend call without divulging the list being checked against.
2022-09-22 00:23:59 -04:00
Alexis Goodfellow
a6122f2c48
Change username test to something actually rejected
2022-09-11 11:28:46 -05:00
Ben Wheeler
d9d4b03261
fixed test for conference link; changed footer link to not involve redirect
2022-06-29 12:17:08 -04:00
seotts
1ea22fa05b
Remove stray “only”
2022-06-01 16:15:44 -04:00
seotts
0f7840cdae
Download test sb3 to Saucelabs when remote
...
delete sb3
2022-06-01 15:43:26 -04:00
BryceLTaylor
e17b9d9017
Add test for loading, copying, and remixing projects
2022-05-26 12:21:45 -04: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
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