Skip to content
Snippets Groups Projects
Commit b6e7d698 authored by catch's avatar catch
Browse files

Issue #3248309 by danflanagan8: AssertBreadcrumbTrait should not rely on Classy

(cherry picked from commit 77bd32e3)
parent bdf52138
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ protected function assertBreadcrumbParts($trail) {
*/
protected function getBreadcrumbParts() {
$parts = [];
$elements = $this->xpath('//nav[@class="breadcrumb"]/ol/li/a');
$elements = $this->xpath('//nav[@aria-labelledby="system-breadcrumb"]/ol/li/a');
if (!empty($elements)) {
foreach ($elements as $element) {
$parts[] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment