Skip to content

Commit

Permalink
update expected failure file
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Feb 25, 2022
1 parent 8d6b804 commit 9b7c8bd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=5dcc0e3b6cbab10af445a9f5ac078fb3c76829ba
OCIS_COMMITID=f612ca788ea5ca5991b2b976e4ac6ae634ead409
OCIS_BRANCH=master
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,15 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUISharingInternalGroups/shareWithGroups.feature:77](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L77)
- [webUISharingInternalUsers/shareWithUsers.feature:57](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L57)

### [shares are not listed with full paths](https://github.com/owncloud/ocis/issues/2462)
- [webUISharingPublicBasic/publicLinkCreate.feature:88](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkCreate.feature#L88)

### [web config update is not properly reflected after the ocis start](https://github.com/owncloud/ocis/issues/2944)
- [webUIFiles/breadcrumb.feature:50](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFiles/breadcrumb.feature#L50)

### [empty subfolder inside a folder to be uploaded is not created on the server](https://github.com/owncloud/web/issues/6348)
- [webUIUpload/upload.feature:42](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIUpload/upload.feature#L42)

### [Creating public link share still has # in the link with the latest oCIS server and the link doesn't work.](https://github.com/owncloud/web/issues/6478)
- [webUISharingPublicManagement/shareByPublicLink.feature:78](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicManagement/shareByPublicLink.feature#L78)

### [Logging out doesn't work with the latest oCIS server](https://github.com/owncloud/web/issues/6479)
- [webUILogin/openidLogin.feature:22](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/openidLogin.feature#L22)
- [webUILogin/openidLogin.feature:29](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/openidLogin.feature#L29)
2 changes: 1 addition & 1 deletion tests/acceptance/features/webUILogin/oauthLogin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: login users
Background:
Given user "Alice" has been created with default attributes and without skeleton files in the server

@ocisSmokeTest

Scenario: admin login
Given the user has browsed to the login page
When the user logs in with username "admin" and password "admin" using the webUI
Expand Down
16 changes: 8 additions & 8 deletions tests/acceptance/features/webUIUserJourney/journey1.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Feature: User Journey 1

Background:
Given user "Alice" has been created with default attributes and without skeleton files in the server
And user "Brian" has been created with default attributes and without skeleton files in the server

@journey
Scenario: simple upload of a file that does not exist before
Expand All @@ -17,11 +16,12 @@ Feature: User Journey 1
When the user browses to the files page
And the user downloads file "new-lorem.txt" using the webUI
Then no message should be displayed on the webUI
And the user renames file "new-lorem.txt" to "new-lorem2.txt" using the webUI
And file "new-lorem2.txt" should be listed on the webUI
And the user deletes file "new-lorem2.txt" using the webUI
When the user renames file "new-lorem.txt" to "new-lorem2.txt" using the webUI
Then file "new-lorem2.txt" should be listed on the webUI
When the user deletes file "new-lorem2.txt" using the webUI
And the user browses to the trashbin page
And file "new-lorem2.txt" should be listed on the webUI
And the user restores file "new-lorem2.txt" from the trashbin using the webUI
And the user browses to the files page
And file "new-lorem2.txt" should be listed on the webUI
Then file "new-lorem2.txt" should be listed on the webUI
When the user restores file "new-lorem2.txt" from the trashbin using the webUI
Then there should be no resources listed on the webUI
When the user browses to the files page
Then file "new-lorem2.txt" should be listed on the webUI
2 changes: 1 addition & 1 deletion tests/e2e/support/page/files/allFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class AllFilesPage {
const { page } = this.actor

const allFilesBtn = page.locator(
'//a[@href="#/files/spaces/personal/home" or @href="/files/spaces/personal/home"]//span[contains(@class, "text")]'
'//li[contains(@class, "oc-sidebar-nav-item")]//span[text()="All files"]'
)
await allFilesBtn.click()
}
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/support/page/files/sharedWithMe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class SharedWithMePage {
async navigate(): Promise<void> {
const { page } = this.actor
await page
.locator('//a[@href="#/files/shares/with-me" or @href="/files/shares/with-me"]')
.locator('//li[contains(@class, "oc-sidebar-nav-item")]//span[text()="Shared with me"]')
.click()
}

Expand Down

0 comments on commit 9b7c8bd

Please sign in to comment.