-
Notifications
You must be signed in to change notification settings - Fork 0
Add new scenario with files #48
Copy link
Copy link
Open
Milestone
Description
In order to test file support within Ember Nexus API, it is required to add files to the reference dataset as well.
I suggest the following structure:
- Scenario
endpoint.file.getElementFile:- 1 user node.
- 1 token node.
- Data node with name
missing.
No file attached to the data node. - Data node with name
empty.
Empty file attached to the data node. - Data node with name
text.
Text file attached to the data node. Size should be around 10 KB. - Data node with name
small.
Small binary file attached to the data node, likely some sort of image. Size should be around 100 KB. - Data node with name
medium.
Medium binary file attached to the data node, likely some sort of image. Size should be around 10 MB. - Data node with name
big.
Big binary file attached to the data node, likely some sort of random binary file. Size should be around 90 MB.
Note: GitHub has a limit of 100 MiB for repositories which have not enabled Git LFS.
- Scenario
endpoint.file.postElementFile:- 1 user node.
- 1 token node.
- Data nodes with the names
empty,text,small,medium,bigandhugewith no files attached.
Thehugeelement should be used to test the upload of a multi GB size - ideally 6 GB.
- Scenario
endpoint.file.putElementFile:- 1 user node.
- 1 token node.
- Data node with name
missing.
No file attached to the data node. - Data node with name
empty.
Empty file attached to the data node. - Data node with name
text.
Text file attached to the data node. Size should be around 10 KB. - Data node with name
small.
Small binary file attached to the data node, likely some sort of image. Size should be around 100 KB. - Data node with name
medium.
Medium binary file attached to the data node, likely some sort of image. Size should be around 10 MB. - Data node with name
big.
Big binary file attached to the data node, likely some sort of random binary file. Size should be around 90 MB.
Note: GitHub has a limit of 100 MiB for repositories which have not enabled Git LFS.
- Scenario
endpoint.file.deleteElementFile:- 1 user node.
- 1 token node.
- Data node with name
missing.
No file attached to the data node. - Data node with name
empty.
Empty file attached to the data node. - Data node with name
text.
Text file attached to the data node. Size should be around 10 KB. - Data node with name
small.
Small binary file attached to the data node, likely some sort of image. Size should be around 100 KB. - Data node with name
medium.
Medium binary file attached to the data node, likely some sort of image. Size should be around 10 MB. - Data node with name
big.
Big binary file attached to the data node, likely some sort of random binary file. Size should be around 90 MB.
Note: GitHub has a limit of 100 MiB for repositories which have not enabled Git LFS.
- Scenario
endpoint.file.upload:- 1 user node.
- 1 token node.
- 1 data node.
- Scenarios
security.*receive additionalFilenodes, such that file-related logic can be tested. - Scenario
security.limitedAccess.updateAccess:- 1 user node.
- 1 token node.
- 2 data nodes, both connected via
HAS_READ_ACCESSandHAS_UPDATE_ACCESS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status