-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update e2e instructions #7442
base: v3.33
Are you sure you want to change the base?
Update e2e instructions #7442
Conversation
DEVELOPMENT.md
Outdated
#### Development Configuration | ||
|
||
> To use a convenient interactive launcher for the development environments without any further setup required, please see the (interactive development stack launcher tool)[#interactive-development-stack-launcher-tool] | ||
> The preffered way to set up the development environment is to use the [interactive development stack launcher tool](#interactive-development-stack-launcher-tool). | ||
|
||
In order to set up The Things Stack to support running the frontend via `webpack-dev-server`, the following environment setup is needed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So all these env blocks are only needed when not using dev:serveDevWebui
, right?
If that is the case, can this be moved lower in the page for advanced use?
What I'm getting is tons of stack errors about Redis keys not existing:
This is probably because of |
I am also seeing these warnings. It's weird because we before we also didn't restore the Redis db, but these warnings weren't there. Besides, |
I wonder how it worked before. This |
I see. How do I know which keys are test-related and delete only those? |
I think that everything can be deleted except:
Also make sure that telemetry is disabled in the config (if that is not already the case). Alternatively, as part of flushing the Redis database, the stack may also be restarted. Then it recreates these Redis keys automatically. Not sure if it is possible/desired to restart the stack between tests though? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to run the E2E locally it was really easy to setup, very helpful.
I left some comments regarding the readability of the development.md
.
Summary
References https://github.com/TheThingsIndustries/lorawan-stack/issues/4471
This PR updates the documentation regarding how to run the stack locally for frontend development and how to run the e2e tests locally.
Changes
Testing
Steps
Checklist
README.md
for the chosen target branch.CHANGELOG.md
.CONTRIBUTING.md
, there are no fixup commits left.