diff --git a/common/djangoapps/terrain/steps.py b/common/djangoapps/terrain/steps.py
index 83a6123a2a..d2be2eeea8 100644
--- a/common/djangoapps/terrain/steps.py
+++ b/common/djangoapps/terrain/steps.py
@@ -122,6 +122,13 @@ def should_see_a_link_called(step, text):
assert len(world.browser.find_link_by_text(text)) > 0
+@step(r'should see (?:the|a) link with the id "([^"]*)" called "([^"]*)"$')
+def should_have_link_with_id_and_text(step, link_id, text):
+ link = world.browser.find_by_id(link_id)
+ assert len(link) > 0
+ assert_equals(link.text, text)
+
+
@step(r'should see "(.*)" (?:somewhere|anywhere) in (?:the|this) page')
def should_see_in_the_page(step, text):
assert_in(text, world.css_text('body'))
diff --git a/lms/djangoapps/courseware/features/homepage.feature b/lms/djangoapps/courseware/features/homepage.feature
index c0c1c32f02..2c354acd49 100644
--- a/lms/djangoapps/courseware/features/homepage.feature
+++ b/lms/djangoapps/courseware/features/homepage.feature
@@ -5,29 +5,24 @@ Feature: Homepage for web users
Scenario: User can see the "Login" button
Given I visit the homepage
- Then I should see a link called "Log In"
+ Then I should see a link called "Log in"
- Scenario: User can see the "Sign up" button
+ Scenario: User can see the "Register Now" button
Given I visit the homepage
- Then I should see a link called "Sign Up"
+ Then I should see a link called "Register Now"
Scenario Outline: User can see main parts of the page
Given I visit the homepage
- Then I should see a link called ""
- When I click the link with the text ""
- Then I should see that the path is ""
+ Then I should see a link with the id "" called ""
Examples:
- | Link | Path |
- | Find Courses | /courses |
- | About | /about |
- | Jobs | /jobs |
- | Contact | /contact |
+ | id | Link |
+ | about | About |
+ | jobs | Jobs |
+ | faq | FAQ |
+ | contact | Contact|
+ | press | Press |
- Scenario: User can visit the blog
- Given I visit the homepage
- When I click the link with the text "Blog"
- Then I should see that the url is "http://blog.edx.org/"
# TODO: test according to domain or policy
Scenario: User can see the partner institutions
diff --git a/lms/templates/footer.html b/lms/templates/footer.html
index 3fa956c704..daad0a2457 100644
--- a/lms/templates/footer.html
+++ b/lms/templates/footer.html
@@ -8,27 +8,27 @@