Commit e16bc50d authored by Semyon Pupkov's avatar Semyon Pupkov

Move admin logs spinach test to rspec

https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
parent 18201ace
---
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
include SharedAuthentication
include SharedPaths
include SharedAdmin
require 'spec_helper'
describe 'Admin browses logs' do
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 'githost.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