Skip to content

Fix transifex sync for files_sharing - #14569

Merged
MorrisJobke merged 1 commit into
masterfrom
fix/noid/fix-transifex
Mar 6, 2019
Merged

Fix transifex sync for files_sharing#14569
MorrisJobke merged 1 commit into
masterfrom
fix/noid/fix-transifex

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member

Found additionally to #14567

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobkeMorrisJobke added the 3. to review Waiting for reviews label Mar 6, 2019
@MorrisJobkeMorrisJobke added this to the Nextcloud 16 milestone Mar 6, 2019
@rullzerrullzer 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 6, 2019
@faily-bot

faily-botBot commented Mar 6, 2019

Copy link
Copy Markdown

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 16824: failure

DB=sqlite, ENABLE_REDIS=false, PHP=7.3

Show full log
There was 1 failure:
1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.
/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:186
--
There was 1 risky test:
1) OCA\TwoFactorBackupCodes\Tests\Db\BackupCodeMapperTest::testInsertArgonEncryptedCodes
This test did not perform any assertions

DB=mysql, ENABLE_REDIS=false, PHP=7.3

Show full log
There was 1 failure:
1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.
/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:186
--
There was 1 risky test:
1) OCA\TwoFactorBackupCodes\Tests\Db\BackupCodeMapperTest::testInsertArgonEncryptedCodes
This test did not perform any assertions

TESTS=acceptance, TESTS-ACCEPTANCE=app-files

  • cancelled - typically means that the tests took longer than the drone CI allows them to run

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=acceptance, TESTS-ACCEPTANCE=users

  • tests/acceptance/features/users.feature:116
  • tests/acceptance/features/users.feature:137
Show full log
 Scenario: change display name # /drone/src/github.com/nextcloud/server/tests/acceptance/features/users.feature:116
Given 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 see that the list of users contains the user user0 # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()
And I see that the displayName of user0 is user0 # UsersSettingsContext::iSeeThatTheFieldOfUserIs()
When I set the displayName for user0 to user1 # UsersSettingsContext::iSetTheFieldForUserTo()
And I see that the displayName cell for user user0 is done loading # UsersSettingsContext::iSeeThatTheCellForUserIsDoneLoading()
Then I see that the displayName of user0 is user1 # UsersSettingsContext::iSeeThatTheFieldOfUserIs()
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'user0'
+'user1'
Scenario: change email # /drone/src/github.com/nextcloud/server/tests/acceptance/features/users.feature:137
Given 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 see that the list of users contains the user user0 # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()
And I see that the mailAddress of user0 is "" # UsersSettingsContext::iSeeThatTheFieldOfUserIs()
When I set the mailAddress for user0 to "test@nextcloud.com" # UsersSettingsContext::iSetTheFieldForUserTo()
And I see that the mailAddress cell for user user0 is done loading # UsersSettingsContext::iSeeThatTheCellForUserIsDoneLoading()
Then I see that the mailAddress of user0 is "test@nextcloud.com" # UsersSettingsContext::iSeeThatTheFieldOfUserIs()
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-''
+'test@nextcloud.com'

@MorrisJobkeMorrisJobke mentioned this pull request Mar 6, 2019
9 tasks
@MorrisJobke
MorrisJobke merged commit dfaa901 into masterMar 6, 2019
@MorrisJobke
MorrisJobke deleted the fix/noid/fix-transifex branch March 6, 2019 15:59
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 finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@MorrisJobke@rullzer@ChristophWurst