Skip to content
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

integration test - website upload with multiple sub directories #442

Open
istae opened this issue Jan 9, 2025 · 0 comments
Open

integration test - website upload with multiple sub directories #442

istae opened this issue Jan 9, 2025 · 0 comments
Assignees

Comments

@istae
Copy link
Member

istae commented Jan 9, 2025

we need to create a new integration that:

  1. uploads a whole directory with a root index.html and multiple sub-paths.
  2. fetches the reference so that index.html is returned, and fetches all sub directories
  3. updates the directory a couples of times with some new files.
  4. fetches the reference and all new sub directories.

see https://docs.ethswarm.org/docs/develop/access-the-swarm/upload-and-download for inspiration
for example:

my_website
├── assets
│   └── style.css
              └── images
                      └── image1.png
├── index.html
└── error.html

we already have "manifest" integration test, maybe we can extend the already existing test to include the above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants