Advertisement
stronk7

Untitled

Feb 25th, 2022
1,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.81 KB | None | 0 0
  1. diff --git a/theme/classic/tests/behat/behat_theme_classic_behat_navigation.php b/theme/classic/tests/behat/behat_theme_classic_behat_navigation.php
  2. index af1a828ad46..791274e6c7d 100644
  3. --- a/theme/classic/tests/behat/behat_theme_classic_behat_navigation.php
  4. +++ b/theme/classic/tests/behat/behat_theme_classic_behat_navigation.php
  5. @@ -158,7 +158,7 @@ class behat_theme_classic_behat_navigation extends behat_navigation {
  6.              $this->find('xpath', $menuxpath, $exception);
  7.          } catch (Exception $e) {
  8.              // For question bank a different approach.
  9. -            $menuxpath = $rootxpath;
  10. +            $menuxpath = $rootxpath . "//div[contains(@class, 'dropdown-menu')]";
  11.              if ($selectortype === 'link') {
  12.                  $menuxpath .= "//a[contains(text(), 'Categories')]";
  13.              }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement