Commit Graph
15 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 6287f1f916 Use radicle-httpd from our public download location
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-31 16:49:31 +01:00
Rūdolfs Ošiņš 40ad8c1efb Fix clearing snapshot cache
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-30 15:04:57 +01:00
Adam Szkoda 8df7d66419 Download radicle-httpd executable for e2e tests
Signed-off-by: Adam Szkoda <adaszko@gmail.com>
2023-01-09 15:25:12 +01:00
Rūdolfs Ošiņš 972b5ccf20 Remove playwright dependency install steps
It seems like the tests on CI work just fine without installing the
deps. We assume the deps are already installed in the ubuntu image.

This saves build time and our builds still work when the azure servers
that provide the deps are down.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-06 15:25:54 +01:00
Rūdolfs Ošiņš c3c3d06380 Split up visual markdown specs into sections
So that it's easier to spot changes.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 17:37:06 +01:00
Rūdolfs Ošiņš 57600c8adf Remove *.log files from snapshot artifacts
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 17:37:06 +01:00
xphoniexandRūdolfs Ošiņš f72405a3e4 Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 11:20:14 +01:00
Rūdolfs Ošiņš 5f2cd259a0 Clean up snapshot cache on master
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-19 13:31:54 +01:00
Rūdolfs Ošiņš 41168db8d5 Improve CI workflows
- bump visual spec timeouts
- don't warn if there are no artifacts
- revert unneeded workflow checks
- improve workflow messages

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 23:10:57 +01:00
Sebastian Martinez 65b37b7ef4 Updates some CI packages to v3 and skips test if PR is merged
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 16:16:39 +01:00
Rūdolfs Ošiņš d7f8156725 Format yaml files with prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:51:13 +01:00
Rūdolfs Ošiņš 2c022a40df Add visual snapshot tests
We use the cache Github action to store snapshots when pushing to master and
then load them in pull requests and run the visual tests against it.

This way we don't have to commit the images to the repository and always
get diffs to the latest master.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:06:05 +01:00
Sebastian Martinez fa0007cda4 Run GitHub CI only if push to master or activity on PR branch but not both
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-02 10:51:05 +01:00
Sebastian Martinez 9d3353b4f6 Cache Playwright binaries if possible
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-02 10:48:23 +01:00
Rūdolfs OšiņšandSebastian Martinez 9cb9332e88 Replace Cypress with Playwright
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:

  - project source browsing
    - tree view
    - commit list view
    - commit view
  - routing
    - hash based
    - history API based
  - clipboard copy paste functionality
  - seed view
  - project search
  - landing page view
  - settings

Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 15:54:56 +01:00