Commit graph

592 commits

Author SHA1 Message Date
Christopher Willis-Ford
a3af523ca9 fix: use Title Caps for DSA Requirements link label 2024-10-17 07:00:31 -07:00
Christopher Willis-Ford
a398b1b314 fix: update predicted DSA link to match actual location 2024-10-16 10:45:53 -07:00
Kaloyan Manolov
efcf0dfc65 feat: uepr-72: Add dsa requirements link to footer 2024-10-15 13:16:22 +03:00
Christopher Willis-Ford
9e5ead4cc5 test: fix tests to not use chromedriver npm wrapper 2024-02-26 16:21:02 -08:00
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
29b4362ea8 test: remove redundant and unreliable visibility checks 2023-10-30 10:19:05 -07:00
Christopher Willis-Ford
61d4ad8e70 test: try to make signing in more reliable 2023-10-30 10:19:05 -07:00
Christopher Willis-Ford
74f2d50e2d test: implement GHA-friendly Sauce labels 2023-10-30 10:19:05 -07:00
Christopher Willis-Ford
6182ba2704 test: use ISO date to make comments unique, not build number 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
c9f67c06cf test: use navigate() instead of driver.get() 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
a0d8129356 test: make my-stuff test wait for page loads 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
c5bbbae710 test: use navigate() in studios-page test, plus minor cleanup 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
103827ce19 test: fix homepage-rows.test.js flakiness 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
621861ee40 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-10-27 08:31:50 -07:00
Christopher Willis-Ford
a68e3aef34 test: don't test external conference site 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
88a7eb9c88 test: make timeouts consistent, general cleanup 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
bbb8618b87 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-10-27 08:31:50 -07:00
Christopher Willis-Ford
7c49d1617c test: wait for page load, fixing footer-links flakiness 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
876e2deb97 test: add scrolling support to clickXpath to fix comments test 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
310fce63fe test: fix studios-page.test.js 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
ca98ef0ede test: make 'load project from file' test more reliable 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
95241fae6f test: sign in again for each test if necessary 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
aceac8237a test: make clickXpath wait until it can 'see' the element 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
b856a2648c test: reduce page loads in project-page.test.js 2023-10-27 08:31:50 -07:00
Christopher Willis-Ford
75a430bb92 ci: check server health before starting integration tests 2023-10-25 14:33:54 -07:00
Christopher Willis-Ford
8cf09452c6 test: simplify SeleniumHelperError 2023-10-24 14:18:32 -07:00
Christopher Willis-Ford
4fb4eaab76 test: make Selenium wait timeouts consistent 2023-10-24 14:17:49 -07:00
Christopher Willis-Ford
d7fdb4729f test(search): fix clicking on Studios tab 2023-10-24 14:17:49 -07:00
Christopher Willis-Ford
66e090ee8b test: try to fix SB3 download on Sauce Labs 2023-10-24 14:17:49 -07:00
Christopher Willis-Ford
8ce6a75939 test: strip regenerator-runtime from stack traces 2023-10-24 14:17:44 -07:00
Christopher Willis-Ford
f7dd708619 test: only dump browser info once per throw 2023-10-24 14:14:25 -07:00
Christopher Willis-Ford
8e704897fb test: allow for cookie policy date changes 2023-10-24 14:14:25 -07:00
Christopher Willis-Ford
856b25d48b test: add lots of debugging info when SeleniumHelper fails 2023-10-24 14:13:33 -07:00
Christopher Willis-Ford
16447298e9 test: document SeleniumHelper and convert to async/await 2023-10-24 14:03:23 -07: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
2ea61feb05 test: use macOS 10.15 since 10.14 no longer supports current Chrome 2023-10-03 08:25:26 -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