insertConnectionRows = function (button) {
  const workspace = button.getTargetWorkspace();
  Blockly.Xml.domToWorkspace(
    Blockly.utils.xml.textToDom(
      '<xml xmlns="https://developers.google.com/blockly/xml">\n' +
        '  <block type="test_connections_row_input">\n' +
        '    <value name="NAME">\n' +
        '      <block type="test_connections_row_blue">\n' +
        '        <value name="NAME">\n' +
        '          <block type="test_connections_row_yellow">\n' +
        '            <value name="NAME">\n' +
        '              <block type="test_connections_row_yellow">\n' +
        '                <value name="NAME">\n' +
        '                  <block type="test_connections_row_red">\n' +
        '                    <value name="NAME">\n' +
        '                      <block type="test_connections_row_output"/>\n' +
        '                    </value>\n' +
        '                  </block>\n' +
        '                </value>\n' +
        '              </block>\n' +
        '            </value>\n' +
        '          </block>\n' +
        '        </value>\n' +
        '      </block>\n' +
        '    </value>\n' +
        '  </block>\n' +
        '</xml>',
    ),
    workspace,
  );
}
Handles "insert" button in the connection row test category. This will insert
a group of test blocks connected in a row.
@param {!Blockly.FlyoutButton} button The Flyout button.