Skip to content
Snippets Groups Projects

Issue#3371457: Update Revision Operation in view mode.

1 unresolved thread

Closes #3371457

Merge request reports

Members who can merge are allowed to add commits.
Approval is optional
Ready to merge by members who can write to the target branch.
  • The source branch is 3835 commits behind the target branch.
  • 1 commit will be added to 11.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 159 159 $this->drupalGet("node/" . $node->id() . "/revisions/" . $node->getRevisionId() . "/view");
    160 160 $this->assertSession()->pageTextContains($node->body->value);
    161 161
    162 // Confirm the revision operations appears on the "view revision" page.
    163 $this->assertSession()->pageTextContains('Revert Revision');
    164 $this->assertSession()->linkByHrefExists('node/' . $node->id() . '/revisions/' . $node->getRevisionId() . '/revert');
    165 $this->assertSession()->pageTextContains('Back to Revision');
    166 $this->assertSession()->linkByHrefExists('node/' . $node->id() . '/revisions');
    167 $this->assertSession()->pageTextContains('Delete Revision');
    168 $this->assertSession()->linkByHrefExists('node/' . $node->id() . '/revisions/' . $node->getRevisionId() . '/delete');
    169
  • added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading