Issue #2322439 by subhojit777, akashjain132, znerol, jaimekristene, japo32,...
Issue #2322439 by subhojit777, akashjain132, znerol, jaimekristene, japo32, ThomWilhelm: Titles in a user's activity tab displays as just text and not a link
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$this->assertText($my_published->label(),"Published nodes show up in the user's tracker listing.");
$this->assertText($my_published->label(),"Published nodes show up in the user's tracker listing.");
$this->assertNoText($other_published_no_comment->label(),"Another user's nodes do not show up in the user's tracker listing.");
$this->assertNoText($other_published_no_comment->label(),"Another user's nodes do not show up in the user's tracker listing.");
$this->assertText($other_published_my_comment->label(),"Nodes that the user has commented on appear in the user's tracker listing.");
$this->assertText($other_published_my_comment->label(),"Nodes that the user has commented on appear in the user's tracker listing.");
$this->assertLink($my_published->label());
$this->assertNoLink($unpublished->label());
// Verify that title and tab title have been set correctly.
// Verify that title and tab title have been set correctly.
$this->assertText('Activity','The user activity tab has the name "Activity".');
$this->assertText('Activity','The user activity tab has the name "Activity".');
$this->assertTitle(t('@name | @site',array('@name'=>$this->user->getUsername(),'@site'=>\Drupal::config('system.site')->get('name'))),'The user tracker page has the correct page title.');
$this->assertTitle(t('@name | @site',array('@name'=>$this->user->getUsername(),'@site'=>\Drupal::config('system.site')->get('name'))),'The user tracker page has the correct page title.');
...
@@ -212,6 +214,7 @@ function testTrackerNewComments() {
...
@@ -212,6 +214,7 @@ function testTrackerNewComments() {
$this->drupalLogin($this->user);
$this->drupalLogin($this->user);
$this->drupalGet('activity');
$this->drupalGet('activity');
$this->assertText('1 new','New comments are counted on the tracker listing pages.');
$this->assertText('1 new','New comments are counted on the tracker listing pages.');