Skip to content

Commit

Permalink
skip secure view test
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed May 22, 2024
1 parent 25e1459 commit 4b5bf35
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions tests/e2e/cucumber/features/app-provider/officeSuites.feature
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@ Feature: Integrate with online office suites like Collabora and OnlyOffice
And "Anonymous" unlocks the public link with password "%public%"
Then "Anonymous" should see the content "Microsoft Word Content" in editor "OnlyOffice"

# Please enable this code again after moving the new collaboration server to the web repository
# Scenario: open a secure view file with Collabora
# Given "Admin" creates following users using API
# | id |
# | Brian |
# When "Alice" creates the following resources
# | resource | type | content |
# | secureDocument.odt | OpenDocument | very important document |
# And "Alice" shares the following resources using the sidebar panel
# | resource | recipient | type | role |
# | secureDocument.odt | Brian | user | Can view (secure) |
# And "Alice" logs out

Scenario: open a secure view file with Collabora
Given "Admin" creates following users using API
| id |
| Brian |
When "Alice" creates the following resources
| resource | type | content |
| secureDocument.odt | OpenDocument | very important document |
And "Alice" shares the following resources using the sidebar panel
| resource | recipient | type | role |
| secureDocument.odt | Brian | user | Can view (secure) |
And "Alice" logs out

And "Brian" logs in
And "Brian" navigates to the shared with me page
When "Brian" opens the following file in Collabora
| resource |
| secureDocument.odt |
# And "Brian" logs in
# And "Brian" navigates to the shared with me page
# When "Brian" opens the following file in Collabora
# | resource |
# | secureDocument.odt |

# we copy the contents of the file and compare the clipboard with the expected contents.
# In case the user does not have download permissions and tries to copy file content, the clipboard should be set to “Copying from document disabled”.
Then "Brian" should see the content "Copying from the document disabled" in editor "Collabora"
And "Brian" logs out
# # we copy the contents of the file and compare the clipboard with the expected contents.
# # In case the user does not have download permissions and tries to copy file content, the clipboard should be set to “Copying from document disabled”.
# Then "Brian" should see the content "Copying from the document disabled" in editor "Collabora"
# And "Brian" logs out

0 comments on commit 4b5bf35

Please sign in to comment.