original_string: protected function wait_until_contents_are_updated($filepickernode) {
  
          $exception = new ExpectationException(
              'The file manager contents are requiring too much time to be updated',
              $this->getSession()
          );
  
          // Looks for the loading image not being displayed. For single-file filepickers is
          // only used when accessing the filepicker, there is no filemanager-loading after selecting the file.
          $this->find(
              'xpath',
              "//div[contains(concat(' ', normalize-space(@class), ' '), ' filemanager ')]" .
                  "[not(contains(concat(' ', normalize-space(@class), ' '), ' fm-updating '))]" .
              "|" .
              "//div[contains(concat(' ', normalize-space(@class), ' '), ' filemanager-loading ')]" .
                  "[contains(@style, 'display: none;')]",
              $exception,
              $filepickernode
          );
      }
code: protected function wait_until_contents_are_updated($filepickernode) {
  
          $exception = new ExpectationException(
              'The file manager contents are requiring too much time to be updated',
              $this->getSession()
          );
  
          // Looks for the loading image not being displayed. For single-file filepickers is
          // only used when accessing the filepicker, there is no filemanager-loading after selecting the file.
          $this->find(
              'xpath',
              "//div[contains(concat(' ', normalize-space(@class), ' '), ' filemanager ')]" .
                  "[not(contains(concat(' ', normalize-space(@class), ' '), ' fm-updating '))]" .
              "|" .
              "//div[contains(concat(' ', normalize-space(@class), ' '), ' filemanager-loading ')]" .
                  "[contains(@style, 'display: none;')]",
              $exception,
              $filepickernode
          );
      }
code_tokens: protected function wait_until_contents_are_updated ( $ filepickernode ) { $ exception = new ExpectationException ( 'The file manager contents are requiring too much time to be updated' , $ this -> getSession ( ) ) ; // Looks for the loading image not being displayed. For single-file filepickers is // only used when accessing the filepicker, there is no filemanager-loading after selecting the file. $ this -> find ( 'xpath' , "//div[contains(concat(' ', normalize-space(@class), ' '), ' filemanager ')]" . "[not(contains(concat(' ', normalize-space(@class), ' '), ' fm-updating '))]" . "|" . "//div[contains(concat(' ', normalize-space(@class), ' '), ' filemanager-loading ')]" . "[contains(@style, 'display: none;')]" , $ exception , $ filepickernode ) ; }
docstring: Checks that the file manager contents are not being updated.
  
  This method is not used by any of our step definitions,
  keeping it here for users already using it.
  
  @throws ExpectationException
  @param NodeElement $filepickernode The file manager DOM node
  @return void
docstring_tokens: Checks that the file manager contents are not being updated .