diff --git a/src/Plugin/Editor/Gutenberg.php b/src/Plugin/Editor/Gutenberg.php
index f0bca80..6930e65 100644
--- a/src/Plugin/Editor/Gutenberg.php
+++ b/src/Plugin/Editor/Gutenberg.php
@@ -208,7 +208,7 @@ class Gutenberg extends EditorBase implements ContainerFactoryPluginInterface {
 
     $settings = [
       'contentType' => $node_type,
-      'allowedBlocks' => $this->configFactory->get($node_type . '_allowed_blocks'),
+      'allowedBlocks' => $this->configFactory->get('gutenberg.settings')->get($node_type . '_allowed_blocks'),
       'blackList' => $blocks_settings['blacklist'],
     ];
 
diff --git a/tests/src/FunctionalJavascript/GutenbergSimpleTest.php b/tests/src/FunctionalJavascript/GutenbergSimpleTest.php
new file mode 100644
index 0000000..923fa2d
--- /dev/null
+++ b/tests/src/FunctionalJavascript/GutenbergSimpleTest.php
@@ -0,0 +1,115 @@
+<?php
+
+namespace Drupal\Tests\gutenberg\FunctionalJavascript;
+
+use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
+
+/**
+ * Test some basic things.
+ *
+ * @group gutenberg
+ */
+class GutenbergSimpleTest extends WebDriverTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  protected $defaultTheme = 'stark';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected $strictConfigSchema = FALSE;
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $modules = [
+    'gutenberg',
+    'node',
+    'media',
+  ];
+
+  /**
+   * The account.
+   *
+   * @var \Drupal\user\UserInterface
+   */
+  protected $account;
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setUp(): void {
+    parent::setUp();
+    // When we create a content type like this it will automatically get a body
+    // field.
+    $this->drupalCreateContentType([
+      'type' => 'article',
+    ]);
+    $this->account = $this->drupalCreateUser([
+      'create article content',
+      'edit any article content',
+      'use text format gutenberg',
+      'use gutenberg',
+      // We need this to edit this content type and enable gutenberg and the
+      // blocks we want.
+      'administer content types',
+    ]);
+    $this->drupalLogin($this->account);
+  }
+
+  /**
+   * Test that gutenberg shows, and the expected blocks are there.
+   *
+   * Also tests that some unexpected blocks are not there.
+   */
+  public function testGutenbergEnabledBlocksAsExpected() : void {
+    $this->drupalGet('/admin/structure/types/manage/article');
+    // We want to manually click all of the things, since that will make sure we
+    // disable both current list of blocks, but also new ones added in the
+    // future.
+    $page = $this->getSession()->getPage();
+    $page->find('css', 'a[href="#edit-gutenberg"]')->click();
+    // Enable it.
+    $page->find('css', 'input[name="enable_gutenberg_experience"]')->click();
+    // Now we need to expand all fieldsets so we can click the checkboxes.
+    $sets = $page->findAll('css', 'details[data-drupal-selector="edit-gutenberg"] details');
+    foreach ($sets as $set) {
+      $set->click();
+    }
+    // Now loop over all of the checkboxes and disable them one by one.
+    $boxes = $page->findAll('css', 'details[data-drupal-selector="edit-gutenberg"] details input[type="checkbox"]');
+    foreach ($boxes as $box) {
+      $box->uncheck();
+    }
+    // Enable paragraph.
+    $page->find('css', 'input[name="allowed_blocks_core[core/paragraph]"]')->click();
+    // Now let's save the content type.
+    sleep(2);
+    $page->find('css', '[data-drupal-selector="edit-submit"]')->click();
+    $this->drupalGet('/node/add/article');
+    // Not interested in the tour.
+    $page = $this->getSession()->getPage();
+    $page->find('css', '[aria-label="Close dialog"]')->click();
+    $page->find('css', '.edit-post-header-toolbar__inserter-toggle')->click();
+    // Now let's find all of the blocks we are allowed to use. This should be
+    // only the paragraph one, certainly not any media ones. And I guess the
+    // group design block?
+    $elements = $page->findAll('css', '.block-editor-inserter__block-list .block-editor-block-types-list__list-item');
+    $ok_to_find = [
+      'Paragraph',
+      'Group',
+    ];
+    $unexpected_finds = [];
+    foreach ($elements as $element) {
+      $text = trim($element->getText());
+      if (in_array($text, $ok_to_find)) {
+        continue;
+      }
+      $unexpected_finds[] = $text;
+    }
+    self::assertEmpty($unexpected_finds, sprintf('Found the following unexpected allowed %s: %s', count($unexpected_finds) > 1 ? 'blocks': 'block', implode(', ', $unexpected_finds)));
+  }
+
+}
