You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: snippets_spec.rb
    path of file: ./repos/snibox/spec/features/repository
    
    the code of the file until where you have to start completion: require 'rails_helper'

describe 'Snippets', js: true do
  before do
    login
    sleep 0.5
  end

  context 'create' do
    it 'untagged snippet' do
      create_snippet('test snippet')
      within('#labels') { expect(page).to have_content('No label
    
  def create_snippet(title, description = nil, label = nil)
    click_on 'Add snippet'
    fill_in 'title', with: title
    fill_in 'description', with: description.presence || 'my awesome snippet'
    fill_in_snippet_file_title(0, 'my snippet title')
    fill_in_editor_field(0)
    fill_in 'snippet-labels', with: label unless label.nil?
    click_on 'Create'
  end