Commit Graph

71 Commits (e75dc4e038dce4def7f57b3dea34401fb4be647f)

Author SHA1 Message Date
Michael Telatynski 5983528a8d
Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
Michael Telatynski e4d9e3e204
Add Playwright badge 2023-12-21 10:22:42 +00:00
Michael Telatynski a231a8d543
Use Playwright snapshot utility instead of Percy (#11922)
* Install playwright

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

* Add foundations for writing tests under Playwright

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

* .gitignore juggling

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

* Add tsconfig and fix eslint rules

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

* Add docker & synapse plugins

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

* Add login.spec.ts

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

* Wire up fixture which sets up ElementAppPage & bakes config.json

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

* Remove launch test, it has served its purpose

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

* Remove test which has been ported to Playwright

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

* Fix test not cleaning up after itself

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

* Move registerUser to the Homeserver interface

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

* Remove unused fixture param

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

* Remove redundant launch test

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

* Add newline

* Run both legacy & rust crypto tests in Playwright

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

* Remove redundant comment

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

* Create plugin for mail-hog

* Move injectAxe into element-web-test.ts

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

* Switch out axe-playwright for @axe-core/playwright

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

* Migrate email.spec.ts from Cypress to Playwright

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

* prettier

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

* Use Playwright snapshot utility over Percy

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

* Remove commented our Percy badge as we're unlikely to want to go back

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2023-11-24 12:32:07 +00:00
R Midhun Suresh 085b39c7af
Use knapsack pro to speed up cypress tests (#11863)
* Install knapsack pro

* Use knapsack pro command

* Lint

* Use chrome

* Add test file pattern

* Use two different tokens for knapsack

* Use the correct secret

* Update lockfile

* Fix conflict

* Remove redundant options

* Add explaining comment

* Remove outdated variables and steps

* Update comment

* Fix conflict

* Use the chrome we setup earlier

* Add back percy config

* Set knapsack pro branch

* Use github_env to get browser path

* Add badge to readme

* Update .github/workflows/cypress.yaml

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

* Apply prettier

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 16:11:03 +00:00
Johannes Marbach 7a56d61a9e
Disable Percy (#11852)
* Disable Percy

While visual regression testing is without doubt an essential part of
quality assurance, the way we're currently using Percy brings little
to no value while causing mainenance overhead. Therefore, we're disabling it
until we have figure out https://github.com/vector-im/wat-internal/issues/36
and https://github.com/vector-im/wat-internal/issues/56.

* Also disable nightly build

* Comment out Percy step instead of fiddling with the output value

* Appease the frigging linter
2023-11-10 21:25:18 +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
Andy Balaam c853257d54
Document how to match the CI config for Cypress (#11531)
* Document how to match the CI config for Cypress

* Clarify language about needing Chrome

* Move Cypress info into the Cypress-specific docs
2023-09-05 11:55:53 +00:00
Michael Weimann 526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Michael Weimann b2704d5bde
Link contributing guide to Element Web (#9220)
* Link contributing to Element Web

* Update README.md

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update README.md

Co-authored-by: Travis Ralston <travisr@matrix.org>

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-09-01 13:49:52 +02:00
Šimon Brandner 6543f6a7d1
Link to cypress tests rather than the old E2E tests (#8970) 2022-07-04 09:11:28 +02:00
Andy Balaam 5f31fef874
Add documentation about how to run lint and fix dependencies (#8703) 2022-05-27 13:08:41 -06:00
Andy Balaam 6f56471362
Make README markdown more consistent (#8705)
* Make README markdown more consistent
* Most lines were 80 characters wide, others not - make them all 80.
* Switch to === titles in README where possible
2022-05-27 10:33:09 +01:00
Michael Telatynski d9b7e0721c
Add visual tests using Percy in Cypress (#8610)
* Add basic Percy tests

* Run Percy in CI

* Fix snapshot timing

* Fix bad selector

* Hide another bit of dynamic text

* Add docs
2022-05-17 15:16:14 +00:00
Michael Telatynski 617c0e3c50
Add cypress badge (#8544) 2022-05-09 17:37:21 +01:00
Michael Telatynski 14ff736fcc
Add README badges (#8458)
* Add README badges

* Update README.md

* Update README.md
2022-05-03 14:54:00 -06:00
Shivrani A. Jadhav 16dc05e2b0
Fix the link which was not supporting in README.md (#8229)
* Fix the link which was not supporting in README.md

I have updated the link to the CSS of matrix-react-sdk.

* Update README.md
2022-04-07 11:38:39 +02:00
Travis Ralston 4057833036 Merge branch 'develop' into travis/remove-skinning 2022-04-05 10:50:37 -06:00
Emmanuel 020c1c6f31
Fix typo error (#8214) 2022-04-01 14:06:41 +01:00
Travis Ralston bd1fd0a734 Step 13: Update documentation for skinning 2022-03-28 15:23:31 -06:00
Travis Ralston c9619bfe48
Fix documentation to make `yarn test` work out of the box (mk II) (#7075)
* Fix documentation to make `yarn test` work out of the box

Before, invoking `yarn test` croaked on a missing src/component-index.js
file. In another part of the README, the missing instruction to generate
this file was found.

* Fix CI: Unauthenticated git protocol on port 9418 is no longer supported

GitHub is deprecating the service which answered unauthenticated git
protocol requests. Either it happened already, or they are running
brownouts.

* This is where I meant to leave that comment

Co-authored-by: Andreas Motl <andreas.motl@panodata.org>
2021-11-02 20:22:24 +00:00
Elsie Hupp 89ef8e9441
Add convenience inline links to README.md (#7061)
Signed-off-by: Elsie Hupp <9206310+elsiehupp@users.noreply.github.com>
2021-11-01 10:17:51 +00:00
Andy Balaam 842ab0af05 Remove extra 'are' in README
Signed-off-by: Andy Balaam <andyb@element.io>
2021-09-29 11:41:37 +01:00
Jano Garcia b5d25eb5f8
Fix wrong URL in README.md 2021-07-30 14:10:47 +02:00
Šimon Brandner 39ef376a79
Use Android SDK instead
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-05-05 18:06:42 +02:00
Šimon Brandner 374d8c1c4c
Update link to Android SDK
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-05 08:43:24 +02:00
J. Ryan Stinnett 640fe00d1e Update Weblate URL 2020-10-21 13:14:41 +01:00
Daniel Maslowski bc0c30f99f fix link to classic yarn's `yarn link`
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2020-09-29 04:46:59 +02:00
J. Ryan Stinnett ce226ab534 Replace Riot with Element in docs and comments
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.

Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
J. Ryan Stinnett cda691e359 Tweak Yarn docs link post-review 2020-05-13 11:29:11 +01:00
chagai95 d68b50feb6
Updated link and added:Yarn two is not yet used.
the link was broken and there was no mention of the version of yarn being used.
2020-05-13 11:49:26 +02:00
Jorik Schellekens 21a41fa343 Update link to css location. 2020-03-30 10:05:40 +01:00
Travis Ralston 74fcb103b1
Link to the right contributing guidelines 2020-03-05 11:04:33 -07:00
Travis Ralston fde32f13a5 [CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop 2020-01-09 14:15:09 -07:00
Pankaj Kumar Singh a9cae90a52 Signed-off-by Pankaj Singh <singh.pankaj@live.com 2019-12-26 23:11:17 +05:30
Travis Ralston 9865ce899b Add a bunch of docs
We're making an assumption here that the decorator is actually all over the app when it's not.
2019-12-16 16:34:46 -07:00
Bruno Windels e2e7303cc3
Update README.md
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-10-18 12:29:17 +00:00
Bruno Windels d20b2ee9eb document how to run the e2e tests locally 2019-10-10 16:54:10 +02:00
J. Ryan Stinnett 34e533dd4b Remove Edge from browser support statements
At the current time, we do not intend to do additional work specifically to
support Edge.  If it works for most use cases, that's great, but we do not
intend to fix issues that affect only Edge.

Fixes https://github.com/vector-im/riot-web/issues/9201
2019-03-18 15:47:48 +00:00
J. Ryan Stinnett 92a9f13452 Recommend using the latest Node LTS version 2019-03-13 10:53:53 +00:00
J. Ryan Stinnett 337ac2f6a0 Reorder link and install steps
Take advantage of Yarn's preservation of links while installing and set up links
first and install second. This should result in a small speedup since we no
longer install the published SDKs just to replace them on the next line.
2019-03-11 18:36:45 +00:00
J. Ryan Stinnett 7c947d87ab Update scripts and docs to use `yarn` where appropriate
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
2019-03-11 14:22:02 +00:00
Travis Ralston 633b8d419f
Mention node 8.x as recommended in development docs
Co-Authored-By: jaywink <mail@jasonrobinson.me>
2019-01-06 15:13:07 +02:00
Jason Robinson e876edcbc3 Clarify readme instructions for developers
Setting up the SDK for development, I noticed that 3 tests failed on
develop branch. Linking the JS SDK made the tests pass. It looks like
the assumption is that developers link against the develop branch
of JS SDK to develop the React SDK.

Clarify this in the readme for completeness sake.

Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-01-04 11:01:35 +02:00
J. Ryan Stinnett 0b65a1ee1a Remove outdated info about custom skins
It has been marked outdated for several years. Since it appears on the repo home
page, it makes the project feel unmaintained.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-06 19:25:07 -06:00
Matthew Hodgson ef20813f2e remove layering warnings 2018-09-09 18:38:21 +01:00
rponline 27b594e1af Fix broken Link 2017-09-04 18:31:53 +02:00
krombel 00d69aa938 Update Link to Translation status
The translation is now done at translate.riot.im but the link was not updated
2017-08-15 00:32:38 +02:00
David Baker 107024efa8 Unnecessary whitespace 2017-05-25 11:42:19 +01:00
David Baker dd1c50ce80 README formatting
Move translation status to its own heading
2017-05-23 15:30:36 +01:00
David Baker d419c42a4f Squash merge https://github.com/matrix-org/matrix-react-sdk/pull/801 2017-05-23 15:16:31 +01:00