new deployment (#59)

* Production (#44)

* test: Fix integration test

* fix: Fix Editorial feature

* chore(localization): move locales to i18n folder

* feat(modules): add image caption and shadow

* fix: clarify German translation🇩🇪

* chore(localization): fix typo (#47)

* Split first paragraph into sections (#46)

* feat(controls): add help text to API dropdown

* fix(style): simplify header and fix mobile design

* fix(style): simplify footer and fix mobile design

* fix(style): update stylesheet and scripts file

* test(e2e): adjust tests and make them fail on CI

* language fixes

* rename labels to use full api name

* Refactor entry state toggle (#48)

* chore(editorialFeatures): extract editorial features toggle

* chore(refactor): rename function to make more contextual sense

* Fix breadcrumb and add test for locales (#49)

* test(unit): add test to check for locale consistency

* fix(breadcrumb): translate lessons route

* Change readme url to http from https (#52)

* tests(e2e): expect only 2 courses

* fix(cookies): fix variable naming and extend to two days maxAge

* Change text on next lesson button (#54)

* Retranslate advancedLabel

* fix(translations): do not break on vim temp files. This is dedicated to JP

* fix(analytics): use correct app-id

* Add instructions to seed a space to readme (#61)

* Change modal text; add link to model's repo to localization files (#57)

* fix(links): link correct GH repository

* fix(i18n): adjust view on github link label

* fix(style): move GitHub link to the left

* new screenshot
This commit is contained in:
Benedikt Rötsch
2017-11-09 16:36:06 +01:00
committed by David Litvak Bruno
parent 15c816f1c3
commit 5a20ed0dbc
8 changed files with 41 additions and 28 deletions

View File

@@ -6,9 +6,9 @@ describe('The Example App', () => {
it('meta tags', () => {
cy.title().should('equals', 'Home — The Example App', 'Home page should have correct meta title')
cy.get('meta[name="description"]').should('attr', 'content', 'This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.')
cy.get('meta[name="description"]').should('attr', 'content', 'This is "The Example App", a reference for building your own applications using Contentful.')
cy.get('meta[name="twitter:card"]').should('attr', 'content', 'This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.')
cy.get('meta[name="twitter:card"]').should('attr', 'content', 'This is "The Example App", a reference for building your own applications using Contentful.')
cy.get('meta[property="og:title"]').should('attr', 'content', 'Home — The Example App')
cy.get('meta[property="og:type"]').should('attr', 'content', 'article')
@@ -17,7 +17,7 @@ describe('The Example App', () => {
cy.get('meta[property="og:image:type"]').should('attr', 'content', 'image/jpeg')
cy.get('meta[property="og:image:width"]').should('attr', 'content', '1200')
cy.get('meta[property="og:image:height"]').should('attr', 'content', '1200')
cy.get('meta[property="og:description"]').should('attr', 'content', 'This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.')
cy.get('meta[property="og:description"]').should('attr', 'content', 'This is "The Example App", a reference for building your own applications using Contentful.')
cy.get('link[rel="apple-touch-icon"]')
.should('attr', 'sizes', '120x120')
@@ -46,8 +46,8 @@ describe('The Example App', () => {
cy.get('section.modal .modal__wrapper').should('hidden')
cy.get('.header__upper-title a').click()
cy.get('section.modal .modal__wrapper').should('visible')
cy.get('section.modal .modal__title').should('contain', 'A referenceable example for developers using Contentful')
cy.get('section.modal .modal__content').should('contain', 'This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.')
cy.get('section.modal .modal__title').should('contain', 'A reference for developers using Contentful')
cy.get('section.modal .modal__content').should('contain', 'This is "The Example App" in node.js. While building your own apps with Contentful,')
// Close on background
cy.get('section.modal .modal__overlay').click({force: true})