Commit Graph

65 Commits (438fe4e50f276c0cd7efaef91abbc82ac2f1abdd)

Author SHA1 Message Date
John McLear 438fe4e50f 10 clients for the lulz 2021-03-14 16:47:03 +00:00
John McLear 56c7e7a8d7 Update collaboration.yml 2021-03-14 14:54:56 +00:00
John McLear e3a90bbe38 Update collaboration.yml 2021-03-14 14:02:34 +00:00
John McLear b4f1c9da2e comma 2021-03-14 13:51:33 +00:00
John McLear ce21ac9ba4 aw 2021-03-14 13:42:02 +00:00
John McLear 954810b9f2 Update collaboration.yml 2021-03-14 13:29:22 +00:00
John McLear 972abfc3e9 Update collaboration.yml 2021-03-14 13:17:02 +00:00
John McLear 092d096d19 make one video 2021-03-14 13:11:59 +00:00
John McLear 83f08a6bc3 diff 2021-03-14 12:16:14 +00:00
John McLear b1fe9c1ef3 Update collaboration.yml 2021-03-14 12:09:47 +00:00
John McLear b13c6b74c7 Update collaboration.yml 2021-03-14 12:00:27 +00:00
John McLear 4351f2447e Update collaboration.yml 2021-03-14 10:54:26 +00:00
John McLear 25353fd315 Update collaboration.yml 2021-03-14 10:44:24 +00:00
John McLear 02688e873d Update collaboration.yml 2021-03-14 10:42:56 +00:00
John McLear 550f9cbd32 update 2021-03-14 10:19:00 +00:00
John McLear e73a4e79f6 Update collaboration.yml 2021-03-14 09:51:49 +00:00
John McLear 76469fff8f Update collaboration.yml 2021-03-14 09:47:30 +00:00
John McLear 96032ad361 timeouts 2021-03-14 09:37:05 +00:00
John McLear 622a2be177 why is video so slow? 2021-03-14 09:25:21 +00:00
John McLear 1f141710f5 Update collaboration.yml 2021-03-13 20:53:19 +00:00
John McLear e6600d45e4 cache node_modules maybe? 2021-03-13 20:34:09 +00:00
John McLear c63c621722 Update collaboration.yml 2021-03-13 20:28:18 +00:00
John McLear a549ca07ab parallel? 2021-03-13 19:38:23 +00:00
John McLear bc1baeb2fe Update collaboration.yml 2021-03-13 19:36:49 +00:00
John McLear 1581b713b9 Update collaboration.yml 2021-03-13 19:24:01 +00:00
John McLear 04e275ea15 Update collaboration.yml 2021-03-13 19:12:54 +00:00
John McLear af42e3e620 Update collaboration.yml 2021-03-13 18:57:16 +00:00
John McLear 878af5ee0a Update collaboration.yml 2021-03-13 18:51:06 +00:00
John McLear 51a8f0db22 Update collaboration.yml 2021-03-13 18:27:59 +00:00
John McLear cc4253bf3f Update collaboration.yml 2021-03-13 16:54:30 +00:00
John McLear 89a661b448 tests: test to see if I can have multiple cypress clients collaborating at once 2021-03-13 16:46:14 +00:00
John McLear 536db7553f
tests: CI of updating from master > this commit. (#4912)
* tests: CI of updating from master > this commit.

In response to cypress eslint I thought I'd put some CI testing for if a PR might break automated upgrading.

Matrix usage is probably overkill.

* Update major-version-git-pull-update.yml

* Name...

* include a front end test

* fix pathing

* Clarity on what's happening

* Update .github/workflows/major-version-git-pull-update.yml

Co-authored-by: Richard Hansen <rhansen@rhansen.org>

* Update .github/workflows/major-version-git-pull-update.yml

Co-authored-by: Richard Hansen <rhansen@rhansen.org>

* Update .github/workflows/major-version-git-pull-update.yml

Co-authored-by: Richard Hansen <rhansen@rhansen.org>

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-03-05 06:38:50 +00:00
John McLear a79f9efdb4
Include props to Sauce Labs for the tests they power. (#4897)
* Include props to Sauce Labs for the tests they power.

* include message in CI
2021-03-01 14:46:50 +00:00
John McLear 64e9e7fcda
tests: Frontend test Windows ZIP (#4894)
* tests:  Frontend test Windows ZIP

This PR introduces Frontend testing within Github actions!

We're depending a lot on saucelabs recently and that's fine but sometimes we just want to quickly do a frontend simple test on a weird environment (IE windows build) so this PR solves that problem.

Things to note.

    It still builds the windows .zip if the cypress tests fail.
    It does not add any heavy deps to Etherpad as cypress must be installed in CI.
    Cypress is responsible for running the Etherpad instance.

It's up to us how much we use this or not, I know it introduces a bunch of technical debt but I tried to keep that a minimum by compartmentalizing things and documenting where required.

* Update .github/workflows/windows-zip.yml

Co-authored-by: Richard Hansen <rhansen@rhansen.org>

* remove timeouts

* Move folder structure up a level

* Update windows-zip.yml

* Update test.js

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-03-01 14:31:55 +00:00
John McLear b0f16bb1f1 Use stable sauce version 2021-03-01 13:08:34 +00:00
John McLear 35ae08ca77
tests: run a long(1+ hr) load test 2021-02-28 16:05:16 +00:00
John McLear b0d78d662e
tests: include ep_embedmedia in tests (#4889) 2021-02-28 09:26:43 +00:00
John McLear fc7acad846
artifacts: Windows CI Installer
* Windows CI Installer

This PR introduces CI builds of a windows installer(using NSIS) .

It builds an executable that installs Etherpad and runs it.

There are obvious steps to make once this has been merged. But I'd suggest on each release we include both the .zip and the .exe and allow users to have a portable zip or an installed executable.

https://github.com/ether/etherpad_nsis

This was a relatively rushed project (4 hours) and I didn't want to spend any more time on it so it will need a foster parent to maintain it :)

props to @joncloud for https://github.com/joncloud/makensis-action-test and the nsis team that while have a horrible UX make relatively easy to use and rapid tools.

Note for review: I'm using linux to build the windows executable, this may need to be reviewed and we might want to switch to Windows if we can confirm building on linux causes a problem.

* CI: Use Windows to build the .zip
2021-02-25 10:00:33 +00:00
Richard Hansen 6f17d2f913 CI: Use Windows to build the Windows zip
npm might do something different on Windows when setting up the
executables in `src/node_modules/.bin`.
2021-02-23 22:40:15 -05:00
Richard Hansen e9cb1692eb CI: Disable import/export rate limiting for frontend tests 2021-02-22 18:20:24 -05:00
Richard Hansen 644c8e6195 CI: Disable frontend admin tests for non-admin workflow 2021-02-22 18:20:24 -05:00
Richard Hansen a354b03633 CI: Leave log level at INFO for frontend tests 2021-02-22 18:20:24 -05:00
Richard Hansen 3ca1589885 Revert "tests: fix importexport frontend tests (#4827)"
I'm going to split this into separate commits.

This reverts commit 9b03f8f6ab.
2021-02-22 18:19:48 -05:00
John McLear 9b03f8f6ab
tests: fix importexport frontend tests (#4827)
* CI: Leave log level at INFO for frontend tests

* CI: Disable frontend admin tests for non-admin workflow

* CI: Disable import/export rate limiting for frontend tests

* tests: fix importexport tests

The testing approach was redone to fix numerous issues:
  * Even if the tests had been working, none of them would have caught
    https://github.com/ether/etherpad-lite/issues/4808 because they
    didn't exercise the client-side import logic. Now they do.
  * Follow-up logic was not in the `helper.waitFor()` callback like it
    should have been. Now the code uses `async` and `await` to ensure
    proper execution order.
  * All `$.ajax()` calls used `async: false`. Now they're properly
    asynchronous.
  * The `helper.waitFor()` condition callbacks threw instead of
    returning false.
  * The string comparisons didn't allow for different attribute
    order (e.g., `<ol start="1" class="list-number1">` vs. `<ol
    class="list-number1" start="1">`). Now `Node.isEqualNode()` is
    used to reduce fragility. (`Node.isEqualNode()` is not perfect, so
    the tests are still a bit fragile: If class names or style strings
    are in a different order then `Node.isEqualNode()` will return
    false even if the nodes are semantically equivalent.)

Co-authored-by: Richard Hansen <rhansen@rhansen.org>

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-02-22 10:40:38 +00:00
Richard Hansen 85231cb774 tests: More descriptive Sauce Labs name 2021-02-22 03:36:12 -05:00
webzwo0i 2994ef3c3c tests: try all supported node versions 2021-02-22 03:36:12 -05:00
webzwo0i 29afb91b3e tests: delay setting up saucelabs tunnel 2021-02-22 03:36:12 -05:00
Richard Hansen 6198e92706 tests: Pass `--legacy-peer-deps` flag to work around npm v7 bug
This flag is unknown to npm v6, but npm v6 silently ignores unknown
flags.
2021-02-22 03:36:12 -05:00
Richard Hansen 588b73f366 tests: Install deps after installing plugins 2021-02-22 03:36:12 -05:00
Richard Hansen 5ea66701f7 tests: Use `--no-save` when installing plugins on Windows 2021-02-22 03:36:12 -05:00