Commit graph

587 commits

Author SHA1 Message Date
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
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