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 7023a52 commit 67c948d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions tests/e2e/cucumber/features/app-provider/officeSuites.feature
Original file line number Diff line number Diff line change
Expand Up @@ -66,26 +66,26 @@ Feature: Integrate with online office suites like Collabora and OnlyOffice
| MicrosoftWord.docx | Microsoft Word | Edited Microsoft Word Content |
And "Alice" logs out

# 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 |

# 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
# 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

0 comments on commit 67c948d

Please sign in to comment.