Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
start update to 5.2
Commit Description:
start update to 5.2
require "application_system_test_case"
class AnnouncementsTest < ApplicationSystemTestCase
test "add new announcement" do
visit root_path
fill_in "Login" , with : "admin"
fill_in "Password" , with : "admin"
click_on "Login"
assert_text "MAIN"
assert_text "Submission"
within :css , 'header' do
click_on "Manage"
click_on "Announcements"
end
assert_text "+ Add announcement"
click_on "Add announcement" , match : :first
fill_in 'Title' , with : 'test'
fill_in 'Body' , with : 'test body 12345'
check 'Published'
click_on 'Create'
visit list_main_path
assert_text "test body 12345"
end
# test "visiting the index" do
# visit announcements_url
#
# assert_selector "h1", text: "Announcement"
# end
end
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings