Commit graph

327 commits

Author SHA1 Message Date
renovate[bot]
6e19bf6b86
Update browser-actions/setup-chrome digest to 905ab04 (#11705)
* Update browser-actions/setup-chrome digest to 905ab04

* Update cypress.yaml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-17 16:06:33 +00:00
Michael Telatynski
7f37699566
Update localazy_upload.yaml 2023-10-17 10:49:53 +01:00
Andy Balaam
38728069e2
Always use cypress-multi-reporters XML report, not just in CI (#11731) 2023-10-13 08:50:05 +00:00
Andy Balaam
e5a3b6c390
Include Percy command in config for Cypress (#11730)
because command overrides command-prefix, so Percy was not being
invoked.
2023-10-11 14:15:33 +00:00
Richard van der Hoff
91413bc6b6
Revert "Turn on Cypress debug logs to figure out why reports are not being created" (#11720)
This reverts commit 70d834c28e.
2023-10-05 16:58:11 +00:00
Andy Balaam
70d834c28e Turn on Cypress debug logs to figure out why reports are not being created 2023-10-04 14:57:43 +01:00
Richard van der Hoff
241df0ba0a
Cypress: write logs to file (#11712)
... in an attempt to make the github actions output easier to grok
2023-10-04 10:03:33 +00:00
Michael Telatynski
9d1f10e4be
Update workflows around i18n to use Localazy (#11455)
* Remove prunei18n

* Update README

* Update matrix-web-i18n

* Iterate

* Add feature=filter_untranslated

* yarn.lock

* Update localazy.json

* Update package.json

* Update localazy.json

* Update matrix-web-i18n and update i18n:lint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove stale workflow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Localazy Download

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* i18n

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Localazy Download

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-04 09:28:09 +00:00
Michael Telatynski
24b10a87c0
Switch to sorry-cypress (#11668) 2023-09-26 07:17:14 +01:00
Andy Balaam
29280607df Revert "Update browser-actions/setup-chrome digest to 905ab04"
This reverts commit ea38f6366e0181a73567c9e935eb9809adf21a6d which is
from PR https://github.com/matrix-org/matrix-react-sdk/pull/11615
2023-09-22 11:52:10 +01:00
renovate[bot]
9418dc60f4
Update browser-actions/setup-chrome digest to 905ab04 (#11615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 08:38:31 +00:00
renovate[bot]
c297222d04
Update tj-actions/changed-files digest to 4196030 (#11617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 00:19:18 +00:00
renovate[bot]
30a659f192
Update SimenB/github-actions-cpu-cores action to v2 (#11627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 00:15:45 +00:00
Johannes Marbach
c2133e37d0 Re-enable parallelisation via Cypress Cloud now that the cycle has renewed 2023-09-12 08:58:19 +02:00
renovate[bot]
d30c85772a
Update all non-major dependencies (#11383)
* Update all non-major dependencies

* Pin back eslint-plugin-deprecate

* Fix types

* typo

* Fix more typos

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 17:40:51 +00:00
renovate[bot]
c768e1cf5e
Update tj-actions/changed-files action to v39 (#11572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 13:12:24 +00:00
renovate[bot]
14880ddf8d
Update tj-actions/changed-files digest to 1aee362 (#11561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 08:31:01 +00:00
renovate[bot]
e09e2fc440
Update peter-evans/repository-dispatch digest to bf47d10 (#11560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 08:29:15 +00:00
renovate[bot]
3201ae3534
Update cypress-io/github-action digest to 2558ee6 (#11559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 07:43:49 +00:00
renovate[bot]
e73628d5dc
Update actions/checkout action to v4 (#11569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 18:30:45 +00:00
Johannes Marbach
3f21b9a61c
Re-add --parallel flag for Percy 2023-09-04 14:29:23 +02:00
Andy Balaam
1498c51b7b Remove parallel from Cypress command to avoid talking to Cypress Cloud 2023-09-04 12:40:44 +01:00
Kerry Archibald
111210e117 segment into 4 2023-09-04 17:20:16 +12:00
renovate[bot]
195dc4716b
Update tj-actions/changed-files digest to 1c26215 (#11459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-24 16:05:57 +00:00
renovate[bot]
aec2f1f794
Update cypress-io/github-action digest to fa88e4a (#11458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-24 13:08:20 +00:00
Michael Telatynski
e2070d677f
Update i18n_check.yml 2023-08-24 10:42:28 +01:00
renovate[bot]
e34920133e
Update tj-actions/changed-files action to v38 (#11463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 14:23:31 +00:00
Michael Telatynski
aa6f27dde2
Update static_analysis.yaml 2023-08-14 09:43:47 +01:00
renovate[bot]
4c9fff90d3
Update cypress-io/github-action digest to 90dff94 (#11388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:41:13 +00:00
renovate[bot]
0f3f9ba827
Update tibdex/backport digest to 9565281 (#11381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:32:32 +00:00
renovate[bot]
2ae47f3b6d
Update tj-actions/changed-files digest to 87697c0 (#11382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:29:05 +00:00
Michael Kaye
f20747b297
Add notes to PR template to make it easier to remeber to set type of PR. (#9866)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-03 14:09:10 +00:00
Michael Telatynski
40442508de
Re-add typecheck without yarn link (#11338)
* Re-add typecheck without yarn link

* Update static_analysis.yaml
2023-08-02 14:11:50 +00:00
Michael Telatynski
b284fbcc37
Update static_analysis.yaml 2023-07-28 10:25:39 +01:00
renovate[bot]
ba0b9d0441
Update cypress-io/github-action digest to bcd73b7 (#11326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:19:55 +00:00
renovate[bot]
86d349d9a1
Update tj-actions/changed-files digest to 920e7b9 (#11283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:44:32 +00:00
Michael Telatynski
5fbdbccdc6
Temporarily add missing @types imports (#11309)
* Add CI to typecheck without yarn link like in release process

* Temporarily add missing @types imports
2023-07-25 08:29:52 +00:00
renovate[bot]
a62b1d1bec
Update cypress-io/github-action digest to 7ad5be0 (#11230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:01:35 +00:00
Richard van der Hoff
7c3dcdf613
Fix log spam during cypress CI (#11272)
Tell the web server not to log requests, to reduce the amount of noise in the
CI logs.
2023-07-17 08:08:25 +00:00
Richard van der Hoff
113b6301f8
Use cypress-terminal-report (#11226)
* Use cypress-terminal-report

This cypress plugin gives nice console logs about what is happening: I hope it
will help us debug mysteriously failing tests.

In its default config, it only logs for failing tests.

* another anti-morgan hack

* Disable collection of `console.debug`

* `ctr:info` is not real
2023-07-11 15:10:13 +00:00
Michael Telatynski
cfd48b36aa
Enable strictPropertyInitialization (#11203) 2023-07-07 14:46:12 +01:00
renovate[bot]
bbd1ab0e27
Update tj-actions/changed-files action to v37 (#11150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 14:48:10 +00:00
Michael Telatynski
0d83a38a3e
Fix cypress tests (#11142)
* Test

* Iterate

* Try headed mode

* Switch Cypress to headed mode
2023-06-26 21:56:04 +01:00
Michael Telatynski
34d7b7d928
Revert "Update browser-actions/setup-chrome digest to 5dc4fd3 (#11136)" (#11138) 2023-06-26 14:19:08 +01:00
renovate[bot]
d077aff162
Update browser-actions/setup-chrome digest to 5dc4fd3 (#11136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-26 14:12:01 +01:00
renovate[bot]
f4f559b89c
Update cypress-io/github-action digest to d69252d (#11137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 14:02:55 +01:00
Richard van der Hoff
7c9c818f06
GHA: require kiwi creds in cypress.yaml (#11069)
* GHA: require kiwi creds in cypress.yaml

* prettify
2023-06-13 10:50:36 +00:00
renovate[bot]
0e682b6eae
Update cypress-io/github-action digest to fbfad28 (#11063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 08:35:31 +00:00
renovate[bot]
c418ed01ed
Update tj-actions/changed-files action to v36 (#11036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 10:58:58 +00:00
renovate[bot]
c78c7af407
Update cypress-io/github-action digest to 61a130a (#10935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 16:47:24 +00:00
Robin
6be09eec09
Remove STIXGeneral from the font stack (#10980)
* Remove STIXGeneral from the font stack

STIXGeneral was originally added to our font stack to work around a bug in Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=591346) which caused some obscure combining marks to render as tofu. However, because STIXGeneral unexpectedly has glyphs for a handful of common Japanese characters, it's ended up making Japanese text in Element look patchy. I previously attempted to fix this by prioritizing sans-serif over STIXGeneral, but as is evident from our screenshot tests and user reports, this is still not enough on some systems to get Chrome to pick a consistent font for Japanese. On the basis that i18n is more important than supporting a few mathematical diacritics, I propose we remove the font. STIXGeneral is deprecated anyways, so if we want to get these diacritics back there's always the option of looking at its successor, STIXTwo.

* Remove STIXGeneral installation from Cypress workflow
2023-06-01 02:13:55 +00:00
Richard van der Hoff
3bba816b10
GHA: make element-web and cypress workflows reusable (#10969)
* GHA: make `element-web` workflow reusable

... so that we can call it from the js-sdk repo

* GHA: make `cypress.yaml` a reusable workflow

... so that we can call it from js-sdk

* GHA: give cypress.yaml a `rust-crypto` parameter

* Update .github/workflows/cypress.yaml

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

* remove workflow_dispatch

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-26 15:04:29 +00:00
Richard van der Hoff
192e6f6c3d
Fix PR lookup for fetchdep.sh (#10990)
Context: `fetchdep.sh` attempts to check out a github repository based on the
details in a pull request. To do this, it needs to know how to find the pull
request. So, the github workflows attempt to set environment variables to tell
it. Unfortunately, they currently disagree about what the names of the
environment variables should be.

This appears to have been introduced by #8498.

To simplify matters, we may as well have the script use `${GITHUB_REPOSITORY}`
directly, and remove te unused `REPOSITORY` env var from the workflows.
2023-05-25 13:50:17 +00:00
renovate[bot]
c3687489dd
Update all non-major dependencies (#10922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 07:41:34 +00:00
renovate[bot]
0ae4bd71ed
Update cypress-io/github-action digest to 40a1a26 (#10906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-16 15:12:23 +00:00
renovate[bot]
d68a4b72d9
Update dawidd6/action-download-artifact digest to 246dbf4 (#10640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:46:15 +00:00
Andy Balaam
2e4fc0a76d
Don't run SonarCloud when a change is in the merge queue (#10863)
We are not interested in coverage information when a PR has already been
approved, and we were seeing flakiness with SonarCloud with the "no
artifacts found" error
https://github.com/vector-im/element-web/issues/25334 .
2023-05-11 12:52:28 +00:00
Richard van der Hoff
3c32ad7cab
Fix CSP problems due to cypress-axe (#10843)
* Fix CSP problems due to cypress-axe

Rewrite `injectAxe` to use a script tag instead of an `eval`.

* remove gha workflow hack
2023-05-11 10:31:09 +00:00
Andy Balaam
33ddec4211
Revert "Update browser-actions/setup-chrome digest to 5dc4fd3 (#10759)" (#10839)
This reverts commit adb29b38a3.
2023-05-10 11:58:53 +01:00
renovate[bot]
adb29b38a3
Update browser-actions/setup-chrome digest to 5dc4fd3 (#10759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 00:54:47 +00:00
Michael Telatynski
f4f2cb19b7
Fix merge queue X-Needs-Percy handling (#10802) 2023-05-09 08:22:16 +00:00
Richard van der Hoff
4bca5143ee
Update cypress.yaml (#10790) 2023-05-05 12:06:45 +00:00
Michael Telatynski
8e962f6897
Update static_analysis.yaml (#10725) 2023-05-05 08:13:21 +00:00
renovate[bot]
ee2c809f7a
Update tj-actions/changed-files digest to b2d17f5 (#10760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 21:37:24 +00:00
Michael Telatynski
7f32b423c5
Revert "Include cypress tests in previewbuild bundle (#10705)"
This reverts commit d791649ad3.
2023-04-26 17:55:40 +01:00
Michael Telatynski
d791649ad3
Include cypress tests in previewbuild bundle (#10705) 2023-04-26 17:46:02 +01:00
Michael Telatynski
dde0a41ba8
Fix cypress tests exploding due to CSP (#10715) 2023-04-26 17:35:45 +01:00
renovate[bot]
b32482bc4a
Update cypress-io/github-action digest to 59c3b9b (#10639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-26 05:08:25 +00:00
Michael Telatynski
8c811776bb
Update cypress.yaml 2023-04-24 11:08:35 +01:00
Michael Telatynski
2ae50940c8
Update cypress.yaml 2023-04-24 11:01:55 +01:00
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