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 5, 2024
1 parent b27b83e commit 5352c2b
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 @@ -85,6 +87,10 @@ Feature: an user shares resources using ScienceMesh application
}
}
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
},
"name": {
"const": "<resource>"
}
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 @@ -164,6 +172,10 @@ Feature: an user shares resources using ScienceMesh application
}
}
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
},
"name": {
"const": "folderToShare"
}
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 @@ -249,6 +263,10 @@ Feature: an user shares resources using ScienceMesh application
}
}
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
},
"name": {
"const": "<resource>"
}
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 @@ -486,6 +506,19 @@ Feature: an user shares resources using ScienceMesh application
}
}
},
"eTag": {
"type": "string",
"pattern": "%etag_pattern%"
},
"file": {
"type": "object",
"required": ["mimeType"],
"properties": {
"mimeType": {
"const": "text/plain"
}
}
},
"name": {
"const": "textfile.txt"
},
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 5352c2b

Please sign in to comment.