Commit 34bf090b authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-4535 Change buildXPathQuery() to assertSession()->buildXPathQuery()

Change record:
https://www.drupal.org/node/3129738
parent 7ce2e3c3
......@@ -1542,7 +1542,7 @@ class UwWcmsBasicTest extends BrowserTestBase {
*/
private function dashboardTest() {
// Used by dropbutton test.
$layout_link_xpath = $this->buildXPathQuery('//ul[@class=:class]/li/a[contains(@href, :href)]', [
$layout_link_xpath = $this->assertSession()->buildXPathQuery('//ul[@class=:class]/li/a[contains(@href, :href)]', [
':class' => 'dropbutton',
':href' => '/home/layout',
]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment