feat: i18n user interface (#40306)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Tom
2020-12-16 02:02:52 -06:00
committed by Mrugesh Mohapatra
parent a60a887e63
commit 3978c6be28
149 changed files with 3408 additions and 1084 deletions

View File

@ -45,8 +45,8 @@ describe('Navbar', () => {
cy.get('div.ais-Hits').should('not.exist');
});
it('Should have a Sign In button', () => {
cy.contains("[data-test-label='landing-small-cta']", 'Sign In');
it('Should have a "Sign in" button', () => {
cy.contains("[data-test-label='landing-small-cta']", 'Sign in');
});
// have the curriculum and CTA on landing and /learn pages.
@ -65,14 +65,14 @@ describe('Navbar', () => {
);
it(
'Should have `Sign In` link on landing and learn pages' +
'Should have `Sign in` link on landing and learn pages' +
'page when not signed in',
() => {
cy.contains(selectors.smallCallToAction, 'Sign In');
cy.contains(selectors.smallCallToAction, 'Sign in');
cy.get(selectors.navigationLinks)
.contains('Curriculum')
.click();
cy.contains(selectors.smallCallToAction, 'Sign In');
cy.contains(selectors.smallCallToAction, 'Sign in');
}
);