Skip to content

Commit

Permalink
test: check etag
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Dec 9, 2024
1 parent bb1401e commit 9527f00
Showing 1 changed file with 38 additions and 9 deletions.
47 changes: 38 additions & 9 deletions tests/acceptance/features/apiOcm/share.feature
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ Feature: an user shares resources using ScienceMesh application
"@UI.Hidden",
"@client.synchronize",
"createdBy",
"name"
"name",
"eTag",
"remoteItem"
],
"properties": {
"@UI.Hidden": {
Expand Down Expand Up @@ -87,6 +89,10 @@ Feature: an user shares resources using ScienceMesh application
},
"name": {
"const": "<resource>"
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
}
}
}
Expand Down Expand Up @@ -136,7 +142,9 @@ Feature: an user shares resources using ScienceMesh application
"@UI.Hidden",
"@client.synchronize",
"createdBy",
"name"
"name",
"eTag",
"remoteItem"
],
"properties": {
"@UI.Hidden": {
Expand Down Expand Up @@ -166,6 +174,10 @@ Feature: an user shares resources using ScienceMesh application
},
"name": {
"const": "folderToShare"
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
}
}
}
Expand Down Expand Up @@ -210,7 +222,9 @@ Feature: an user shares resources using ScienceMesh application
"@UI.Hidden",
"@client.synchronize",
"createdBy",
"name"
"name",
"eTag",
"remoteItem"
],
"properties": {
"@UI.Hidden": {
Expand Down Expand Up @@ -251,6 +265,10 @@ Feature: an user shares resources using ScienceMesh application
},
"name": {
"const": "<resource>"
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
}
}
}
Expand Down Expand Up @@ -399,6 +417,8 @@ Feature: an user shares resources using ScienceMesh application
"parentReference",
"permissions",
"name",
"eTag",
"file",
"size"
],
"properties": {
Expand Down Expand Up @@ -489,6 +509,19 @@ Feature: an user shares resources using ScienceMesh application
"name": {
"const": "textfile.txt"
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
},
"file": {
"type": "object",
"required": ["mimeType"],
"properties": {
"mimeType": {
"const": "text/plain"
}
}
},
"size": {
"const": 8
}
Expand Down Expand Up @@ -691,9 +724,7 @@ Feature: an user shares resources using ScienceMesh application
},
"file": {
"type": "object",
"required": [
"mimeType"
],
"required": ["mimeType"],
"properties": {
"mimeType": {
"const": "image/jpeg"
Expand All @@ -715,9 +746,7 @@ Feature: an user shares resources using ScienceMesh application
"properties": {
"file": {
"type": "object",
"required": [
"mimeType"
],
"required": ["mimeType"],
"properties": {
"mimeType": {
"const": "image/jpeg"
Expand Down

0 comments on commit 9527f00

Please sign in to comment.