Commit Graph
24 Commits
Author SHA1 Message Date
Michal Klos 84564e1b9a fix: test, file postprocessing flakyness
The file post processing logic for virus seems correct.
Test seems to have correct expectations.
The reason for random fails can be timing of results propagation.

Test CI output:
Scenario: list all upload sessions that are currently in postprocessing                            # /drone/src/tests/acceptance/features/cliCommands/uploadSessions.feature:25
    Given the following configs have been set:                                                       # OcisConfigContext::theConfigHasBeenSetToValue()
      | config                           | value     |
      | POSTPROCESSING_STEPS             | virusscan |
      | ANTIVIRUS_INFECTED_FILE_HANDLING | abort     |
    And user "Alice" has uploaded file "filesForUpload/filesWithVirus/eicar.com" to "/virusFile.txt" # FeatureContext::userHasUploadedAFileTo()
    And the config "POSTPROCESSING_DELAY" has been set to "10s"                                      # OcisConfigContext::theConfigHasBeenSetTo()
    And user "Alice" has uploaded file with content "uploaded content" to "/file1.txt"               # FeatureContext::userHasUploadedAFileWithContentTo()
    And user "Alice" has uploaded file with content "uploaded content" to "/file2.txt"               # FeatureContext::userHasUploadedAFileWithContentTo()
    When the administrator lists all the upload sessions with flag "processing"                      # CliContext::theAdministratorListsAllTheUploadSessions()
    Then the command should be successful                                                            # CliContext::theCommandShouldBeSuccessful()
    And the CLI response should contain these entries:                                               # CliContext::theCLIResponseShouldContainTheseEntries()
      | file1.txt |
      | file2.txt |
    And the CLI response should not contain these entries:                                           # CliContext::theCLIResponseShouldContainTheseEntries()
      | virusFile.txt |
      The resource 'virusFile.txt' was found in the response.
      Failed asserting that true is not true.
2025-04-02 13:54:50 +02:00
Niraj Acharya ff68659b4e adding test for trying to create auth app-token without expiry using cli 2025-03-28 12:03:25 +05:45
pradip 1848e43f08 tests: grouped email notification using CLI command 2025-03-06 17:14:02 +05:45
Niraj Acharya b5e5d9414c adding test for trying to create auth app-token for other user without impersonation env 2025-02-18 09:06:12 +05:45
Niraj AcharyaandPrashant Gurung 55d59d5b79 adding test for deleting auth token using cli
Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>
2025-02-10 12:12:23 +05:45
Niraj Acharya 558839faa6 adding test for creating auth token for an app using cli 2024-12-24 09:56:07 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
prashant-gurung899 e40015c2e2 add test to upload via TUS by federated user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-22 09:47:08 +05:45
Niraj Acharya 4dea245f80 adding test coverage for backup consistency 2024-11-07 10:32:35 +05:45
Prajwol Amatya f3f53a27d9 added test to clean upload sessions that are not in postprocessing and not infected by virus 2024-10-24 15:19:25 +05:45
Prajwol Amatya 0a12fd9834 add test to clean upload sessions that are not processing 2024-10-22 12:49:30 +05:45
Saw-jan f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Prajwol Amatya 4475d1efc0 add test to restart upload sessions 2024-10-15 14:41:25 +05:45
Prajwol Amatya c836695209 add tests for cli command uploads sessions 2024-10-08 12:09:53 +05:45
Sabin 381506ed86 cli test for delete empty trash bin directory 2024-07-25 09:36:00 +05:45
prashant-gurung899 89ca45bc80 add test to remove versions of files from space using space id
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-07-19 14:07:29 +05:45
ishabaral a78d501fc0 search: reindex command for all spaces 2024-07-19 10:15:11 +05:45
Sabin 52a0c346c3 added test for updating admin password via cli 2024-07-18 12:07:54 +05:45
prashant-gurung899 22be9de42c add test to remove versions of a file using file id
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-07-18 10:33:46 +05:45
prashant-gurung899 7b4a92c22a add test to remove versions using CLI command
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-07-16 15:31:38 +05:45
Sawjan Gurung 4696417a1f Merge pull request #9578 from owncloud/backup-consistency-cli-test
[tests-only][full-ci]adding test for backup consistency cli command
2024-07-11 15:25:52 +05:45
Niraj Acharya 735b24fff5 adding test for backup consistency cli command 2024-07-11 12:28:52 +05:45
Sabin 3095d843b8 added cli test for changing password of non-existing user 2024-07-11 09:39:57 +05:45
Saw-jan 9e6b6bc0f3 test: run cli test suites 2024-07-09 11:48:03 +05:45