Skip to content
Snippets Groups Projects
Unverified Commit d33e5251 authored by m4olivei's avatar m4olivei
Browse files

Issue #3507866: Fix a comment that was referring to non-existant navigation_top_bar

parent a3a456f3
No related branches found
No related tags found
1 merge request!11256Issue #3507866: Enable the Navigation Top Bar when Navigation is enabled
...@@ -83,7 +83,7 @@ public function testTopBarVisibility(): void { ...@@ -83,7 +83,7 @@ public function testTopBarVisibility(): void {
$this->verifyDynamicPageCache($test_page_url, 'HIT'); $this->verifyDynamicPageCache($test_page_url, 'HIT');
$this->assertSession()->elementNotExists('xpath', "//div[contains(@class, 'top-bar__content')]/div[contains(@class, 'top-bar__actions')]/button"); $this->assertSession()->elementNotExists('xpath', "//div[contains(@class, 'top-bar__content')]/div[contains(@class, 'top-bar__actions')]/button");
// Top Bar is visible once the feature flag module is enabled. // Top Bar is visible on node pages.
$this->verifyDynamicPageCache($this->node->toUrl(), 'MISS'); $this->verifyDynamicPageCache($this->node->toUrl(), 'MISS');
$this->verifyDynamicPageCache($this->node->toUrl(), 'HIT'); $this->verifyDynamicPageCache($this->node->toUrl(), 'HIT');
$this->assertSession()->elementExists('xpath', "(//div[contains(@class, 'top-bar__content')]/div[contains(@class, 'top-bar__actions')]/button)[1]"); $this->assertSession()->elementExists('xpath', "(//div[contains(@class, 'top-bar__content')]/div[contains(@class, 'top-bar__actions')]/button)[1]");
......
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