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
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
renovate[bot]
6fa076dd6b
Merge pull request #7939 from scratchfoundation/renovate/scratch-l10n-3.x
...
fix(deps): update dependency scratch-l10n to v3.16.20231024152916
2023-10-24 18:18:00 +00:00
renovate[bot]
1a0ab211d1
fix(deps): update dependency scratch-l10n to v3.16.20231024152916
2023-10-24 17:18:52 +00:00
renovate[bot]
2356a93122
Merge pull request #7937 from scratchfoundation/renovate/scratch-l10n-3.x
...
fix(deps): update dependency scratch-l10n to v3.16.20231024032150
2023-10-24 06:16:22 +00:00
renovate[bot]
3da6d65512
fix(deps): update dependency scratch-l10n to v3.16.20231024032150
2023-10-24 03:32:36 +00:00
renovate[bot]
48103c429e
Merge pull request #7936 from scratchfoundation/renovate/scratch-gui-3.x
...
fix(deps): update dependency scratch-gui to v3.2.31
2023-10-23 21:08:14 +00:00
renovate[bot]
96853d94fc
fix(deps): update dependency scratch-gui to v3.2.31
2023-10-23 18:15:56 +00:00
renovate[bot]
6f8b3b6148
Merge pull request #7935 from scratchfoundation/renovate/scratch-gui-3.x
...
fix(deps): update dependency scratch-gui to v3.2.30
2023-10-23 16:29:58 +00:00
renovate[bot]
0750f6aa04
fix(deps): update dependency scratch-gui to v3.2.30
2023-10-23 14:59:34 +00:00