only in patch2: unchanged: --- a/core/modules/node/src/Tests/NodeCreationTest.php +++ b/core/modules/node/src/Tests/NodeCreationTest.php @@ -72,6 +72,12 @@ function testNodeCreation() { $this->drupalGet('node/' . $node->id()); $this->assertText($node->getOwner()->getUsername()); $this->assertText(format_date($node->getCreatedTime())); + + // Check if the node revision checkbox is not rendered on node creation form. + $admin_user = $this->drupalCreateUser(array('administer nodes', 'create page content')); + $this->drupalLogin($admin_user); + $this->drupalGet('node/add/page'); + $this->assertNoFieldById('edit-revision', NULL , 'The revision field is present.'); } /**