Welcome to mirror list, hosted at ThFree Co, Russian Federation.

static_site_editor_spec.rb « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9ae23b4bdecbffb879db32cf15056a68a78e9597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'Static Site Editor' do
  let_it_be(:user) { create(:user) }
  let_it_be(:project) { create(:project, :public, :repository) }

  before do
    project.add_maintainer(user)
    sign_in(user)

    visit project_show_sse_path(project, 'master/README.md')
  end

  it 'renders Static Site Editor page' do
    expect(page).to have_selector('#static-site-editor')
  end
end