Sebastian Martinez
4bb0e72841
Remove hash routing
...
Since we don't have or want any deployments on IPFS, and we don't have
much use for hash routing else, we can clean up some code and remove
some tests.
2024-03-04 14:39:36 +01:00
Rūdolfs Ošiņš
f9b1e5bf79
Install deps regardless of cache hit
2024-01-29 18:54:25 +00:00
Sebastian Martinez
27dcde41b0
Update actions in github workflow to v4
2024-01-25 16:14:16 +00:00
Rūdolfs Ošiņš
5684b8ef42
Refactor visual tests
...
We use built in devices for testing instead of our own custom ones.
Split up desktop and mobile visual tests for better separation.
2024-01-05 17:45:20 +00:00
Sebastian Martinez
23895bd826
Remove continue-on-error from e2e tests
...
This has introduced CI issues where e2e tests show up as successfull
as workflow but when entering the workflow show up as failed.
This is due to the nature of `continue-on-error` which marks a workflow
as successfull even if there where errors
2023-12-04 20:14:24 +01:00
Rūdolfs Ošiņš
709450cbac
Disable Firefox e2e tests on CI
...
They give us more headaches than they find bugs.
2023-11-16 17:53:30 +01:00
Sebastian Martinez
3bdf21ec06
Update dependencies
2023-11-15 12:51:02 +01:00
Sebastian Martinez
aa2ce409fb
Update GitHub CI
...
Due to us moving to Radicle, we need to implement the following changes.
- We don't need the CI to run on pull_requests anymore.
- We want the CI to run on any push.
- For visual tests we don't want to update any comments and just fail
the test and upload the artifacts for checking.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-10-02 11:23:09 +02:00
Sebastian Martinez
b079b7f51a
Update node version to 18.17.1
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-08-23 14:33:30 +02:00
Thomas Scholtes
40f2b3e516
Tests automatically use heartwood binaries from local test folder
...
It’s not necessary anymore to add the folder with the heartwood test
binaries to `PATH` before running the end-to-end tests.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-06-29 11:34:53 +02:00
Sebastian Martinez
c95b879edd
Update dependencies
...
Also update node to v18.16
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-17 09:59:09 +02:00
Sebastian Martinez
c32b303744
Add CLI tooling to create seed fixtures on the fly
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-12 14:23:10 +02:00
Rūdolfs Ošiņš
c8c251fabd
Add httpd-client api library
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-11 15:31:08 +02:00
Sebastian Martinez
4c3bd7ee04
Fix statically replaced HASH_ROUTING env variables
...
Also moves the HASH_ROUTING env variable from being modified inside the
hashRouter.spec.ts into the webserver config in the
playwright.config.ipfs.ts
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 11:50:24 +02:00
Rūdolfs Ošiņš
c1d0fbc1d7
Don't try to find comment on master for visual diffs
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-14 15:21:33 +01:00
Rūdolfs Ošiņš
68b0832280
Make sure visual diffs are generated on master
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-14 14:23:05 +01:00
Sebastian Martinez
e8325294fa
Join check and check-format scripts into one
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-14 10:35:57 +01:00
Rūdolfs Ošiņš
ce36068c57
Update nodejs version
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-13 15:04:20 +01:00
Rūdolfs Ošiņš
30ceea80ce
Fix link to artifacts
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-09 14:37:59 +01:00
Rūdolfs Ošiņš
8b9cbeb3ae
Use a Github bot to comment about visual diff changes
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-08 12:22:57 +01:00
Rūdolfs Ošiņš
742fe4dec0
Update deps
...
And re-enable Firefox tests.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-06 11:53:55 +01:00
Rūdolfs Ošiņš
2bad94457c
Migrate to the heartwood protocol stack
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-03 14:23:46 +01:00
Rūdolfs Ošiņš
d71f47a98a
Disable Firefox checks until Playwright is fixed
...
See https://github.com/microsoft/playwright/issues/21145 for more
details.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-27 16:26:10 +01:00
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
xphoniex and Rū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
Rūdolfs Ošiņš
d5f690926e
Move build smoke tests to a separate folder
...
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ņš and Sebastian 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
Sebastian Martinez
2c085c92fa
Add smoke check for production builds
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 17:53:19 +01:00
Rūdolfs Ošiņš
7088a990a2
Use node 18.12.1 LTS everywhere consistently
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-11-07 15:23:21 +01:00
Sebastian Martinez
d49130163d
Force Node CI version to 16.16
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-24 08:40:06 +02:00
Rūdolfs Ošiņš
d0f376cd41
Don't use outdated node on CI
...
ubuntu-latest already includes a recent node version, node 14 is at its EOL.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-08-12 15:45:36 +02:00
Sebastian Martinez
17fa47d41b
Update GH E2E CI actions
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-06-09 08:34:10 +02:00
Sebastian Martinez
286cb1cd21
Improve testing suite
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-03-24 15:05:15 +01:00
Sebastian Martinez
0a2481792c
Add unit & integration testing
...
* Add Cypress component testing
* Add SeedAddress component testing
* Add Error component test
* Add Search component test
* Add code coverage instrumentation
* Add BranchSelector component testing
* Add coverage check to CI
* Require node version 14
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-31 16:05:23 +01:00
Alexis Sellier
9a11bb8ebd
Combine svelte-check with tsc check
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-06-21 13:58:46 +02:00
Alexis Sellier
bc1b01e09d
Fix naming of CI jobs
2021-06-21 11:55:54 +02:00
Sebastian Martinez
40570de998
Fix check and build CI
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-06-18 09:21:45 -03:00
Sebastian Martinez
c8ed1d8034
Add pull_request to CI
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-06-18 09:21:44 -03:00