diff options
Diffstat (limited to 'ui/tests/include/web/elements/CGridFormElement.php')
-rw-r--r-- | ui/tests/include/web/elements/CGridFormElement.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/tests/include/web/elements/CGridFormElement.php b/ui/tests/include/web/elements/CGridFormElement.php index 7a7e0768aa6..8e9946eddc2 100644 --- a/ui/tests/include/web/elements/CGridFormElement.php +++ b/ui/tests/include/web/elements/CGridFormElement.php @@ -36,7 +36,9 @@ class CGridFormElement extends CFormElement { * @return CElementCollection */ public function getLabels() { - $labels = $this->query('xpath:./div/div/'.self::TABLE_FORM.'/label|./'.self::TABLE_FORM.'/label')->all(); + $labels = $this->query("xpath:.//div/div/".self::TABLE_FORM."/label|./".self::TABLE_FORM. + "/label|./div/div/div/div/".self::TABLE_FORM."/label" + )->all(); if ($this->filter !== null) { return $labels->filter($this->filter); |