diff --git a/tests/src/Functional/CommerceBrowserTestBase.php b/tests/src/Functional/CommerceBrowserTestBase.php
new file mode 100644
index 0000000..a656e98
--- /dev/null
+++ b/tests/src/Functional/CommerceBrowserTestBase.php
@@ -0,0 +1,88 @@
+<?php
+
+namespace Drupal\Tests\commerce\Functional;
+
+use Drupal\Component\Render\FormattableMarkup;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Base class for Drupal Commerce (and contrib) to test with BrowserTest.
+ */
+abstract class CommerceBrowserTestBase extends BrowserTestBase {
+
+  /**
+   * Modules to enable.
+   *
+   * Note that when a child class declares its own $modules list, that list
+   * doesn't override this one, it just extends it.
+   *
+   * @see \Drupal\simpletest\WebTestBase::installModulesFromClassProperty()
+   *
+   * @var array
+   */
+  public static $modules = ['system', 'field', 'commerce', 'commerce_price'];
+
+  /**
+   * A test user with administrative privileges.
+   *
+   * @var \Drupal\user\UserInterface
+   */
+  protected $adminUser;
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+
+    $this->adminUser = $this->drupalCreateUser($this->getAdministratorPermissions());
+    $this->drupalLogin($this->adminUser);
+
+    $currency_importer = \Drupal::service('commerce_price.currency_importer');
+    $currency_importer->import('USD');
+  }
+
+  /**
+   * Gets the permissions for the admin user.
+   *
+   * @return string[]
+   *   The permissions.
+   */
+  protected function getAdministratorPermissions() {
+    return [
+      'view the administration theme',
+      'access administration pages',
+      'configure store',
+      'access content',
+    ];
+  }
+
+  /**
+   * Creates a new entity.
+   *
+   * @param string $entity_type
+   *   The entity type to be created.
+   * @param array $values
+   *   An array of settings.
+   *   Example: 'id' => 'foo'.
+   *
+   * @return \Drupal\Core\Entity\EntityInterface
+   *   A new entity.
+   */
+  protected function createEntity($entity_type, array $values) {
+    /** @var \Drupal\Core\Entity\EntityStorageInterface $storage */
+    $storage = \Drupal::service('entity_type.manager')->getStorage($entity_type);
+    $entity = $storage->create($values);
+    $status = $entity->save();
+    $this->assertEquals(SAVED_NEW, $status, new FormattableMarkup('Created %label entity %type.', [
+      '%label' => $entity->getEntityType()->getLabel(),
+      '%type' => $entity->id(),
+    ]));
+    // The newly saved entity isn't identical to a loaded one, and would fail
+    // comparisons.
+    $entity = $storage->load($entity->id());
+
+    return $entity;
+  }
+
+}
diff --git a/tests/src/Functional/CommerceBrowserTestBaseTest.php b/tests/src/Functional/CommerceBrowserTestBaseTest.php
new file mode 100644
index 0000000..06c4367
--- /dev/null
+++ b/tests/src/Functional/CommerceBrowserTestBaseTest.php
@@ -0,0 +1,45 @@
+<?php
+
+namespace Drupal\Tests\commerce\Functional;
+
+/**
+ * Tests CommerceBrowserTestBase functionality.
+ *
+ * @group commerce
+ */
+class CommerceBrowserTestBaseTest extends CommerceBrowserTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = ['entity_test'];
+
+  /**
+   * Tests that the admin user was created.
+   */
+  public function testAdminUser() {
+    $this->assertNotNull($this->adminUser);
+    $this->assertTrue($this->adminUser->hasPermission('view the administration theme'));
+    $this->assertTrue($this->adminUser->hasPermission('access administration pages'));
+    $this->assertTrue($this->adminUser->hasPermission('configure store'));
+    $this->assertTrue($this->adminUser->hasPermission('access content'));
+
+    $this->drupalGet($this->adminUser->toUrl());
+    $this->assertSession()->statusCodeEquals(200);
+  }
+
+  /**
+   * Test the createEntity helper.
+   */
+  public function testCreateEntity() {
+    /** @var \Drupal\entity_test\Entity\EntityTest $entity */
+    $entity = $this->createEntity('entity_test', [
+      'name' => 'Test Create Entity',
+      'user_id' => $this->adminUser->id(),
+    ]);
+
+    $this->assertEquals('Test Create Entity', $entity->label());
+    $this->assertEquals($this->adminUser->id(), $entity->getOwnerId());
+  }
+
+}
