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

[stable20] do not remove valid group shares #25384

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #25218

@rullzer rullzer added the 3. to review Waiting for reviews label Jan 29, 2021
@rullzer rullzer mentioned this pull request Feb 5, 2021
@PVince81
Copy link
Member

PVince81 commented Feb 5, 2021

seems psalm-baseline needs updating

@rullzer rullzer mentioned this pull request Feb 16, 2021
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@faily-bot
Copy link

faily-bot bot commented Feb 17, 2021

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 2353: failure

acceptance-app-files

  • failure block could not be found - most likely this run got canceled
Show full log
+ tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 48 installs, 0 updates, 0 removals
  - Installing behat/gherkin (v4.6.2): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/polyfill-ctype (v1.22.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (85%)�����������������Downloading (100%)
  - Installing symfony/filesystem (v5.2.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (65%)�����������������Downloading (75%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/config (v4.4.18): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/css-selector (v3.4.47): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing behat/mink (v1.7.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/yaml (v3.4.47): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/translation-contracts (v2.3.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (65%)�����������������Downloading (100%)
  - Installing symfony/polyfill-mbstring (v1.22.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (100%)
  - Installing symfony/translation (v4.4.18): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/polyfill-php80 (v1.22.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing psr/event-dispatcher (1.0.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing symfony/event-dispatcher-contracts (v2.2.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing symfony/deprecation-contracts (v2.2.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing symfony/event-dispatcher (v5.2.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (55%)�����������������Downloading (70%)�����������������Downloading (100%)
  - Installing psr/container (1.0.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (75%)�����������������Downloading (100%)
  - Installing symfony/service-contracts (v2.2.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing symfony/dependency-injection (v4.4.18): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/polyfill-intl-normalizer (v1.22.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (10%)�����������������Downloading (35%)�����������������Downloading (45%)�����������������Downloading (70%)�����������������Downloading (80%)�����������������Downloading (100%)
  - Installing symfony/polyfill-intl-grapheme (v1.22.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing symfony/string (v5.2.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (10%)�����������������Downloading (20%)�����������������Downloading (65%)�����������������Downloading (75%)�����������������Downloading (85%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing symfony/polyfill-php73 (v1.22.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (65%)�����������������Downloading (100%)
  - Installing symfony/console (v5.2.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing behat/transliterator (v1.3.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing behat/behat (v3.7.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing behat/mink-extension (2.3.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (15%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing instaclick/php-webdriver (1.4.7): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (100%)
  - Installing behat/mink-selenium2-driver (v1.3.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (40%)�����������������Downloading (80%)�����������������Downloading (100%)
  - Installing webmozart/assert (1.9.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (0%)����������������Downloading (40%)�����������������Downloading (65%)�����������������Downloading (100%)
  - Installing phpdocumentor/reflection-common (2.2.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (50%)�����������������Downloading (100%)
  - Installing phpdocumentor/type-resolver (1.4.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (15%)�����������������Downloading (30%)�����������������Downloading (80%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing phpdocumentor/reflection-docblock (5.2.2): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing phpunit/php-token-stream (1.4.12): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (100%)
  - Installing sebastian/version (1.0.6): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing sebastian/global-state (1.1.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (40%)�����������������Downloading (80%)�����������������Downloading (100%)
  - Installing sebastian/recursion-context (1.0.5): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (35%)�����������������Downloading (70%)�����������������Downloading (100%)
  - Installing sebastian/exporter (1.2.2): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing sebastian/environment (1.3.8): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (15%)�����������������Downloading (30%)�����������������Downloading (45%)�����������������Downloading (60%)�����������������Downloading (75%)�����������������Downloading (100%)
  - Installing sebastian/diff (1.4.3): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (75%)�����������������Downloading (100%)
  - Installing sebastian/comparator (1.2.4): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (10%)�����������������Downloading (55%)�����������������Downloading (65%)�����������������Downloading (75%)�����������������Downloading (85%)�����������������Downloading (100%)
  - Installing phpunit/php-text-template (1.2.1): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (35%)�����������������Downloading (100%)
  - Installing doctrine/instantiator (1.4.0): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (25%)�����������������Downloading (85%)�����������������Downloading (100%)
  - Installing phpunit/phpunit-mock-objects (2.3.8): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing phpunit/php-timer (1.0.9): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (45%)�����������������Downloading (100%)
  - Installing phpunit/php-file-iterator (1.4.5): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (100%)
  - Installing phpunit/php-code-coverage (2.2.4): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing phpspec/prophecy (v1.10.3): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (45%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (80%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
  - Installing phpunit/phpunit (4.8.36): Downloading (connecting...)���������������������������Downloading (0%)           ���������������������������Downloading (5%)����������������Downloading (10%)�����������������Downloading (15%)�����������������Downloading (20%)�����������������Downloading (25%)�����������������Downloading (30%)�����������������Downloading (35%)�����������������Downloading (40%)�����������������Downloading (45%)�����������������Downloading (50%)�����������������Downloading (55%)�����������������Downloading (60%)�����������������Downloading (65%)�����������������Downloading (70%)�����������������Downloading (75%)�����������������Downloading (80%)�����������������Downloading (85%)�����������������Downloading (90%)�����������������Downloading (95%)�����������������Downloading (100%)
behat/mink suggests installing behat/mink-browserkit-driver (extremely fast headless driver for Symfony\Kernel-based apps (Sf2, Silex))
behat/mink suggests installing behat/mink-goutte-driver (fast headless driver for any app without JS emulation)
behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled headless driver for any app (requires node.js))
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
symfony/dependency-injection suggests installing symfony/finder (For using double-star glob patterns or when GLOB_BRACE portability is required)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
symfony/console suggests installing psr/log (For using the console logger)
symfony/console suggests installing symfony/lock ()
symfony/console suggests installing symfony/process ()
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
Cloning into 'notifications'...
Installing and configuring Nextcloud server
Nextcloud was successfully installed
The user "user0" was created successfully
The user "user1" was created successfully
The user "disabledUser" was created successfully
The specified user is disabled
dashboard 7.0.0 disabled
System config value trusted_domains => 0 set to string acceptance-app-files
Saving the default state so acceptance tests can reset to it
Waiting for Selenium
@apache
Feature: app-files

  Scenario: open and close the details view        # /drone/src/tests/acceptance/features/app-files.feature:4
    Given I am logged in                           # LoginPageContext::iAmLoggedIn()
    When I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open        # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I close the details view                   # FilesAppContext::iCloseTheDetailsView()
    Then I see that the details view is closed     # FilesAppContext::iSeeThatTheDetailsViewIsClosed()

  Scenario: open and close the details view twice  # /drone/src/tests/acceptance/features/app-files.feature:11
    Given I am logged in                           # LoginPageContext::iAmLoggedIn()
    And I open the details view for "welcome.txt"  # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open        # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I close the details view                   # FilesAppContext::iCloseTheDetailsView()
    And I see that the details view is closed      # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
    When I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open        # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I close the details view                   # FilesAppContext::iCloseTheDetailsView()
    Then I see that the details view is closed     # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
      │ Details view in Files app visibility could not be got
      │ Exception message: Element not found with xpath, (//html//*[@id="app-sidebar" or contains(@class, 'app-sidebar')])[1]
      │ 
      │ Unable to locate element: {"method":"xpath","selector":"(//html//*[@id=\"app-sidebar\" or contains(@class, 'app-sidebar')])[1]"}
      │ For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      │ Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
      │ System info: host: '450853b34114', ip: '192.168.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-124-generic', java.version: '1.8.0_91'
      │ Driver info: driver.version: unknown
      │ Trying again
      │ 

  Scenario: open and close the details view again after coming back from a different section # /drone/src/tests/acceptance/features/app-files.feature:22
    Given I am logged in                                                                     # LoginPageContext::iAmLoggedIn()
    And I open the details view for "welcome.txt"                                            # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open                                                  # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I close the details view                                                             # FilesAppContext::iCloseTheDetailsView()
    And I see that the details view is closed                                                # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
    And I open the "Recent" section                                                          # AppNavigationContext::iOpenTheSection()
    And I see that the current section is "Recent"                                           # AppNavigationContext::iSeeThatTheCurrentSectionIs()
    And I open the details view for "welcome.txt"                                            # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open                                                  # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I close the details view                                                             # FilesAppContext::iCloseTheDetailsView()
    And I see that the details view is closed                                                # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
    When I open the "All files" section                                                      # AppNavigationContext::iOpenTheSection()
    And I see that the current section is "All files"                                        # AppNavigationContext::iSeeThatTheCurrentSectionIs()
    And I open the details view for "welcome.txt"                                            # FileListContext::iOpenTheDetailsViewFor()
      │ File actions menu button for file welcome.txt in file list could not be clicked
      │ Exception message: Element is not currently visible and so may not be interacted with
      │ Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
      │ System info: host: '450853b34114', ip: '192.168.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-124-generic', java.version: '1.8.0_91'
      │ Driver info: driver.version: unknown
      │ Trying again
      │ 
    And I see that the details view is open                                                  # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I close the details view                                                             # FilesAppContext::iCloseTheDetailsView()
    Then I see that the details view is closed                                               # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
  │
  ╳  Could not close connection (Behat\Mink\Exception\DriverException)
  │
  └─ @AfterScenario # ActorContext::cleanUpSessions()

  Scenario: copy a file in its same folder                                  # /drone/src/tests/acceptance/features/app-files.feature:207
    Given I am logged in                                                    # LoginPageContext::iAmLoggedIn()
    When I start the move or copy operation for "welcome.txt"               # FileListContext::iStartTheMoveOrCopyOperationFor()
    And I copy to the last selected folder in the file picker               # FilePickerContext::iCopyToTheLastSelectedFolderInTheFilePicker()
    Then I see that the file list contains a file named "welcome.txt"       # FileListContext::iSeeThatTheFileListContainsAFileNamed()
    And I see that the file list contains a file named "welcome (copy).txt" # FileListContext::iSeeThatTheFileListContainsAFileNamed()

  Scenario: copy a file twice in its same folder                              # /drone/src/tests/acceptance/features/app-files.feature:216
    Given I am logged in                                                      # LoginPageContext::iAmLoggedIn()
    And I start the move or copy operation for "welcome.txt"                  # FileListContext::iStartTheMoveOrCopyOperationFor()
    And I copy to the last selected folder in the file picker                 # FilePickerContext::iCopyToTheLastSelectedFolderInTheFilePicker()
    When I start the move or copy operation for "welcome.txt"                 # FileListContext::iStartTheMoveOrCopyOperationFor()
    And I copy to the last selected folder in the file picker                 # FilePickerContext::iCopyToTheLastSelectedFolderInTheFilePicker()
    Then I see that the file list contains a file named "welcome.txt"         # FileListContext::iSeeThatTheFileListContainsAFileNamed()
    And I see that the file list contains a file named "welcome (copy).txt"   # FileListContext::iSeeThatTheFileListContainsAFileNamed()
    And I see that the file list contains a file named "welcome (copy 2).txt" # FileListContext::iSeeThatTheFileListContainsAFileNamed()

  Scenario: copy a copy of a file in its same folder                          # /drone/src/tests/acceptance/features/app-files.feature:228
    Given I am logged in                                                      # LoginPageContext::iAmLoggedIn()
    And I start the move or copy operation for "welcome.txt"                  # FileListContext::iStartTheMoveOrCopyOperationFor()
    And I copy to the last selected folder in the file picker                 # FilePickerContext::iCopyToTheLastSelectedFolderInTheFilePicker()
    When I start the move or copy operation for "welcome (copy).txt"          # FileListContext::iStartTheMoveOrCopyOperationFor()
    And I copy to the last selected folder in the file picker                 # FilePickerContext::iCopyToTheLastSelectedFolderInTheFilePicker()
    Then I see that the file list contains a file named "welcome.txt"         # FileListContext::iSeeThatTheFileListContainsAFileNamed()
    And I see that the file list contains a file named "welcome (copy).txt"   # FileListContext::iSeeThatTheFileListContainsAFileNamed()
    And I see that the file list contains a file named "welcome (copy 2).txt" # FileListContext::iSeeThatTheFileListContainsAFileNamed()

  Scenario: marking a file as favorite causes the file list to be sorted again                            # /drone/src/tests/acceptance/features/app-files.feature:247
    Given I am logged in                                                                                  # LoginPageContext::iAmLoggedIn()
    And I create a new folder named "A name alphabetically lower than welcome.txt"                        # FileListContext::iCreateANewFolderNamed()
    And I see that "A name alphabetically lower than welcome.txt" precedes "welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()
    And I close the details view                                                                          # FilesAppContext::iCloseTheDetailsView()
    And I see that the details view is closed                                                             # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
    When I mark "welcome.txt" as favorite                                                                 # FileListContext::iMarkAsFavorite()
    Then I see that "welcome.txt" is marked as favorite                                                   # FileListContext::iSeeThatIsMarkedAsFavorite()
    And I see that "welcome.txt" precedes "A name alphabetically lower than welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()

  Scenario: unmarking a file as favorite causes the file list to be sorted again                          # /drone/src/tests/acceptance/features/app-files.feature:263
    Given I am logged in                                                                                  # LoginPageContext::iAmLoggedIn()
    And I create a new folder named "A name alphabetically lower than welcome.txt"                        # FileListContext::iCreateANewFolderNamed()
    And I see that "A name alphabetically lower than welcome.txt" precedes "welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()
    And I close the details view                                                                          # FilesAppContext::iCloseTheDetailsView()
    And I see that the details view is closed                                                             # FilesAppContext::iSeeThatTheDetailsViewIsClosed()
    And I mark "welcome.txt" as favorite                                                                  # FileListContext::iMarkAsFavorite()
    And I see that "welcome.txt" is marked as favorite                                                    # FileListContext::iSeeThatIsMarkedAsFavorite()
    And I see that "welcome.txt" precedes "A name alphabetically lower than welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()
    When I unmark "welcome.txt" as favorite                                                               # FileListContext::iUnmarkAsFavorite()
    Then I see that "welcome.txt" is not marked as favorite                                               # FileListContext::iSeeThatIsNotMarkedAsFavorite()
    And I see that "A name alphabetically lower than welcome.txt" precedes "welcome.txt" in the file list # FileListContext::iSeeThatPrecedesInTheFileList()

  Scenario: mark a file as favorite in the details view               # /drone/src/tests/acceptance/features/app-files.feature:282
    Given I am logged in                                              # LoginPageContext::iAmLoggedIn()
    And I open the details view for "welcome.txt"                     # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open                           # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    When I mark the file as favorite in the details view              # FilesAppContext::iMarkTheFileAsFavoriteInTheDetailsView()
    Then I see that "welcome.txt" is marked as favorite               # FileListContext::iSeeThatIsMarkedAsFavorite()
    And I see that the file is marked as favorite in the details view # FilesAppContext::iSeeThatTheFileIsMarkedAsFavoriteInTheDetailsView()

  Scenario: unmark a file as favorite in the details view                 # /drone/src/tests/acceptance/features/app-files.feature:290
    Given I am logged in                                                  # LoginPageContext::iAmLoggedIn()
    And I open the details view for "welcome.txt"                         # FileListContext::iOpenTheDetailsViewFor()
    And I see that the details view is open                               # FilesAppContext::iSeeThatTheDetailsViewIsOpen()
    And I mark the file as favorite in the details view                   # FilesAppContext::iMarkTheFileAsFavoriteInTheDetailsView()
    And I see that "welcome.txt" is marked as favorite                    # FileListContext::iSeeThatIsMarkedAsFavorite()
    And I see that the file is marked as favorite in the details view     # FilesAppContext::iSeeThatTheFileIsMarkedAsFavoriteInTheDetailsView()
    When I unmark the file as favorite in the details view                # FilesAppContext::iUnmarkTheFileAsFavoriteInTheDetailsView()
    Then I see that "welcome.txt" is not marked as favorite               # FileListContext::iSeeThatIsNotMarkedAsFavorite()
    And I see that the file is not marked as favorite in the details view # FilesAppContext::iSeeThatTheFileIsNotMarkedAsFavoriteInTheDetailsView()

10 scenarios (10 passed)
86 steps (86 passed)
3m34.74s (5.93Mb)

@blizzz
Copy link
Member

blizzz commented Feb 18, 2021

seems psalm-baseline needs updating

How do i preach it to Psalm? The return types have not changed with this PR and could have been null, though not pointed out by phpdoc, since about a decade.

@rullzer rullzer merged commit cb0c224 into stable20 Feb 18, 2021
@rullzer rullzer deleted the backport/25218/stable20 branch February 18, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants