This file is indexed.

/usr/lib/obs/tests/appliance/spec/features/0010_signup_as_testuser_spec.rb is in obs-server 2.7.1-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
require "spec_helper"

RSpec.describe "Sign Up & Login" do
  it "should be able to sign up successfully and logout" do
    visit "/"
    expect(page).to have_content("Log In")
    fill_in 'login', with: 'test_user'
    fill_in 'email', with: 'test_user@openqa.com'
    fill_in 'pwd', with: 'opensuse'
    click_button('Sign Up')
    expect(page).to have_content("The account 'test_user' is now active.")
    within("div#subheader") do
      click_link('Logout')
    end
  end
end