Commit graph

245 commits

Author SHA1 Message Date
Michael Telatynski
25ac825ae5
Cypress use the simulated merge commit for the source of tests (#10688)
* Cypress use the simulated merge commit for the source of tests

* Add comments

* Update .github/workflows/cypress.yaml

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-04-24 08:24:50 +00:00
Andy Balaam
83359f84d1
Revert "Update browser-actions/setup-chrome digest to 5971308" (#10655)
This reverts commit adaaa94271a47b15a8593862c0e7bee39828a308.
2023-04-18 17:00:30 +01:00
renovate[bot]
707dc36cc2
Update browser-actions/setup-chrome digest to 5971308 (#10638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 12:40:27 +00:00
renovate[bot]
2ed5d212d0
Update tj-actions/changed-files digest to 7ecfc67 (#10641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 12:21:07 +00:00
Michael Telatynski
f241dea137
Specify hashes for github actions (#10633) 2023-04-18 07:32:46 +00:00
Michael Telatynski
9c19cd48fe
Fix github actions deprecations warnings (#10575) 2023-04-12 12:06:30 +00:00
Richard van der Hoff
3c4fa8b430
Improve output in github actions for jest tests (#10569) 2023-04-12 09:47:39 +00:00
Michael Telatynski
9cecac0cee
Only respect X-Needs-Percy in the Merge Queue (#10520)
* Enable merge queues

* Iterate

* Iterate

* iterate

* Only respect X-Needs-Percy in the Merge Queue
2023-04-06 14:30:56 +00:00
Michael Telatynski
b73032145d
Enable merge queues (#10515)
* Enable merge queues

* Iterate

* Iterate

* iterate

* Fix check blocked and others not running in MQ

* Add concurrency

* Iterate

* Iterate

* Iterate

* Iterate

* Update pr-details action
2023-04-06 13:41:20 +00:00
renovate[bot]
7321277ed8
Update all non-major dependencies (#10524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 14:39:40 +01:00
renovate[bot]
abfc349e10
Update tj-actions/changed-files digest to 79adacd (#10523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 12:43:01 +00:00
Michael Telatynski
e9cc88b872
Update pull_request.yaml 2023-04-06 10:42:08 +01:00
Michael Telatynski
c1001e2794
Update tests.yml 2023-04-06 09:57:51 +01:00
Michael Telatynski
5509b252c3
Update static_analysis.yaml 2023-04-06 09:57:24 +01:00
Michael Telatynski
7d04dc2a9c
Update element-web.yaml 2023-04-06 09:56:23 +01:00
Michael Telatynski
700af0954a
Update cypress.yaml 2023-04-05 17:48:27 +01:00
Michael Telatynski
d960071177
Update cypress.yaml 2023-04-05 17:45:45 +01:00
Michael Telatynski
30f42ea426
Update cypress.yaml 2023-04-05 16:57:32 +01:00
Michael Telatynski
ea6a2033ee
Tweak Percy cron trigger to not run on weekends (#10519
`Runs at 04:17, Monday through Friday.`
2023-04-05 13:45:07 +01:00
Michael Kaye
5cd459ff2d
Check kiwi_enable value for '1'-ness, not presence (#10482)
Change from string-y checking for true ('0' is true) to comparison against the string '1', which is only true if exactly equal to '1'.

This has been submitting more test results to Kiwi than we want/need.
2023-04-03 09:54:49 +01:00
Michael Telatynski
24eed963d3
Use frozen lockfile instead of pure lockfile on yarn install (#10493) 2023-03-31 15:06:08 +00:00
Andy Balaam
372c5e1fbf
Run screenshot tests daily, instead of on each commit (#10426)
* Stop running Percy on develop builds

Instead, we will run it daily. This will reduce the number of Percy
tests we run each month.

* Run screenshot tests daily

* Prettier for percy_daily.yml

* Maybe something like this
2023-03-23 14:55:16 +00:00
Michael Kaye
853b3f822d
Push cypress test results to kiwitcms not testrail (#10401) 2023-03-22 10:31:15 +00:00
renovate[bot]
28f217b035
Update all non-major dependencies (#10315)
* Update all non-major dependencies

* downgrade axe due to test failures

* ci: force rerun

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
2023-03-20 13:21:06 +01:00
Janne Mareike Koschinski
580857ecc0
Pin versions of third-party github actions (#10351) 2023-03-10 13:56:27 +01:00
renovate[bot]
307df9d2c3
Update all non-major dependencies (#9766)
* Update all non-major dependencies

* Prettier

* Revert axe-core

* Revert axe-core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-06 17:21:09 +00:00
Florian Duros
8d9fdc3b41
Use cache for jest (#10124) 2023-03-03 10:38:04 +01:00
Michael Telatynski
73de53468a
Allow percy branch protection when X-Needs-Percy is passed (#10230) 2023-02-23 15:57:29 +00:00
Michael Telatynski
9349526d94
Update cypress.yaml 2023-02-23 11:34:20 +00:00
Michael Telatynski
dbc0dca591
Manually finalize Percy builds (#10220) 2023-02-23 11:10:11 +00:00
Michael Telatynski
2b52a95df6
Update cypress.yaml 2023-02-23 08:59:58 +00:00
Michael Telatynski
9b7176b0af
Update cypress.yaml 2023-02-23 08:42:07 +00:00
Michael Telatynski
26652138bd
Improve Percy stability by better scoping snapshots (#10207) 2023-02-23 16:57:48 +13:00
Michael Telatynski
241a8bfc75
Update pull_request.yaml 2023-02-21 12:24:24 +00:00
Michael Telatynski
d6458133e5
Update tests.yml 2023-02-21 09:57:43 +00:00
Michael Telatynski
0aead925d3
Allow disabling coverage for downstream testing (#10198) 2023-02-21 09:52:55 +00:00
Michael Telatynski
a09e105c23
Make workflows reusable for downstream testing (#10174) 2023-02-20 11:41:36 +00:00
Michael Telatynski
a3a2a0f914
Revert "Run Percy for all Cypress runs" (#10173) 2023-02-16 10:06:33 +00:00
Johannes Marbach
d276e11bd1
Update .github/workflows/static_analysis.yaml
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-02-08 15:49:09 +01:00
Johannes Marbach
b62006e915
Checkout PR head for strict error checker 2023-02-08 13:10:25 +01:00
Michael Telatynski
013fd0a343
Run Percy for all Cypress runs (#10089) 2023-02-07 13:37:33 +00:00
Michael Telatynski
19b81d257f
Revert "Include percy in branch protection conditionally" (#10051
This reverts commit a07f9a723f.
2023-02-01 16:28:30 +00:00
Michael Telatynski
a07f9a723f
Include percy in branch protection conditionally (#9894) 2023-02-01 15:52:34 +00:00
renovate[bot]
277f7258d9
Update tj-actions/changed-files action to v35 (#9917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 09:06:32 +00:00
Michael Telatynski
683b0928f3
Pass PR details to Cypress 2023-01-13 10:35:45 +00:00
Michael Telatynski
3874314e13
Parallelise Cypress runs once more (#9902) 2023-01-12 15:16:05 +00:00
Michael Kaye
e652519cc6
Merge branch 'develop' into michaelk/continue_if_trci_upload_fails 2023-01-06 10:29:54 +00:00
Robin
8628aae410
Don't prefer STIXGeneral over the default font (#9711)
* Don't prefer STIXGeneral over the default font

STIXGeneral contains some glyphs for non-LGC scripts, but often doesn't implement these scripts fully. We should always try the browser's default fonts, which are likely to look nicer and have broader script support, before falling back to STIXGeneral.

* Explain why STIXGeneral shouldn't have precedence

* Add a regression test
2023-01-06 04:11:41 +00:00
Michael Kaye
9416c27bc7 Prettier whitespace changes 2023-01-05 11:53:53 +00:00
Michael Kaye
0daa517854 Remove accidental whitespace 2023-01-05 11:27:03 +00:00
Michael Kaye
89429ade49 If a trcli run fails, continue further uploads, and do not fail the GHA. 2023-01-05 11:25:47 +00:00
Michael Telatynski
825fce7bc3
Update netlify.yaml GHA to not refer to workflow name (#9826) 2023-01-03 10:13:22 +00:00
renovate[bot]
249bd779f2
Update nwtgck/actions-netlify action to v2 (#9793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 09:40:47 +00:00
renovate[bot]
910aa0b813
Update cypress-io/github-action action to v5 (#9791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 05:06:34 +00:00
Michael Kaye
b728b27435
Report cypress test results into testrail. (#9685)
* Reduce cypress size/scope

* Emit cypress reports in junit-compatible format.

* Clean implementation of upload

* Append a warning if not all tests that testrail knows of are run.

* Only run testrail if on develop (like percy).

* Re-enable full test run.

* Update cypress.config.ts

* Ensure SUITE_ID is passed.

* Fix quoting on SUITE_ID, add environment

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* re-add mocha-junit-reporter (was dropped in the merge)

* Prettifier on newly created file.

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-15 12:04:03 +00:00
Michael Weimann
526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Andy Balaam
908f81fa26 Stop Cypress running in parallel to avoid failures with non-matching environments 2022-12-08 10:18:02 +00:00
renovate[bot]
c3809d3afa
Update all non-major dependencies (#9674)
* Typescript updates

* Update @types/node

* Fix more types

* Update all non-major dependencies

* Remove spurious cast

* Remove unused dependency rrweb-snapshot

* Update all non-major dependencies

* Iterate PR

* Update yarn.lock

* Remove stale dev dep

* Resolve

* Pin back axe-core for now, it is a bit too strict

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 00:36:23 +00:00
Michael Kaye
7065c58174
Update cypress.yaml GHA to not refer to workflow name. (#9649) 2022-12-05 11:43:22 +00:00
renovate[bot]
9f0c8d935d
Update tj-actions/changed-files action to v34 (#9678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:56:41 +00:00
renovate[bot]
10666d2fa2
Update peter-evans/repository-dispatch action to v2 (#9677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:26 +00:00
renovate[bot]
37c066f804
Update actions/upload-artifact action to v3 (#9670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:34:29 +00:00
renovate[bot]
12232db7da
Update actions/github-script action to v6 (#9669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:33:51 +00:00
renovate[bot]
7acb59ed48
Update actions/checkout action to v3 (#9668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:33:34 +00:00
Michael Telatynski
440f76c3e8
Add a required tsc strict check for --noImplicitAny (#9647) 2022-11-29 15:43:08 +00:00
Florian Duros
d71a72e27c
Add slow jest reporter (#9599)
Add slow jest reporter
2022-11-24 14:53:32 +01:00
Michael Telatynski
041bb46284
Wire up Netlify deployments for update notifications (#9609) 2022-11-22 14:37:29 +01:00
Michael Telatynski
0b54699829
Add --noImplicitAny to strict CI check (#9601) 2022-11-21 09:19:02 +00:00
Michael Telatynski
cd46c89699
Fix branch matching for the strict tsc CI (#9597) 2022-11-18 15:05:26 +00:00
Michael Telatynski
272aae0973
Add CI to run rethemendex.sh (#9577) 2022-11-14 18:31:20 +00:00
Michael Telatynski
04bc8fb71c
Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
Michael Telatynski
0bb9db302d
Enable tsc --strict CI to prevent gaining more errors (#9541) 2022-11-03 16:38:26 +00:00
Michael Telatynski
238a2b77af
Update cypress.yaml (#9506) 2022-10-26 11:50:24 +00:00
Travis Ralston
6fe8744e4d
Remove performance metrics from cypress (#9467)
They are unfortunately unreliable and have been broken since June anyways.
2022-10-20 00:52:17 -06:00
Michael Telatynski
eaff7e945c
Consolidate js-sdk release mode typing CI (#9326) 2022-09-30 17:12:16 +01:00
Michael Telatynski
9d83fba5ca
Turn off tsc --strict annotations (#9285)
* Update static_analysis.yaml

* Update static_analysis.yaml
2022-09-16 11:09:32 +00:00
Michael Telatynski
c365949e85
Update cypress.yaml (#9269) 2022-09-12 10:17:44 +01:00
Michael Telatynski
e3b13eb97c
Update commit status earlier in cypress workflow_run (#9263) 2022-09-08 23:05:05 +00:00
Michael Telatynski
638175b7d7
Update cypress.yaml (#9262) 2022-09-08 10:05:43 +01:00
Michael Telatynski
5bdae150fa
Tweak backport labels (#9258) 2022-09-07 14:15:03 +00:00
Michael Telatynski
4be1d85522
Update cypress.yaml 2022-09-07 13:12:03 +01:00
Michael Telatynski
06540633fc
Update cypress.yaml 2022-09-07 12:58:27 +01:00
Michael Telatynski
56326c75f1
Run Cypress in parallel (#9010)
* Update cypress.yaml

* Update cypress.yaml

* Make percy parallel-compatible

* Add PERCY_PARALLEL_NONCE

* Update cypress.yaml

* Merge performance measurement files
2022-09-07 12:48:37 +01:00
Michael Telatynski
9f5857dd38
Simplify releases: move npm publishing to gha, consolidate scripts (#9216)
* Remove stale comment re dependency

* Move npm publishing from release.sh to GHA

* Extract js-sdk & react-sdk post release steps

* Consolidate release subproject upgrade management
2022-09-06 12:10:28 +01:00
Michael Telatynski
ec0b2b551a
Add backport automation (#9214) 2022-08-24 12:45:35 +01:00
Michael Telatynski
e11b0cef47
Add static analysis for tsc --strict (#9212)
* Add static analysis for tsc --strict

* Make tsconfig legal

* Make tsconfig more legal

* Update static_analysis.yaml

* Test strict mode check

* Revert "Test strict mode check"

This reverts commit 879df9879738fabfa02466ce07634a0f5c132311.
2022-08-24 11:08:26 +01:00
Šimon Brandner
a866005bea
Add GHA for Dead Code Analysis (#9052) 2022-08-04 08:00:49 +00:00
Michael Telatynski
f566c600e2
Port remaining Puppeteer tests over to Cypress (#9104)
* Port remaining Puppeteer tests over to Cypress

* Remove puppeteer support files

* Fix lifecycle matrixclientpeg setup race condition

* Alternative solution to the lifecycle problem

* Dismiss the notifications toast
2022-07-29 14:03:25 +00:00
Michael Weimann
2179be299a
Update pr-details to 1.2 (#9076) 2022-07-19 15:05:02 +00:00
Michael Telatynski
eff0395771
Update cypress.yaml (#9007) 2022-07-08 10:06:29 +01:00
Michael Telatynski
79195dea8b
Skip running jobs on fork develop where they lack secrets (#8837)
* Skip running jobs on fork `develop` where they lack secrets

* Fix contexts
2022-06-14 11:37:07 +01:00
Michael Telatynski
5b149bcffd
Use a fixed matrix-org/github-action-benchmark (#8810) 2022-06-10 15:42:51 +01:00
Michael Telatynski
3510f8efa4
Update cypress.yaml (#8804) 2022-06-09 14:52:06 +01:00
Michael Telatynski
1d79c78f21
Update cypress.yaml 2022-06-09 10:12:45 +01:00
Michael Telatynski
fc133041e3
Update cypress.yaml 2022-06-09 09:33:19 +01:00
Michael Telatynski
3fc6554225
Fix typo 2022-06-09 09:01:39 +01:00
Michael Telatynski
9c9bb26f47
Update cypress.yaml (#8801) 2022-06-09 08:45:25 +01:00
Michael Telatynski
30192469af
Update cypress.yaml (#8797) 2022-06-08 22:08:28 +00:00
Michael Telatynski
b260b3e063
Fix wrong permission for cypress check (#8793) 2022-06-08 16:14:34 +01:00
Michael Telatynski
f53207a4fe
Fix cypress checkout and use github actions environments (#8790)
* Fix cypress checkout and use github actions environments

* Harden github token for cypress.yaml

* Allow writing status checks
2022-06-08 16:00:47 +01:00