Sebastian Martinez
205fc814bc
Bring reactions to comments and issues
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 15:36:02 +02:00
Sebastian Martinez
28718ba0cf
Add --alias to rad auth
...
To avoid the popping up of a terminal input field during the
globalFixture setup, we need to pass the wanted alias as a flag.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 15:36:02 +02:00
Sebastian Martinez
6e3bcc1998
Update heartwood version
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 15:36:02 +02:00
Sebastian Martinez
145169d03d
Changes necessary for heartwood update
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-11 13:59:23 +02:00
Sebastian Martinez
db94969f8a
Allow httpd API ports to be generated randomly.
...
To avoid port collisions between tests that can eventually run in
parallel, we need to be able to generate random port numbers.
This commit generates random httpd port numbers for inline tests,
while keeping the current palm seed with the default port number 8080.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-09 14:19:47 +02:00
Thomas Scholtes
999a3a4c30
Use non-dev port for webserver during end-to-end tests
...
The end-to-end tests no run against the app served on port 3001 so that
we don’t need to shut down the development server.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-09 13:54:24 +02:00
Sebastian Martinez
91f5abafd3
Add a UI test flow for issues
...
Tests:
- Authentication
- Issue creation
- Title editing
- Commenting
- Reply to comment
- Issue state change
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-05 13:48:42 +02:00
Sebastian Martinez
555d4da30c
Fix some style regressions in patch view
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 16:33:17 +02:00
Sebastian Martinez
e0261fe69e
Add more comments and replies and a rejected review to the test fixtures
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 14:52:51 +02:00
Sebastian Martinez
0cd42908e5
Add error handling for issue creation and commenting
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 14:14:29 +02:00
Sebastian Martinez
3e797a2d08
Make a globalSetup for the httpd-client tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 09:56:23 +02:00
Sebastian Martinez
78663937d1
Add ability to stop test nodes and httpds
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 09:56:23 +02:00
Sebastian Martinez
e5dccba3ff
Teardown hanging processes in Vitest
...
After setting up the global env for the httpd:api tests, there were
tests hanging until the timeout of 10 seconds killed them.
By returning an async function from the globalSetup we can kill them
preemptively.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 09:56:23 +02:00
Sebastian Martinez
dbad9ddeef
Remove hack for happy-dom
...
The update to happy-dom 8.0 did remove the need to do the assignment
hack in `setupVitest`
source: https://github.com/vitest-dev/vitest/issues/2305#issuecomment-1396387954
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-30 07:24: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
f971d777f2
Add missing moved and copied file operations to Changeset
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-17 17:50:19 +01:00
Sebastian Martinez
0e6be19373
Add patch reviewers in sidebar
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 17:23:37 +02:00
Sebastian Martinez
31be78144f
Fix padding issues of project headers on mobile
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 10:19:56 +02:00
Sebastian Martinez
2c886ea274
Add margin between comment threads in issue view
...
Adds also a root level comment to the cobFixture to avoid margin
regressions between root level comments
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-19 14:07:43 +02:00
Sebastian Martinez
6fbc453fd4
Update heartwood-version
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-19 13:33:40 +02:00
Sebastian Martinez
4fcb7373a3
Add more tests to revision selector
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-14 09:21:09 +02:00
Rūdolfs Ošiņš and Thomas Scholtes
a331721c9f
Move project source browsing loading into the router
...
Co-authored-by: Thomas Scholtes <geigerzaehler@axiom.fm >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-13 14:24:27 +02:00
Sebastian Martinez
107696c3c9
Add a cobs fixture and issue and patch tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +02:00
Sebastian Martinez
889b13303b
Extract markdown from source-browsing fixture
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-05 15:08:32 +02:00
xphoniex
c3346575ee
Show number of nodes tracking a repo
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-06-02 13:11:27 +00:00
Sebastian Martinez
99f27350c1
Fix out-of-state commit listing when refreshing page after push
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-01 10:09:12 +02:00
Sebastian Martinez
277c8d23fd
Add peerManager to e2e tests fixture
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-01 10:03:36 +02:00
Rūdolfs Ošiņš
17a8696c34
Update dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-31 15:03:03 +02:00
Sebastian Martinez
d5d665f070
Reduce e2e tests flakiness
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-23 10:56:47 +02:00
Sebastian Martinez
ab139cea8d
Add more sleep to branch creations
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-15 12:17:37 +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ņš
b997b12353
Implement data loading in router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:51:35 +02:00
Rūdolfs Ošiņš
069b0949d5
Enable the @typescript-eslint/no-floating-promises rule
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 15:05:05 +02:00
Rūdolfs Ošiņš
6efe60984b
Update logo and favicon
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 08:22:28 +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
Rūdolfs Ošiņš
9e1fc49ae7
Fix mixed content warning when connecting to local node
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-05 13:49:52 +02:00
Sebastian Martinez
3ea6a07dc4
Update seed fixture to latest heartwood commit
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-14 11:13:15 +01:00
Rūdolfs Ošiņš
94d0ec50c5
Improve nodeId formatting on various views
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-07 13:30:40 +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
xphoniex
9fae5ebb33
Update heartwood fixture and re-enable tests
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-30 14:27:46 +00:00
Sebastian Martinez
25135c7025
Remove Ethereum functionality
...
This commit removes everything Ethereum related, this includes:
- profile pages (which relied on Ethereum information)
- testnet faucet
- vesting contract lookup
- .radicle.eth ENS registrations
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-01-30 11:30:41 +01:00
Sebastian Martinez
4b58539eff
Vendor onig WASM dependency
...
Instead of letting `starry-night` fetch the `vscode-oniguruma` WASM, we
fetch it from the `node_modules` folder and do the same in the e2e
tests.
For this to work we need to update `starry-night` to version `1.5.0`
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-01-05 14:51:26 +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ņš and xphoniex
26f96990a4
Extract fixture specific variables
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-28 12:23:28 +01:00
Rūdolfs Ošiņš and xphoniex
1a5430aced
Rename URN -> ID
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-27 15:43:46 +01:00
Sebastian Martinez
e86accafae
Handle errors in Browser.svelte
...
Updates also the seed fixture to fix some minor issues and add a
relative image markdown example
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-21 17:10:20 +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ņš
836b0ccc09
Extract fixture URL
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš
0b6d9586ee
Extract custom app config in tests
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:05:57 +01:00
Sebastian Martinez
569b660134
Move syntax highlighting to web client
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-16 11:00:17 +01:00