Commit 0fc1e9a8 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'move-admin-logs-spinach-test-to-rspec' into 'master'

Move admin logs spinach test to RSpec

https://gitlab.com/gitlab-org/gitlab-ce/issues/23036

See merge request !7945
parents 9e5d9f01 e16bc50d
---
title: Move admin logs spinach test to rspec
merge_request: 7945
author: Semyon Pupkov
@admin
Feature: Admin Logs
Background:
Given I sign in as an admin
Scenario: On Admin Logs
Given I visit admin logs page
Then I should see tabs with available logs
class Spinach::Features::AdminLogs < Spinach::FeatureSteps require 'spec_helper'
include SharedAuthentication
include SharedPaths describe 'Admin browses logs' do
include SharedAdmin before do
login_as :admin
end
it 'shows available log files' do
visit admin_logs_path
step 'I should see tabs with available logs' do
expect(page).to have_content 'test.log' expect(page).to have_content 'test.log'
expect(page).to have_content 'githost.log' expect(page).to have_content 'githost.log'
expect(page).to have_content 'application.log' expect(page).to have_content 'application.log'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment