From eaec09a5945e58849b40ebfee520cc87119fa4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 6 Nov 2017 14:57:28 +0100 Subject: [PATCH] test(e2e): fix twitter card test --- test/e2e/specs/the-example-app-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/the-example-app-spec.js b/test/e2e/specs/the-example-app-spec.js index 62dabb9..47f5533 100644 --- a/test/e2e/specs/the-example-app-spec.js +++ b/test/e2e/specs/the-example-app-spec.js @@ -8,7 +8,7 @@ describe('The Example App', () => { 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="twitter:card"]').should('attr', 'value', '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, an application built to serve you as a reference while 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')