Commit graph

12372 commits

Author SHA1 Message Date
Christopher Willis-Ford
658954e497
Merge pull request #7951 from scratchfoundation/release/2023-11-15
[Develop] release/2023-11-15
2023-11-16 07:26:25 -08:00
renovate[bot]
91da4d1890
Merge pull request #7953 from scratchfoundation/renovate/scratch-l10n-3.x
fix(deps): update dependency scratch-l10n to v3.16.20231115192225
2023-11-16 00:24:24 +00:00
renovate[bot]
a5cabddc9d
fix(deps): update dependency scratch-l10n to v3.16.20231115192225 2023-11-15 22:21:06 +00:00
cwillisf
724cdd24d5 Merge remote-tracking branch 'origin/develop' into release/2023-11-15 2023-11-15 19:28:07 +00:00
Christopher Willis-Ford
2f788186d4
Merge pull request #7943 from scratchfoundation/gha
Gha
2023-10-31 08:57:58 -07:00
Christopher Willis-Ford
b7ac4fdac0 ci: use Ron's method to determine environment 2023-10-31 08:08:50 -07:00
Christopher Willis-Ford
76d8834ccd ci: eliminate redundant PR+Push builds 2023-10-30 10:26:40 -07:00
Christopher Willis-Ford
48bf6f8839 ci: undo temporary changes made for testing CI 2023-10-30 10:19:05 -07:00
Christopher Willis-Ford
4312b17bfb ci: eschew unnecessary verbosity 2023-10-30 10:19:05 -07: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
7cb0baad64 ci: temporarily skip straight to integration tests 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
fe3bfdd5e1 ci: re-enable integration tests 2023-10-25 16:01:47 -07:00
Christopher Willis-Ford
41a80fe29d ci: upgrade s3cmd for compat w/ Python 3.9+ 2023-10-25 15:46:39 -07:00
Christopher Willis-Ford
cf8e816151 ci: temp 2023-10-25 14:34:00 -07:00
Christopher Willis-Ford
7b90c892b5 ci: fix variable context typo for SCRATCH_ENV 2023-10-25 14:34:00 -07:00
Christopher Willis-Ford
70e2ecd702 ci: enable deploy from GHA 2023-10-25 14:34:00 -07:00
Christopher Willis-Ford
e01d3b1a00 ci: skip integration tests for now 2023-10-25 14:34:00 -07:00
Christopher Willis-Ford
b4428c4fd8 ci: specify concurrency group and cancel-in-progress 2023-10-25 14:34:00 -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
d20f498e7f ci: first draft for GHA migration 2023-10-25 14:18:04 -07:00
Christopher Willis-Ford
528ca9e0f6
Merge pull request #7942 from scratchfoundation/improve-tests
Fix tests and improve test debugging
2023-10-25 11:02:14 -07:00
Christopher Willis-Ford
28d7425eb3
Merge pull request #7940 from cwillisf/enable-es6-eslint
Update style and documentation for tests
2023-10-25 09:03:57 -07:00
renovate[bot]
9df0c241c1
Merge pull request #7938 from scratchfoundation/renovate/scratch-gui-3.x
fix(deps): update dependency scratch-gui to v3.2.37
2023-10-25 03:37:12 +00:00
renovate[bot]
373afd5b6f
fix(deps): update dependency scratch-gui to v3.2.37 2023-10-25 01:50:40 +00: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