Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci]unskipUrlTests #11147

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 23 additions & 26 deletions tests/e2e/cucumber/features/app-provider/urlJourneys.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,29 @@ Feature: url stability for mobile and desktop client
# This is a minimal test for the integration of ocis with different online office suites like Collabora and OnlyOffice
# Check that the file can be opened in collabora or onlyoffice using the url. https://github.com/owncloud/web/issues/9897


# TODO: unskip the test after fixing the failure
# https://drone.owncloud.com/owncloud/web/45509/15/16

# Scenario: open office suite files with Collabora and onlyOffice
# Given "Admin" creates following users using API
# | id |
# | Alice |
# And "Alice" logs in
# And "Alice" creates the following files into personal space using API
# | pathToFile | content |
# | OpenDocument.odt | OpenDocument Content |
# And "Alice" creates the following resources
# | resource | type | content |
# | MicrosoftWord.docx | Microsoft Word | Microsoft Word Content |
# And "Alice" opens the "files" app
Scenario: open office suite files with Collabora and onlyOffice
Given "Admin" creates following users using API
| id |
| Alice |
And "Alice" logs in
And "Alice" creates the following files into personal space using API
| pathToFile | content |
| OpenDocument.odt | OpenDocument Content |
And "Alice" creates the following resources
| resource | type | content |
| MicrosoftWord.docx | Microsoft Word | Microsoft Word Content |
And "Alice" opens the "files" app

# # desktop feature
# When "Alice" opens the file "OpenDocument.odt" of space "personal" in Collabora through the URL for desktop client
# Then "Alice" should see the content "OpenDocument Content" in editor "Collabora"
# When "Alice" opens the file "MicrosoftWord.docx" of space "personal" in OnlyOffice through the URL for desktop client
# Then "Alice" should see the content "Microsoft Word Content" in editor "OnlyOffice"
# desktop feature
When "Alice" opens the file "OpenDocument.odt" of space "personal" in Collabora through the URL for desktop client
Then "Alice" should see the content "OpenDocument Content" in editor "Collabora"
When "Alice" opens the file "MicrosoftWord.docx" of space "personal" in OnlyOffice through the URL for desktop client
Then "Alice" should see the content "Microsoft Word Content" in editor "OnlyOffice"

# # mobile feature
# When "Alice" opens the file "OpenDocument.odt" of space "personal" in Collabora through the URL for mobile client
# Then "Alice" should see the content "OpenDocument Content" in editor "Collabora"
# When "Alice" opens the file "MicrosoftWord.docx" of space "personal" in OnlyOffice through the URL for mobile client
# Then "Alice" should see the content "Microsoft Word Content" in editor "OnlyOffice"
# And "Alice" logs out
# mobile feature
When "Alice" opens the file "OpenDocument.odt" of space "personal" in Collabora through the URL for mobile client
Then "Alice" should see the content "OpenDocument Content" in editor "Collabora"
When "Alice" opens the file "MicrosoftWord.docx" of space "personal" in OnlyOffice through the URL for mobile client
Then "Alice" should see the content "Microsoft Word Content" in editor "OnlyOffice"
And "Alice" logs out