Commit graph

242 commits

Author SHA1 Message Date
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
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
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
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
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
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
seotts
5756d4937d Fix conference integration test 2022-03-16 11:51:23 -04:00
BryceLTaylor
36ad8b65dc add an await to the join tests to fix flakyness 2021-12-07 13:06:56 -05:00
BryceLTaylor
d8eb1e388c Increase timouts for integration tests 2021-12-03 09:14:25 -05:00
BryceLTaylor
ce0f7b0665 remove importing of loadPageUntilVisible from comments integration tests 2021-12-02 16:29:50 -05:00
BryceLTaylor
769cf953dc remove reference to 'loadPageUntilVisible' from selenium-helpers 2021-12-02 16:27:54 -05:00
BryceLTaylor
02af240a7e remove reloads from comment integration tests 2021-12-02 16:26:23 -05:00
BryceLTaylor
47841d7891 Clean up loadPageUntilVisible function in Selenium Helpers 2021-11-30 09:35:49 -05:00
BryceLTaylor
2f15e8720a Create Selenium Helper function loadPageUntilVisible and use in comments test. 2021-11-29 16:35:18 -05:00