Serve branded footer JSON/HTML/CSS/JS from an API endpoint in the branding app. Refactor OpenEdX and EdX.org footer templates to use the Python version of the API, ensuring that the API values are consistent with the footer included in main.html. Detailed changes: * Added footer API end-point to the branding app. * Footer API allows the language to be set with querystring parameters. * Footer API allows showing/hiding of the OpenEdX logo using querystring parameters. * Deprecate ENABLE_FOOTER_V3 in favor of the branding API configuration flag. * Move no referrer script into main.html from the edx footer template. * Rename rwd_header_footer.js to rwd_header.js * Cache API responses. Authors: Awais Qureshi, Aamir Khan, Will Daly
24 lines
713 B
Gherkin
24 lines
713 B
Gherkin
@shard_1
|
|
Feature: LMS.Homepage for web users
|
|
In order to get an idea what edX is about
|
|
As an anonymous web user
|
|
I want to check the information on the home page
|
|
|
|
Scenario: User can see the "Sign in" button
|
|
Given I visit the homepage
|
|
Then I should see a link called "Sign in"
|
|
|
|
Scenario: User can see the "Register Now" button
|
|
Given I visit the homepage
|
|
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 the following links and ids
|
|
| id | Link |
|
|
| about | About |
|
|
| jobs | Jobs |
|
|
| faq | FAQs |
|
|
| contact | Contact|
|
|
| news | News |
|