Skip to content

Fix unneeded doc link to unrelated resource - #14620

Merged
MorrisJobke merged 1 commit into
masterfrom
fix/noid/copy-paste-typo
Mar 11, 2019
Merged

Fix unneeded doc link to unrelated resource#14620
MorrisJobke merged 1 commit into
masterfrom
fix/noid/copy-paste-typo

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member

Found by @SystemKeeper - thanks for that.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobkeMorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 11, 2019
@faily-bot

faily-botBot commented Mar 11, 2019

Copy link
Copy Markdown

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 16905: failure

TESTS=integration-federation_features

  • build/integration/federation_features/federated.feature:183
  • build/integration/federation_features/federated.feature:232
  • build/integration/federation_features/federated.feature:247
  • build/integration/federation_features/federated.feature:263
Show full log
[Mon Mar 11 10:14:58 2019] 127.0.0.1:35754 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Mon Mar 11 10:14:59 2019] 127.0.0.1:35828 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Reshare a federated shared file # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:183
Given Using server "REMOTE" # FederationContext::usingServer()
[Mon Mar 11 10:15:00 2019] 127.0.0.1:41258 [404]: /ocs/v2.php/cloud/users/user1
[Mon Mar 11 10:15:02 2019] 127.0.0.1:41306 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:15:28 2019] 127.0.0.1:41410 [200]: /ocs/v1.php/cloud/users/user1
[Mon Mar 11 10:15:29 2019] 127.0.0.1:42368 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:15:29 2019] 127.0.0.1:42372 [404]: /ocs/v2.php/cloud/users/user2
[Mon Mar 11 10:15:33 2019] 127.0.0.1:42438 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:15:53 2019] 127.0.0.1:42522 [200]: /ocs/v1.php/cloud/users/user2
[Mon Mar 11 10:15:54 2019] 127.0.0.1:43104 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Mon Mar 11 10:15:56 2019] 127.0.0.1:37750 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:15:59 2019] 127.0.0.1:37894 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:16:18 2019] 127.0.0.1:37912 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:16:19 2019] 127.0.0.1:38274 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:16:20 2019] 127.0.0.1:43720 [200]: /ocm-provider/
[Mon Mar 11 10:16:20 2019] 127.0.0.1:43722 [201]: /index.php/ocm/shares
[Mon Mar 11 10:16:20 2019] 127.0.0.1:38290 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Mon Mar 11 10:16:21 2019] 127.0.0.1:43724 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Mon Mar 11 10:16:21 2019] 127.0.0.1:38360 [200]: //ocm-provider/
[Mon Mar 11 10:16:21 2019] 127.0.0.1:38362 [201]: /index.php/ocm/notifications
[Mon Mar 11 10:16:21 2019] 127.0.0.1:38364 [200]: //ocs-provider/
[Mon Mar 11 10:16:21 2019] 127.0.0.1:38366 [200]: /ocs/v2.php/cloud/shares/8/accept?format=json
[Mon Mar 11 10:16:21 2019] 127.0.0.1:43726 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/9
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
[Mon Mar 11 10:16:22 2019] 127.0.0.1:38418 [200]: //ocs-provider/
[Mon Mar 11 10:16:22 2019] 127.0.0.1:38420 [200]: //status.php
[Mon Mar 11 10:16:22 2019] 127.0.0.1:38422 [200]: //status.php
[Mon Mar 11 10:16:22 2019] 127.0.0.1:38424 [200]: /index.php/apps/files_sharing/shareinfo?t=h92mpJ13XSYzA1g
[Mon Mar 11 10:16:22 2019] 127.0.0.1:43756 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # FederationContext::creatingShare()
| path | /textfile0 (2).txt |
| shareType | 0 |
| shareWith | user2 |
| permissions | 19 |
Then the OCS status code should be "100" # FederationContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &000000001166633f0000000048dda2ca (
0 => '404'
) matches expected '100'.
And the HTTP status code should be "200" # FederationContext::theHTTPStatusCodeShouldBe()
And Share fields of last share match with # FederationContext::checkShareFields()
| id | A_NUMBER |
| item_type | file |
| item_source | A_NUMBER |
| share_type | 0 |
| file_source | A_NUMBER |
| path | /textfile0 (2).txt |
| permissions | 19 |
| stime | A_NUMBER |
| storage | A_NUMBER |
| mail_send | 1 |
| uid_owner | user1 |
| file_parent | A_NUMBER |
| displayname_owner | user1 |
| share_with | user2 |
| share_with_displayname | user2 |
[Mon Mar 11 10:16:27 2019] 127.0.0.1:38426 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:16:28 2019] 127.0.0.1:38536 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:16:32 2019] 127.0.0.1:38838 [200]: //ocm-provider/
[Mon Mar 11 10:16:32 2019] 127.0.0.1:38840 [400]: /index.php/ocm/notifications
[Mon Mar 11 10:16:32 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 8"}
[Mon Mar 11 10:17:53 2019] 127.0.0.1:41788 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Mon Mar 11 10:17:54 2019] 127.0.0.1:41792 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Overwrite a federated shared folder as recipient # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:232
Given Using server "REMOTE" # FederationContext::usingServer()
[Mon Mar 11 10:17:55 2019] 127.0.0.1:47184 [404]: /ocs/v2.php/cloud/users/user1
[Mon Mar 11 10:17:57 2019] 127.0.0.1:47186 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:18:09 2019] 127.0.0.1:47246 [200]: /ocs/v1.php/cloud/users/user1
[Mon Mar 11 10:18:10 2019] 127.0.0.1:47476 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:18:10 2019] 127.0.0.1:47484 [404]: /ocs/v2.php/cloud/users/user2
[Mon Mar 11 10:18:12 2019] 127.0.0.1:47498 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:18:24 2019] 127.0.0.1:47576 [200]: /ocs/v1.php/cloud/users/user2
[Mon Mar 11 10:18:25 2019] 127.0.0.1:48422 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Mon Mar 11 10:18:25 2019] 127.0.0.1:43036 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:18:27 2019] 127.0.0.1:43058 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:18:35 2019] 127.0.0.1:43100 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:18:36 2019] 127.0.0.1:43718 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:18:37 2019] 127.0.0.1:49162 [200]: /ocm-provider/
[Mon Mar 11 10:18:38 2019] 127.0.0.1:49164 [201]: /index.php/ocm/shares
[Mon Mar 11 10:18:38 2019] 127.0.0.1:43750 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Mon Mar 11 10:18:38 2019] 127.0.0.1:49176 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Mon Mar 11 10:18:39 2019] 127.0.0.1:43824 [200]: //ocm-provider/
[Mon Mar 11 10:18:39 2019] 127.0.0.1:43826 [201]: /index.php/ocm/notifications
[Mon Mar 11 10:18:39 2019] 127.0.0.1:43828 [200]: //ocs-provider/
[Mon Mar 11 10:18:39 2019] 127.0.0.1:43830 [200]: /ocs/v2.php/cloud/shares/10/accept?format=json
[Mon Mar 11 10:18:39 2019] 127.0.0.1:49210 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/11
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
And User "user1" modifies text of "/textfile0.txt" with text "BLABLABLA" # FederationContext::modifyTextOfFile()
[Mon Mar 11 10:18:40 2019] 127.0.0.1:43854 [200]: //ocs-provider/
[Mon Mar 11 10:18:40 2019] 127.0.0.1:43876 [401]: /public.php/webdav/textfile0.txt
[Mon Mar 11 10:18:40 2019] 127.0.0.1:43878 [404]: /public.php/webdav/textfile0.txt
[Mon Mar 11 10:18:40 2019] 127.0.0.1:43880 [200]: //status.php
[Mon Mar 11 10:18:40 2019] 127.0.0.1:43882 [200]: //status.php
[Mon Mar 11 10:18:40 2019] 127.0.0.1:43884 [200]: /index.php/apps/files_sharing/shareinfo?t=k51iI113LI0Wq8t
[Mon Mar 11 10:18:40 2019] Undefined index: size at /drone/src/github.com/nextcloud/server/lib/private/Files/View.php#1324
[Mon Mar 11 10:18:40 2019] Undefined index: storage_mtime at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#126
[Mon Mar 11 10:18:41 2019] 127.0.0.1:43886 [207]: /public.php/webdav/
[Mon Mar 11 10:18:41 2019] Undefined index: etag at /drone/src/github.com/nextcloud/server/lib/private/Files/Storage/DAV.php#784
[Mon Mar 11 10:18:41 2019] 127.0.0.1:43888 [200]: //status.php
[Mon Mar 11 10:18:41 2019] 127.0.0.1:43890 [200]: //status.php
[Mon Mar 11 10:18:41 2019] 127.0.0.1:43892 [200]: /index.php/apps/files_sharing/shareinfo?t=k51iI113LI0Wq8t
[Mon Mar 11 10:18:41 2019] Undefined index: mimetype at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#108
[Mon Mar 11 10:18:41 2019] 127.0.0.1:49240 [404]: /remote.php/webdav/PARENT%20(2)/textfile0.txt
When User "user1" uploads file "../../data/user1/files/textfile0.txt" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsAFileTo()
Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
And Downloading file "/PARENT (2)/textfile0.txt" with range "bytes=0-8" # FederationContext::downloadFileWithRange()
Then Downloaded content should be "BLABLABLA" # FederationContext::downloadedContentShouldBe()
[Mon Mar 11 10:18:45 2019] 127.0.0.1:43894 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:18:46 2019] 127.0.0.1:43988 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:18:50 2019] 127.0.0.1:44072 [200]: //ocm-provider/
[Mon Mar 11 10:18:50 2019] 127.0.0.1:44074 [400]: /index.php/ocm/notifications
[Mon Mar 11 10:18:50 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 10"}
[Mon Mar 11 10:18:55 2019] 127.0.0.1:44244 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Mon Mar 11 10:18:56 2019] 127.0.0.1:44266 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Overwrite a federated shared file as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:247
Given Using server "REMOTE" # FederationContext::usingServer()
[Mon Mar 11 10:18:56 2019] 127.0.0.1:49656 [404]: /ocs/v2.php/cloud/users/user1
[Mon Mar 11 10:18:57 2019] 127.0.0.1:49658 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:19:03 2019] 127.0.0.1:49680 [200]: /ocs/v1.php/cloud/users/user1
[Mon Mar 11 10:19:03 2019] 127.0.0.1:49802 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:19:04 2019] 127.0.0.1:49804 [404]: /ocs/v2.php/cloud/users/user2
[Mon Mar 11 10:19:05 2019] 127.0.0.1:49806 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:19:12 2019] 127.0.0.1:49828 [200]: /ocs/v1.php/cloud/users/user2
[Mon Mar 11 10:19:12 2019] 127.0.0.1:49968 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Mon Mar 11 10:19:12 2019] 127.0.0.1:44586 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:19:14 2019] 127.0.0.1:44588 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:19:21 2019] 127.0.0.1:44610 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:19:21 2019] 127.0.0.1:44772 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:19:22 2019] 127.0.0.1:50184 [200]: /ocm-provider/
[Mon Mar 11 10:19:22 2019] 127.0.0.1:50186 [201]: /index.php/ocm/shares
[Mon Mar 11 10:19:22 2019] 127.0.0.1:44774 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Mon Mar 11 10:19:23 2019] 127.0.0.1:50188 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Mon Mar 11 10:19:23 2019] 127.0.0.1:44824 [200]: //ocm-provider/
[Mon Mar 11 10:19:23 2019] 127.0.0.1:44826 [201]: /index.php/ocm/notifications
[Mon Mar 11 10:19:23 2019] 127.0.0.1:44828 [200]: //ocs-provider/
[Mon Mar 11 10:19:23 2019] 127.0.0.1:44830 [200]: /ocs/v2.php/cloud/shares/11/accept?format=json
[Mon Mar 11 10:19:23 2019] 127.0.0.1:50190 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/12
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
[Mon Mar 11 10:19:24 2019] 127.0.0.1:44834 [200]: //ocs-provider/
[Mon Mar 11 10:19:24 2019] 127.0.0.1:44854 [401]: /public.php/webdav/
[Mon Mar 11 10:19:24 2019] 127.0.0.1:44858 [207]: /public.php/webdav/
[Mon Mar 11 10:19:25 2019] 127.0.0.1:44860 [200]: //status.php
[Mon Mar 11 10:19:25 2019] 127.0.0.1:44862 [200]: //status.php
[Mon Mar 11 10:19:25 2019] 127.0.0.1:44864 [200]: /index.php/apps/files_sharing/shareinfo?t=lChYX9pPEy4AkSB
[Mon Mar 11 10:19:25 2019] 127.0.0.1:50220 [404]: /remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0
And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
Client error: `PUT http://localhost:8180/remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
And user "user1" uploads chunk file "2" of "3" with "BBBBB" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
And user "user1" uploads chunk file "3" of "3" with "CCCCC" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
When Downloading file "/textfile0 (2).txt" with range "bytes=0-4" # FederationContext::downloadFileWithRange()
Then Downloaded content should be "AAAAA" # FederationContext::downloadedContentShouldBe()
[Mon Mar 11 10:19:29 2019] 127.0.0.1:44866 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:19:29 2019] 127.0.0.1:44948 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:19:33 2019] 127.0.0.1:45032 [200]: //ocm-provider/
[Mon Mar 11 10:19:33 2019] 127.0.0.1:45034 [400]: /index.php/ocm/notifications
[Mon Mar 11 10:19:33 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 11"}
[Mon Mar 11 10:19:38 2019] 127.0.0.1:45178 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/incoming_server2server_group_share_enabled
[Mon Mar 11 10:19:38 2019] 127.0.0.1:45236 [200]: /ocs/v1.php/apps/testing/api/v1/app/files_sharing/outgoing_server2server_group_share_enabled
Scenario: Overwrite a federated shared folder as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:263
Given Using server "REMOTE" # FederationContext::usingServer()
[Mon Mar 11 10:19:39 2019] 127.0.0.1:50636 [404]: /ocs/v2.php/cloud/users/user1
[Mon Mar 11 10:19:41 2019] 127.0.0.1:50652 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:19:50 2019] 127.0.0.1:50688 [200]: /ocs/v1.php/cloud/users/user1
[Mon Mar 11 10:19:51 2019] 127.0.0.1:50894 [200]: /ocs/v2.php/cloud/users/user1
And user "user1" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:19:51 2019] 127.0.0.1:50900 [404]: /ocs/v2.php/cloud/users/user2
[Mon Mar 11 10:19:52 2019] 127.0.0.1:50902 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:19:58 2019] 127.0.0.1:50908 [200]: /ocs/v1.php/cloud/users/user2
[Mon Mar 11 10:19:58 2019] 127.0.0.1:50934 [200]: /ocs/v2.php/cloud/users/user2
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
[Mon Mar 11 10:19:59 2019] 127.0.0.1:45548 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:20:00 2019] 127.0.0.1:45554 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:20:06 2019] 127.0.0.1:45560 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:20:06 2019] 127.0.0.1:45584 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # FederationContext::assureUserExists()
[Mon Mar 11 10:20:07 2019] 127.0.0.1:50980 [200]: /ocm-provider/
[Mon Mar 11 10:20:07 2019] 127.0.0.1:50982 [201]: /index.php/ocm/shares
[Mon Mar 11 10:20:07 2019] 127.0.0.1:45590 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
[Mon Mar 11 10:20:07 2019] 127.0.0.1:50984 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
[Mon Mar 11 10:20:08 2019] 127.0.0.1:45604 [200]: //ocm-provider/
[Mon Mar 11 10:20:08 2019] 127.0.0.1:45606 [201]: /index.php/ocm/notifications
[Mon Mar 11 10:20:08 2019] 127.0.0.1:45608 [200]: //ocs-provider/
[Mon Mar 11 10:20:08 2019] 127.0.0.1:45610 [200]: /ocs/v2.php/cloud/shares/12/accept?format=json
[Mon Mar 11 10:20:08 2019] 127.0.0.1:50990 [200]: /ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/13
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
[Mon Mar 11 10:20:08 2019] 127.0.0.1:45620 [200]: //ocs-provider/
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45622 [200]: //status.php
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45624 [200]: //status.php
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45626 [200]: /index.php/apps/files_sharing/shareinfo?t=SJIDiStTStU7Whf
[Mon Mar 11 10:20:09 2019] Undefined index: size at /drone/src/github.com/nextcloud/server/lib/private/Files/View.php#1324
[Mon Mar 11 10:20:09 2019] Undefined index: storage_mtime at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#126
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45628 [401]: /public.php/webdav/
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45630 [207]: /public.php/webdav/
[Mon Mar 11 10:20:09 2019] Undefined index: etag at /drone/src/github.com/nextcloud/server/lib/private/Files/Storage/DAV.php#784
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45632 [200]: //status.php
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45634 [200]: //status.php
[Mon Mar 11 10:20:09 2019] 127.0.0.1:45636 [200]: /index.php/apps/files_sharing/shareinfo?t=SJIDiStTStU7Whf
[Mon Mar 11 10:20:09 2019] Undefined index: mimetype at /drone/src/github.com/nextcloud/server/lib/private/Files/Cache/Watcher.php#108
[Mon Mar 11 10:20:09 2019] 127.0.0.1:51000 [404]: /remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0
And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
And user "user1" uploads chunk file "2" of "3" with "BBBBB" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
And user "user1" uploads chunk file "3" of "3" with "CCCCC" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
When Downloading file "/PARENT (2)/textfile0.txt" with range "bytes=3-13" # FederationContext::downloadFileWithRange()
Then Downloaded content should be "AABBBBBCCCC" # FederationContext::downloadedContentShouldBe()
[Mon Mar 11 10:20:12 2019] 127.0.0.1:45638 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:20:13 2019] 127.0.0.1:45656 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:20:16 2019] 127.0.0.1:45676 [200]: //ocm-provider/
[Mon Mar 11 10:20:16 2019] 127.0.0.1:45678 [400]: /index.php/ocm/notifications
[Mon Mar 11 10:20:16 2019] error while sending notification for federated share: Client error: `POST http://localhost:8080/index.php/ocm/notifications` resulted in a `400 Bad request` response:
{"message":"Can not find share with ID: 12"}

TESTS=integration-sharing-v1

  • build/integration/features/sharing-v1.feature:58
Show full log
 Scenario: Creating a new public share # /drone/src/github.com/nextcloud/server/build/integration/features/sharing-v1.feature:58
[Mon Mar 11 10:06:39 2019] 127.0.0.1:59818 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:06:39 2019] 127.0.0.1:59820 [200]: /ocs/v1.php/cloud/users
[Mon Mar 11 10:06:39 2019] 127.0.0.1:59832 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:06:39 2019] 127.0.0.1:59840 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # FeatureContext::assureUserExists()
And As an "user0" # FeatureContext::asAn()
[Mon Mar 11 10:06:39 2019] 127.0.0.1:59842 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # FeatureContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
Then the OCS status code should be "100" # FeatureContext::theOCSStatusCodeShouldBe()
And the HTTP status code should be "200" # FeatureContext::theHTTPStatusCodeShouldBe()
[Mon Mar 11 10:06:40 2019] 127.0.0.1:59848 [404]: /index.php/s/g9prkDMfRfAATcA/download
And Public shared file "welcome.txt" can be downloaded # FeatureContext::checkPublicSharedFile()
Client error: `GET http://localhost:8080/index.php/s/g9prkDMfRfAATcA/download` resulted in a `404 Not Found` response (GuzzleHttp\Exception\ClientException)
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59892 [200]: /ocs/v1.php/cloud/users/user0
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59898 [404]: /ocs/v2.php/cloud/users/user0
[Mon Mar 11 10:06:41 2019] Login failed: 'user0' (Remote IP: '127.0.0.1')
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59904 [401]: /remote.php/webdav/myFileToComment.txt
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59906 [207]: /remote.php/dav/systemtags/
[Mon Mar 11 10:06:41 2019] Login failed: 'user0' (Remote IP: '127.0.0.1')
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59910 [401]: /remote.php/webdav/myFileToTag.txt
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59914 [404]: /remote.php/dav/addressbooks/users/admin/MyAddressbook
[Mon Mar 11 10:06:41 2019] 127.0.0.1:59918 [404]: /remote.php/dav/calendars/admin/MyCalendar

TESTS=acceptance, TESTS-ACCEPTANCE=app-files-sharing-link

  • tests/acceptance/features/app-files-sharing-link.feature:3
  • tests/acceptance/features/app-files-sharing-link.feature:26
  • tests/acceptance/features/app-files-sharing-link.feature:40
  • tests/acceptance/features/app-files-sharing-link.feature:60
  • tests/acceptance/features/app-files-sharing-link.feature:81
  • tests/acceptance/features/app-files-sharing-link.feature:116
  • tests/acceptance/features/app-files-sharing-link.feature:128
  • tests/acceptance/features/app-files-sharing-link.feature:139
Show full log
 Scenario: open the menu in a public shared link # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:3
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I share the link for "welcome.txt" # FilesAppSharingContext::iShareTheLinkFor()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
And I open the Share menu # PublicShareContext::iOpenTheShareMenu()
Share menu button in Shared file page could not be found after 100 seconds (NoSuchElementException)
Then I see that the Share menu is shown # PublicShareContext::iSeeThatTheShareMenuIsShown()
Scenario: show download again in a public shared link # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:26
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I share the link for "welcome.txt" # FilesAppSharingContext::iShareTheLinkFor()
And I set the download of the shared link as hidden # FilesAppSharingContext::iSetTheDownloadOfTheSharedLinkAsHidden()
And I set the download of the shared link as shown # FilesAppSharingContext::iSetTheDownloadOfTheSharedLinkAsShown()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
Then I see that the download button is shown # PublicShareContext::iSeeThatTheDownloadButtonIsShown()
The download button is not visible yet after 100 seconds
And I open the Share menu # PublicShareContext::iOpenTheShareMenu()
And I see that the Share menu is shown # PublicShareContext::iSeeThatTheShareMenuIsShown()
Scenario: creation is not possible by default in a public shared folder # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:40
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I create a new folder named "Shared folder" # FileListContext::iCreateANewFolderNamed()
And I close the details view # FilesAppContext::iCloseTheDetailsView()
And I see that the details view is closed # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
And I share the link for "Shared folder" # FilesAppSharingContext::iShareTheLinkFor()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
And I see that the file list is eventually loaded # FileListContext::iSeeThatTheFileListIsEventuallyLoaded()
Then I see that it is not possible to create new files # FileListContext::iSeeThatItIsNotPossibleToCreateNewFiles()
Create menu button in file list could not be found (NoSuchElementException)
Scenario: create folder in a public editable shared folder # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:60
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I create a new folder named "Editable shared folder" # FileListContext::iCreateANewFolderNamed()
And I close the details view # FilesAppContext::iCloseTheDetailsView()
And I see that the details view is closed # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
And I share the link for "Editable shared folder" # FilesAppSharingContext::iShareTheLinkFor()
And I set the shared link as editable # FilesAppSharingContext::iSetTheSharedLinkAsEditable()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
And I create a new folder named "Subfolder" # FileListContext::iCreateANewFolderNamed()
Create menu button in file list could not be found after 100 seconds (NoSuchElementException)
Then I see that the file list contains a file named "Subfolder" # FileListContext::iSeeThatTheFileListContainsAFileNamed()
Scenario: owner sees folder created in the public page of an editable shared folder # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:81
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I create a new folder named "Editable shared folder" # FileListContext::iCreateANewFolderNamed()
And I close the details view # FilesAppContext::iCloseTheDetailsView()
And I see that the details view is closed # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
And I share the link for "Editable shared folder" # FilesAppSharingContext::iShareTheLinkFor()
And I set the shared link as editable # FilesAppSharingContext::iSetTheSharedLinkAsEditable()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
And I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
And I create a new folder named "Subfolder" # FileListContext::iCreateANewFolderNamed()
Create menu button in file list could not be found after 100 seconds (NoSuchElementException)
And I see that the file list contains a file named "Subfolder" # FileListContext::iSeeThatTheFileListContainsAFileNamed()
When I act as John # ActorContext::iActAs()
And I enter in the folder named "Editable shared folder" # FileListContext::iEnterInTheFolderNamed()
Then I see that the file list contains a file named "Subfolder" # FileListContext::iSeeThatTheFileListContainsAFileNamed()
Scenario: access a shared link protected by password with a valid password # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:116
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I share the link for "welcome.txt" protected by the password "abcdef" # FilesAppSharingContext::iShareTheLinkForProtectedByThePassword()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I see that the current page is the Authenticate page for the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheAuthenticatePageForTheSharedLinkIWroteDown()
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://acceptance-app-files-sharing-link/index.php/s/tfzXyXLcKcD5ttk/authenticate/showShare'
+'http://acceptance-app-files-sharing-link/index.php/s/tfzXyXLcKcD5ttk'
And I authenticate with password "abcdef" # PublicShareContext::iAuthenticateWithPassword()
Then I see that the current page is the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown()
And I see that the shared file preview shows the text "Welcome to your Nextcloud account!" # PublicShareContext::iSeeThatTheSharedFilePreviewShowsTheText()
Scenario: access a shared link protected by password with an invalid password # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:128
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I share the link for "welcome.txt" protected by the password "abcdef" # FilesAppSharingContext::iShareTheLinkForProtectedByThePassword()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the shared link I wrote down # PublicShareContext::iVisitTheSharedLinkIWroteDown()
And I authenticate with password "fedcba" # PublicShareContext::iAuthenticateWithPassword()
Password field in Authenticate page could not be found after 100 seconds (NoSuchElementException)
Then I see that the current page is the Authenticate page for the shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheAuthenticatePageForTheSharedLinkIWroteDown()
And I see that a wrong password for the shared file message is shown # PublicShareContext::iSeeThatAWrongPasswordForTheSharedFileMessageIsShown()
Scenario: access a direct download shared link protected by password with a valid password # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-sharing-link.feature:139
Given I act as John # ActorContext::iActAs()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I share the link for "welcome.txt" protected by the password "abcdef" # FilesAppSharingContext::iShareTheLinkForProtectedByThePassword()
And I write down the shared link # FilesAppSharingContext::iWriteDownTheSharedLink()
When I act as Jane # ActorContext::iActAs()
And I visit the direct download shared link I wrote down # PublicShareContext::iVisitTheDirectDownloadSharedLinkIWroteDown()
And I see that the current page is the Authenticate page for the direct download shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheAuthenticatePageForTheDirectDownloadSharedLinkIWroteDown()
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://acceptance-app-files-sharing-link/index.php/s/Bw7pL9TZ685yEAi/authenticate/downloadShare'
+'http://acceptance-app-files-sharing-link/index.php/s/Bw7pL9TZ685yEAi/download'
And I authenticate with password "abcdef" # PublicShareContext::iAuthenticateWithPassword()
And I see that the current page is the Authenticate page for the direct download shared link I wrote down # PublicShareContext::iSeeThatTheCurrentPageIsTheAuthenticatePageForTheDirectDownloadSharedLinkIWroteDown()

TESTS=acceptance, TESTS-ACCEPTANCE=app-files-tags

  • tests/acceptance/features/app-files-tags.feature:11
  • tests/acceptance/features/app-files-tags.feature:70
Show full log
 Scenario: show the input field for tags in the details view after closing and opening the details view again # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-tags.feature:11
Given I am logged in # LoginPageContext::iAmLoggedIn()
And I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
And I see that the details view is open # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
And I close the details view # FilesAppContext::iCloseTheDetailsView()
And I see that the details view is closed # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
And I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
And I see that the details view is open # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
When I open the input field for tags in the details view # FilesAppContext::iOpenTheInputFieldForTagsInTheDetailsView()
Then I see that the input field for tags in the details view is shown # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewIsShown()
Failed asserting that false is true.
Scenario: remove tags using the dropdown in the details view # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-tags.feature:70
Given I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin()
And I visit the settings page # SettingsMenuContext::iVisitTheSettingsPage()
And I open the "Tag management" section # AppNavigationContext::iOpenTheSection()
And I see that the button to select tags is shown # SettingsContext::iSeeThatTheButtonToSelectTagsIsShown()
And I create the tag "tag1" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I create the tag "tag2" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I create the tag "tag3" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I create the tag "tag4" in the settings # SettingsContext::iCreateTheTagInTheSettings()
And I see that the dropdown for tags in the settings eventually contains the tag "tag1" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I see that the dropdown for tags in the settings eventually contains the tag "tag2" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I see that the dropdown for tags in the settings eventually contains the tag "tag3" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I see that the dropdown for tags in the settings eventually contains the tag "tag4" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
And I log out # SettingsMenuContext::iLogOut()
And I am logged in # LoginPageContext::iAmLoggedIn()
And I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
And I open the input field for tags in the details view # FilesAppContext::iOpenTheInputFieldForTagsInTheDetailsView()
And I check the tag "tag2" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
And I check the tag "tag4" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
And I check the tag "tag3" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
When I uncheck the tag "tag2" in the dropdown for tags in the details view # FilesAppContext::iUncheckTheTagInTheDropdownForTagsInTheDetailsView()
And I uncheck the tag "tag4" in the dropdown for tags in the details view # FilesAppContext::iUncheckTheTagInTheDropdownForTagsInTheDetailsView()
Then I see that the tag "tag2" in the dropdown for tags in the details view is not checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsNotChecked()
And I see that the tag "tag4" in the dropdown for tags in the details view is not checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsNotChecked()
And I see that the tag "tag3" in the dropdown for tags in the details view is checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked()
And I see that the input field for tags in the details view does not contain the tag "tag2" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewDoesNotContainTheTag()
Failed asserting that false is true.
And I see that the input field for tags in the details view does not contain the tag "tag4" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewDoesNotContainTheTag()
And I see that the input field for tags in the details view contains the tag "tag3" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag()

TESTS=acceptance, TESTS-ACCEPTANCE=login

  • tests/acceptance/features/login.feature:9
  • tests/acceptance/features/login.feature:15
  • tests/acceptance/features/login.feature:26
  • tests/acceptance/features/login.feature:38
Show full log
 Scenario: try to log in with valid user and invalid password # /drone/src/github.com/nextcloud/server/tests/acceptance/features/login.feature:9
Given I visit the Home page # FeatureContext::iVisitTheHomePage()
When I log in with user user0 and password 654321 # LoginPageContext::iLogInWithUserAndPassword()
Then I see that the current page is the Login page # LoginPageContext::iSeeThatTheCurrentPageIsTheLoginPage()
And I see that a wrong password message is shown # LoginPageContext::iSeeThatAWrongPasswordMessageIsShown()
Wrong password message in Login page could not be found after 100 seconds (NoSuchElementException)
Scenario: log in with valid user and invalid password once fixed by admin # /drone/src/github.com/nextcloud/server/tests/acceptance/features/login.feature:15
Given I act as John # ActorContext::iActAs()
And I can not log in with user user0 and password 654231 # LoginPageContext::iCanNotLogInWithUserAndPassword()
Wrong password message in Login page could not be found after 100 seconds (NoSuchElementException)
When I act as Jane # ActorContext::iActAs()
And I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin()
And I open the User settings # SettingsMenuContext::iOpenTheUserSettings()
And I set the password for user0 to 654321 # UsersSettingsContext::iSetTheFieldForUserTo()
And I act as John # ActorContext::iActAs()
And I log in with user user0 and password 654321 # LoginPageContext::iLogInWithUserAndPassword()
Then I see that the current page is the Files app # FilesAppContext::iSeeThatTheCurrentPageIsTheFilesApp()
Scenario: try to log in with invalid user # /drone/src/github.com/nextcloud/server/tests/acceptance/features/login.feature:26
Given I visit the Home page # FeatureContext::iVisitTheHomePage()
When I log in with user unknownUser and password 123456acb # LoginPageContext::iLogInWithUserAndPassword()
Then I see that the current page is the Login page # LoginPageContext::iSeeThatTheCurrentPageIsTheLoginPage()
And I see that a wrong password message is shown # LoginPageContext::iSeeThatAWrongPasswordMessageIsShown()
Wrong password message in Login page could not be found after 100 seconds (NoSuchElementException)
Scenario: log in with invalid user once fixed by admin # /drone/src/github.com/nextcloud/server/tests/acceptance/features/login.feature:38
Given I act as John # ActorContext::iActAs()
And I can not log in with user unknownUser and password 123456acb # LoginPageContext::iCanNotLogInWithUserAndPassword()
Wrong password message in Login page could not be found after 100 seconds (NoSuchElementException)
When I act as Jane # ActorContext::iActAs()
And I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin()
And I open the User settings # SettingsMenuContext::iOpenTheUserSettings()
And I click the New user button # UsersSettingsContext::iClickTheNewUserButton()
And I see that the new user form is shown # UsersSettingsContext::iSeeThatTheNewUserFormIsShown()
And I create user unknownUser with password 123456acb # UsersSettingsContext::iCreateUserWithPassword()
And I see that the list of users contains the user unknownUser # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()
And I act as John # ActorContext::iActAs()
And I log in with user unknownUser and password 123456acb # LoginPageContext::iLogInWithUserAndPassword()

TESTS=sqlite-php7.1-samba-non-native

Show full log
There was 1 failure:
1) OCA\Files_External\Tests\Storage\SmbTest::testNotifyGetChanges
Failed asserting that an array contains OC\Files\Notify\RenameChange Object &0000000007fbcccc0000000004ccd185 (
'targetPath' => 'renamed.txt'
'type' => 4
'path' => 'newfile.txt'
).
/drone/src/github.com/nextcloud/server/apps/files_external/tests/Storage/SmbTest.php:115

@MorrisJobke
MorrisJobke merged commit 065690d into masterMar 11, 2019
@MorrisJobke
MorrisJobke deleted the fix/noid/copy-paste-typo branch March 11, 2019 11:01
@MorrisJobkeMorrisJobke mentioned this pull request Mar 20, 2019
9 tasks
@MorrisJobke

MorrisJobke commented Mar 26, 2019

Copy link
Copy Markdown
MemberAuthor

Backport to stable15 in #14865

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@MorrisJobke@rullzer@kesselb@skjnldsv