/usr/lib/obs/tests/appliance/spec/features/0030_create_project_home_Admin_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 17 | require "spec_helper"
RSpec.describe "Create project home:Admin" do
it "should be able to login as user 'Admin'" do
obs_login('Admin','opensuse')
end
it "should be able to create home project" do
click_link('Create Home')
expect(page).to have_content("Create New Project")
find('input[name="commit"]').click #Create Project
expect(page).to have_content("Project 'home:Admin' was created successfully")
end
end
|