Skip to content

Commit c8fe32b

Browse files
committed
test: skip failing tests based on server version
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
1 parent 9115cca commit c8fe32b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/shared_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ jobs:
326326
- name: API Tests
327327
env:
328328
NEXTCLOUD_BASE_URL: http://localhost
329+
BEHAT_FILTER_TAGS: '~@skip-${{ matrix.nextcloudVersion }}'
329330
run: make api-test
330331

331332
notify-nightly-report:

tests/acceptance/features/api/directUpload.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ Feature: API endpoint for direct upload
678678
}
679679
"""
680680

681-
681+
@skip-stable34
682682
Scenario: Upload a file that just fits into the users quota
683683
Given the quota of user "Carol" has been set to "10 B"
684684
And user "Carol" got a direct-upload token for "/"
@@ -892,7 +892,7 @@ Feature: API endpoint for direct upload
892892
"""
893893
And the content of file at "/.hidden" for user "Carol" should be "hidden file"
894894

895-
@skipOnStable25
895+
896896
Scenario: check version of uploaded file inside a normal folder
897897
Given user "Carol" has created folder "/forOP"
898898
And user "Carol" got a direct-upload token for "/forOP"
@@ -902,7 +902,7 @@ Feature: API endpoint for direct upload
902902
Then the HTTP status code should be "201"
903903
And the version folder of file "/forOP/file.txt" for user "Carol" should contain "1" element
904904

905-
@skipOnStable25
905+
906906
Scenario: check version of uploaded file after an update inside a normal folder
907907
Given user "Carol" has created folder "/forOP"
908908
And user "Carol" has uploaded file with content "1234567890" to "/forOP/file.txt"

0 commit comments

Comments
 (0)