diff options
Diffstat (limited to 'test/test-pages/title-and-h1-discrepancy')
4 files changed, 55 insertions, 0 deletions
diff --git a/test/test-pages/title-and-h1-discrepancy/expected-images.json b/test/test-pages/title-and-h1-discrepancy/expected-images.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/test/test-pages/title-and-h1-discrepancy/expected-images.json @@ -0,0 +1 @@ +[]
\ No newline at end of file diff --git a/test/test-pages/title-and-h1-discrepancy/expected-metadata.json b/test/test-pages/title-and-h1-discrepancy/expected-metadata.json new file mode 100644 index 0000000..2840904 --- /dev/null +++ b/test/test-pages/title-and-h1-discrepancy/expected-metadata.json @@ -0,0 +1,4 @@ +{ + "Title": "This is a long title with a colon: Hello there", + "Excerpt": "Lorem\n ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." +} diff --git a/test/test-pages/title-and-h1-discrepancy/expected.html b/test/test-pages/title-and-h1-discrepancy/expected.html new file mode 100644 index 0000000..e4fa77a --- /dev/null +++ b/test/test-pages/title-and-h1-discrepancy/expected.html @@ -0,0 +1,20 @@ +<article> + <p> + Lorem + ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + <p> + Lorem + ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> +</article>
\ No newline at end of file diff --git a/test/test-pages/title-and-h1-discrepancy/source.html b/test/test-pages/title-and-h1-discrepancy/source.html new file mode 100644 index 0000000..d91b658 --- /dev/null +++ b/test/test-pages/title-and-h1-discrepancy/source.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"/> + <title>This is a long title with a colon: Hello there</title> +</head> +<body> +<article> + <h1>This is a long title with a colon: But the final text here is different</h1> + <div> + Lorem + ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </div> + <div> + Lorem + ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </div> +</article> +</body> +</html> |