diff --git a/react/eslint.config.mjs b/react/eslint.config.mjs index 17c5a6f2..4a96983e 100644 --- a/react/eslint.config.mjs +++ b/react/eslint.config.mjs @@ -8,6 +8,7 @@ import reactPlugin from "eslint-plugin-react" import preferFC from 'eslint-plugin-react-prefer-function-component/config' import reactHooks from 'eslint-plugin-react-hooks' import noOnlyTests from 'eslint-plugin-no-only-tests' +import jest from 'eslint-plugin-jest' export default tseslint.config( ...tseslint.configs.strictTypeChecked, @@ -115,5 +116,11 @@ export default tseslint.config( rules: { 'no-only-tests/no-only-tests': 'error' } + }, + jest.configs['flat/style'], + { + rules: { + 'jest/no-identical-title': 'error' // Prevent default screencap names + } } ) diff --git a/react/package-lock.json b/react/package-lock.json index 977d25de..e122dcfa 100644 --- a/react/package-lock.json +++ b/react/package-lock.json @@ -57,6 +57,7 @@ "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jest": "^28.8.3", "eslint-plugin-no-only-tests": "^3.3.0", "eslint-plugin-react": "^7.35.2", "eslint-plugin-react-hooks": "^4.6.2", @@ -6588,6 +6589,31 @@ "node": "*" } }, + "node_modules/eslint-plugin-jest": { + "version": "28.8.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.3.tgz", + "integrity": "sha512-HIQ3t9hASLKm2IhIOqnu+ifw7uLZkIlR7RYNv7fMcEi/p0CIiJmfriStQS2LDkgtY4nyLbIZAD+JL347Yc2ETQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "engines": { + "node": "^16.10.0 || ^18.12.0 || >=20.0.0" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": "^6.0.0 || ^7.0.0 || ^8.0.0", + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0", + "jest": "*" + }, + "peerDependenciesMeta": { + "@typescript-eslint/eslint-plugin": { + "optional": true + }, + "jest": { + "optional": true + } + } + }, "node_modules/eslint-plugin-no-only-tests": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-3.3.0.tgz", @@ -19977,6 +20003,15 @@ } } }, + "eslint-plugin-jest": { + "version": "28.8.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.3.tgz", + "integrity": "sha512-HIQ3t9hASLKm2IhIOqnu+ifw7uLZkIlR7RYNv7fMcEi/p0CIiJmfriStQS2LDkgtY4nyLbIZAD+JL347Yc2ETQ==", + "dev": true, + "requires": { + "@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, "eslint-plugin-no-only-tests": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-3.3.0.tgz", diff --git a/react/package.json b/react/package.json index 78420485..ca815142 100644 --- a/react/package.json +++ b/react/package.json @@ -36,6 +36,7 @@ "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jest": "^28.8.3", "eslint-plugin-no-only-tests": "^3.3.0", "eslint-plugin-react": "^7.35.2", "eslint-plugin-react-hooks": "^4.6.2", diff --git a/react/test/article_test.ts b/react/test/article_test.ts index f2887185..5cebf034 100644 --- a/react/test/article_test.ts +++ b/react/test/article_test.ts @@ -10,12 +10,12 @@ urbanstatsFixture('longer article test', '/article.html?longname=California%2C+U test('california-article-test', async (t) => { // screenshot path: images/first_test.png - await screencap(t, 'article/california') + await screencap(t) }) test('neighboring-state-test', async (t) => { await t.wait(1000) - await screencap(t, 'article/california-with-neighbors') + await screencap(t) await t .click(Selector('path').withAttribute('class', /tag-Arizona,_USA/)) await t.expect(getLocation()) @@ -25,7 +25,7 @@ test('neighboring-state-test', async (t) => { urbanstatsFixture('shorter article test', `/article.html?longname=San+Marino+city%2C+California%2C+USA`) test('san-marino-article-test', async (t) => { - await screencap(t, 'article/san-marino') + await screencap(t) }) test('editable-number', async (t) => { @@ -78,7 +78,7 @@ test('lr-buttons', async (t) => { test('san-marino-2010-health', async (t) => { await check_textboxes(t, ['2010 Census', 'Health']) - await screencap(t, 'article/san-marino-2010-health') + await screencap(t) }) test('uncheck-box-mobile', async (t) => { @@ -90,10 +90,10 @@ test('uncheck-box-mobile', async (t) => { await t.wait(1000) await check_textboxes(t, ['Race']) - await screencap(t, 'article/remove_race_initial_mobile') + await screencap(t) // refresh await t.eval(() => { location.reload() }) - await screencap(t, 'article/remove_race_refresh_mobile') + await screencap(t) }) test('uncheck-box-desktop', async (t) => { @@ -103,10 +103,10 @@ test('uncheck-box-desktop', async (t) => { await t.wait(1000) await check_textboxes(t, ['Race']) - await screencap(t, 'article/remove_race_initial_desktop') + await screencap(t) // refresh await t.eval(() => { location.reload() }) - await screencap(t, 'article/remove_race_refresh_desktop') + await screencap(t) }) test('simple', async (t) => { @@ -116,11 +116,11 @@ test('simple', async (t) => { await t.wait(1000) await check_textboxes(t, ['Simple Ordinals']) - await screencap(t, 'article/simple-ordinals') + await screencap(t) }) test('download-article', async (t) => { - await download_image(t, 'article/download-article') + await download_image(t) }) test('create-comparison-from-article', async (t) => { @@ -135,10 +135,10 @@ test('create-comparison-from-article', async (t) => { urbanstatsFixture('article universe selector test', `/article.html?longname=San+Marino+city%2C+California%2C+USA`) -test('article-universe-selector-test', async (t) => { +test('article-universe-selector-test-california', async (t) => { await t .click(Selector('img').withAttribute('class', 'universe-selector')) - await screencap(t, 'article-dropped-down-universe-selector') + await screencap(t) await t .click( Selector('img') @@ -150,10 +150,10 @@ test('article-universe-selector-test', async (t) => { urbanstatsFixture('article universe selector test international', `/article.html?longname=Delhi+%5BNew+Delhi%5D+Urban+Center%2C+India`) -test('article-universe-selector-test', async (t) => { +test('article-universe-selector-test-india', async (t) => { await t .click(Selector('img').withAttribute('class', 'universe-selector')) - await screencap(t, 'article-dropped-down-universe-selector-international') + await screencap(t) await t .click( Selector('img') @@ -161,7 +161,7 @@ test('article-universe-selector-test', async (t) => { .withAttribute('alt', 'India')) await t.expect(getLocation()) .eql(`${TARGET}/article.html?longname=Delhi+%5BNew+Delhi%5D+Urban+Center%2C+India&universe=India`) - await screencap(t, 'article/delhi-india') + await screencap(t) }) urbanstatsFixture('article universe navigation test', `/article.html?longname=San+Marino+city%2C+California%2C+USA&universe=California%2C+USA`) @@ -193,7 +193,7 @@ test('article-universe-statistic-page', async (t) => { .click(Selector('a').withText(/^Area$/)) await t.expect(getLocation()) .eql(`${TARGET}/statistic.html?statname=Area&article_type=City&start=821&amount=20&universe=California%2C+USA`) - await screencap(t, 'statistics/universe-statistic-page') + await screencap(t) }) test('article-universe-related-button', async (t) => { @@ -223,7 +223,7 @@ test('article-universe-compare', async (t) => { .eql( `${TARGET}/comparison.html?longnames=%5B%22San+Marino+city%2C+California%2C+USA%22%2C%22San+Francisco+city%2C+California%2C+USA%22%5D&universe=California%2C+USA`, ) - await screencap(t, 'comparison/universe-compare') + await screencap(t) }) test('article-universe-compare-different', async (t) => { @@ -236,7 +236,7 @@ test('article-universe-compare-different', async (t) => { .eql( `${TARGET}/comparison.html?longnames=%5B%22San+Marino+city%2C+California%2C+USA%22%2C%22Chicago+city%2C+Illinois%2C+USA%22%5D`, ) - await screencap(t, 'comparison/universe-compare-different') + await screencap(t) }) urbanstatsFixture('article universe state test', `/article.html?longname=California%2C+USA`) @@ -253,19 +253,19 @@ test('article-universe-state-world', async (t) => { await t.expect(getLocation()) .eql(`${TARGET}/article.html?longname=California%2C+USA&universe=world`) // screenshot - await screencap(t, 'article/california-world') + await screencap(t) }) urbanstatsFixture('article universe state from subnational test', `/article.html?longname=Kerala%2C+India`) test('article-universe-state-from-subnational', async (t) => { - await screencap(t, 'article/kerala-india') + await screencap(t) // click the > button await t .click(Selector('a').withText('>')) await t.expect(getLocation()) .eql(`${TARGET}/article.html?longname=California%2C+USA&universe=world`) - await screencap(t, 'article/california-world-from-kerala') + await screencap(t) }) urbanstatsFixture('all stats test', `/article.html?longname=California%2C+USA`) @@ -274,7 +274,7 @@ test('california-all-stats', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) await check_all_category_boxes(t) - await screencap(t, 'article/california-all-stats') + await screencap(t) }) // selected because the gz changed in statistic classes @@ -284,5 +284,5 @@ test('charlotte-all-stats', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) await check_all_category_boxes(t) - await screencap(t, 'article/charlotte-all-stats') + await screencap(t) }) diff --git a/react/test/comparison_test.ts b/react/test/comparison_test.ts index c7184b05..20b917ef 100644 --- a/react/test/comparison_test.ts +++ b/react/test/comparison_test.ts @@ -13,13 +13,13 @@ urbanstatsFixture('comparison test heterogenous', comparison_page(['San Marino c test('comparison-3-desktop-heterogenous', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'comparison/heterogenous-comparison-desktop') + await screencap(t) }) test('comparison-3-mobile-heterogenous', async (t) => { await t.resizeWindow(400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'comparison/heterogenous-comparison-mobile') + await screencap(t) }) urbanstatsFixture('comparison test homogenous (2)', comparison_page([upper_sgv, sw_sgv])) @@ -27,7 +27,7 @@ urbanstatsFixture('comparison test homogenous (2)', comparison_page([upper_sgv, test('comparison-2-mobile', async (t) => { await t.resizeWindow(400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'comparison/basic-comparison-2-mobile') + await screencap(t) }) urbanstatsFixture('comparison test homogenous (3)', comparison_page([upper_sgv, pasadena, sw_sgv])) @@ -35,19 +35,19 @@ urbanstatsFixture('comparison test homogenous (3)', comparison_page([upper_sgv, test('comparison-3-desktop', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'comparison/basic-comparison-desktop') + await screencap(t) }) test('comparison-3-mobile', async (t) => { await t.resizeWindow(400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'comparison/basic-comparison-mobile') + await screencap(t) }) test('comparison-3-download', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) - await download_image(t, 'comparison/download-comparison') + await download_image(t) }) test('comparison-3-add', async (t) => { @@ -107,5 +107,5 @@ urbanstatsFixture('plotted-across-180', `${TARGET}/comparison.html?longnames=%5B test('comparison-3-plotted-across-180', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'comparison/plotted-across-180') + await screencap(t) }) diff --git a/react/test/histogram_test.ts b/react/test/histogram_test.ts index d8e076d4..1df7337e 100644 --- a/react/test/histogram_test.ts +++ b/react/test/histogram_test.ts @@ -35,7 +35,7 @@ test('histogram-basic-article', async (t) => { await t.eval(() => { location.reload() }) await t.click(Selector('.expand-toggle')) await download_or_check_histogram(t, 'histogram-basic-article') - await screencap(t, 'histogram/histogram-basic-article') + await screencap(t) }) test('histogram-basic-article-multi', async (t) => { @@ -48,10 +48,10 @@ test('histogram-basic-article-multi', async (t) => { for (let i = 0; i < count; i++) { await t.click(Selector('.expand-toggle').nth(i)) } - await screencap(t, 'histogram/histogram-basic-article-multi') - await download_image(t, 'histogram/histogram-basic-article-multi-screenshot') - await download_histogram(t, 'histogram/histogram-basic-article-multi-histogram-0', 0) - await download_histogram(t, 'histogram/histogram-basic-article-multi-histogram-1', 1) + await screencap(t) + await download_image(t) + await download_histogram(t, 0) + await download_histogram(t, 1) }) urbanstatsFixture('comparison test heterogenous', comparison_page(['San Marino city, California, USA', pasadena, sw_sgv])) @@ -62,7 +62,7 @@ test('histogram-basic-comparison', async (t) => { // select element with class name `expand-toggle` await t.click(Selector('.expand-toggle')) await download_or_check_histogram(t, 'histogram-basic-comparison') - await screencap(t, 'histogram/histogram-basic-comparison') + await screencap(t) }) urbanstatsFixture('comparison test heterogenous with nan', comparison_page(['India', 'China', pasadena])) @@ -73,7 +73,7 @@ test('histogram-basic-comparison-nan', async (t) => { // select element with class name `expand-toggle` await t.click(Selector('.expand-toggle')) await download_or_check_histogram(t, 'histogram-basic-comparison-nan') - await screencap(t, 'histogram/histogram-basic-comparison-nan') + await screencap(t) }) urbanstatsFixture('comparison test heterogenous with nan in the middle', comparison_page(['India', pasadena, 'China'])) @@ -84,7 +84,7 @@ test('histogram-basic-comparison-nan-middle', async (t) => { // select element with class name `expand-toggle` await t.click(Selector('.expand-toggle')) await download_or_check_histogram(t, 'histogram-basic-comparison-nan-middle') - await screencap(t, 'histogram/histogram-basic-comparison-nan-middle') + await screencap(t) }) urbanstatsFixture('comparison ordering test', `${TARGET}/comparison.html?longnames=%5B%22USA%22%2C%22United+Kingdom%22%5D`) @@ -92,5 +92,5 @@ urbanstatsFixture('comparison ordering test', `${TARGET}/comparison.html?longnam test('histogram-ordering', async (t) => { await t.click(Selector('.expand-toggle')) await download_or_check_histogram(t, 'histogram-ordering') - await screencap(t, 'histogram/histogram-ordering') + await screencap(t) }) diff --git a/react/test/mapper_test.ts b/react/test/mapper_test.ts index c2ecfcd7..5a9d6da6 100644 --- a/react/test/mapper_test.ts +++ b/react/test/mapper_test.ts @@ -16,7 +16,7 @@ async function check_geojson(t: TestController, path: string): Promise { urbanstatsFixture('mapping', `${TARGET}/mapper.html?settings=H4sIAAAAAAAAA1WOzQ6CQAyEX8XUeCOGixeO%2BggejSEFy7Kh%2B5PdRSWEd7dLjMHe2plvpjMociqg76d60PYBFVwTJoICOs2JAlQzkMWGSbQOOZIoo22TdjZrafIk0O9UwBODzv4I1e2%2BLAW0jl2oo8RugKitYlrtPObDmbEddgcQIKDxGytrSxjgG2Rwq%2FlAkZJoFk3eL2NDPbF%2BQ27OpBRPUiTIiotnX64j0Iu06uWr8ngSd4OR%2FtNdNJLzAd2YY7skAQAA`) test('state-map', async (t) => { - await screencap(t, 'state-map') + await screencap(t) await check_geojson(t, 'state-map-geojson') }) @@ -26,6 +26,6 @@ test('mapping-more-complex', async (t) => { await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) await t.wait(5000) - await screencap(t, 'mapping-more-complex') + await screencap(t) await check_geojson(t, 'mapping-more-complex-geojson') }) diff --git a/react/test/quiz_test.ts b/react/test/quiz_test.ts index 38761296..b346ebd0 100644 --- a/react/test/quiz_test.ts +++ b/react/test/quiz_test.ts @@ -6,7 +6,7 @@ import { RequestHook, Selector } from 'testcafe' import { TARGET, screencap, urbanstatsFixture } from './test_utils' -async function quiz_screencap(t: TestController, name: string): Promise { +async function quiz_screencap(t: TestController): Promise { await t.eval(() => { const elem = document.getElementById('quiz-timer') if (elem) { @@ -14,7 +14,7 @@ async function quiz_screencap(t: TestController, name: string): Promise { } }) await t.wait(1000) - await screencap(t, name) + await screencap(t) } export class ProxyPersistent extends RequestHook { @@ -25,7 +25,6 @@ export class ProxyPersistent extends RequestHook { e.requestOptions.protocol = 'http:' e.requestOptions.path = e.requestOptions.path.replace('https://persistent.urbanstats.org', 'localhost:54579') e.requestOptions.host = 'localhost:54579' - // console.log(e) } } @@ -119,21 +118,21 @@ quiz_fixture( test('quiz-clickthrough-test', async (t) => { await click_button(t, 'a') await t.wait(2000) - await quiz_screencap(t, 'quiz/clickthrough-1') + await quiz_screencap(t) await click_button(t, 'b') await t.wait(2000) - await quiz_screencap(t, 'quiz/clickthrough-2') + await quiz_screencap(t) await click_button(t, 'a') await t.wait(2000) - await quiz_screencap(t, 'quiz/clickthrough-3') + await quiz_screencap(t) await click_button(t, 'b') await t.wait(2000) - await quiz_screencap(t, 'quiz/clickthrough-4') + await quiz_screencap(t) await click_button(t, 'a') await t.wait(2000) await t.eval(() => { document.getElementById('quiz-timer')!.remove() }) await t.wait(3000) - await quiz_screencap(t, 'quiz/clickthrough-5') + await quiz_screencap(t) const quiz_history: unknown = await t.eval(() => { return JSON.stringify(JSON.parse(localStorage.getItem('quiz_history')!)) }) @@ -212,7 +211,7 @@ quiz_fixture( test('quiz-percentage-correct', async (t) => { await t.eval(() => { location.reload() }) await click_buttons(t, ['a', 'a', 'a', 'a', 'a']) - await quiz_screencap(t, 'quiz/percentage-correct') + await quiz_screencap(t) await t.expect(await juxtastat_table()).eql( `${Array.from(Array(30).keys()).map(i => `${i + 30}|99|101`).join('\n')}\n` + `7|99|15\n`, ) @@ -225,7 +224,7 @@ test('quiz-percentage-correct', async (t) => { }) await t.eval(() => { location.reload() }) await click_buttons(t, ['a', 'a', 'a', 'a', 'a']) - await quiz_screencap(t, 'quiz/percentage-correct-2') + await quiz_screencap(t) await t.expect(await juxtastat_table()).eql( `${Array.from(Array(30).keys()).map(i => `${i + 30}|99|101`).join('\n')}\n` + `7|99|15\n` + `8|99|15\n`, ) @@ -332,7 +331,7 @@ test('quiz-results-test', async (t) => { await t.eval(() => { location.reload() }) await t.wait(1000) await t.eval(() => { location.reload() }) - await quiz_screencap(t, 'quiz/results-page') + await quiz_screencap(t) await check_text(t, 'Excellent! 😊 4/5', '🟩🟩🟩🟩🟥') }) @@ -369,7 +368,7 @@ urbanstatsFixture('several quiz results', `${TARGET}/quiz.html?date=90`, async ( test('several-quiz-results-test', async (t) => { await t.eval(() => { location.reload() }) - await quiz_screencap(t, 'quiz/results-page-several') + await quiz_screencap(t) // true true true true false await check_text(t, 'Excellent! 😊 4/5', '🟩🟩🟩🟩🟥') // go to the next quiz via changing the href diff --git a/react/test/search_test.ts b/react/test/search_test.ts index 86bec98b..099faf66 100644 --- a/react/test/search_test.ts +++ b/react/test/search_test.ts @@ -9,7 +9,7 @@ test('search-test', async (t) => { await t .click(SEARCH_FIELD) .typeText(SEARCH_FIELD, 'Pasadena') - await screencap(t, 'search/san-marino-search-pasadena') + await screencap(t) await t .pressKey('enter') await t.expect(getLocation()) @@ -20,21 +20,21 @@ test('search-test-with-extra-char', async (t) => { await t .click(SEARCH_FIELD) .typeText(SEARCH_FIELD, 'Pasadena c') - await screencap(t, 'search/san-marino-search-pasadena-c') + await screencap(t) }) test('search-test-with-special-chars', async (t) => { await t .click(SEARCH_FIELD) .typeText(SEARCH_FIELD, 'Utt') - await screencap(t, 'search/san-marino-search-Utt') + await screencap(t) }) test('search-test-different-first-char', async (t) => { await t .click(SEARCH_FIELD) .typeText(SEARCH_FIELD, 'hina') - await screencap(t, 'search/san-marino-search-hina') + await screencap(t) }) test('search-test-arrows', async (t) => { @@ -47,7 +47,7 @@ test('search-test-arrows', async (t) => { await t .pressKey('down') .pressKey('down') - await screencap(t, 'search/san-marino-search-pasadena-down-down') + await screencap(t) await t .pressKey('enter') await t.expect(getLocation()) diff --git a/react/test/settings_test.ts b/react/test/settings_test.ts index dd086be4..78f4cf6c 100644 --- a/react/test/settings_test.ts +++ b/react/test/settings_test.ts @@ -17,7 +17,7 @@ urbanstatsFixture('settings regression test', `${TARGET}/article.html?longname=S test('check-settings-loaded', async (t) => { // screenshot path: images/first_test.png - await screencap(t, 'settings/check-settings-loaded') + await screencap(t) // check there's an element containing class Huntington_Library await t.expect(Selector('path').withAttribute('class', /tag-Huntington_Library/).exists).ok() // check that there's no element Pasadena_city or 91101 @@ -29,7 +29,7 @@ test('check-settings-loaded-desktop', async (t) => { // screenshot path: images/first_test.png await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) - await screencap(t, 'settings/check-settings-loaded-desktop') + await screencap(t) }) test('check-settings-persistent', async (t) => { diff --git a/react/test/statistics_test.ts b/react/test/statistics_test.ts index 8c6a7670..8decf8fc 100644 --- a/react/test/statistics_test.ts +++ b/react/test/statistics_test.ts @@ -13,7 +13,7 @@ test('statistics-page', async (t) => { // assert url is https://urbanstats.org/statistic.html?statname=Population&article_type=Hospital+Referral+Region&start=21&amount=20 await t.expect(getLocation()) .eql(`${TARGET}/statistic.html?statname=Population&article_type=Hospital+Referral+Region&start=21&amount=20&universe=USA`) - await screencap(t, 'statistics/population') + await screencap(t) const count = Selector('div').withAttribute('style', /background-color: rgb\(212, 181, 226\);/) .withText(/Indianapolis IN HRR, USA/) await t.expect(count.count).gte(1, 'Need highlighting') @@ -54,14 +54,14 @@ test('statistics-navigation-amount', async (t) => { .click(Selector('option').withText('50')) await t.expect(getLocation()) .eql(`${TARGET}/statistic.html?statname=Population&article_type=Hospital+Referral+Region&start=1&amount=50`) - await screencap(t, 'statistics/amount-50') + await screencap(t) // set to All await t .click(amount) .click(Selector('option').withText('All')) await t.expect(getLocation()) .eql(`${TARGET}/statistic.html?statname=Population&article_type=Hospital+Referral+Region&start=1&amount=All`) - await screencap(t, 'statistics/amount-all') + await screencap(t) }) test('statistics-navigation-last-page', async (t) => { @@ -78,7 +78,7 @@ test('statistics-navigation-last-page', async (t) => { await t.expect(getLocation()) .eql(url) - await screencap(t, 'statistics/last-page') + await screencap(t) // going right again does nothing await t .click(Selector('button').withText('>')) @@ -91,7 +91,7 @@ urbanstatsFixture('statistic universe selector test', `${TARGET}/statistic.html? test('statistic-universe-selector-test', async (t) => { await t .click(Selector('img').withAttribute('class', 'universe-selector')) - await screencap(t, 'statistic-dropped-down-universe-selector') + await screencap(t) await t .click( Selector('img') diff --git a/react/test/test_utils.ts b/react/test/test_utils.ts index d4ea1cb1..007e7183 100644 --- a/react/test/test_utils.ts +++ b/react/test/test_utils.ts @@ -87,31 +87,48 @@ async function prep_for_image(t: TestController): Promise { await t.wait(1000) // Wait for map to finish rendering } -export async function screencap(t: TestController, name: string): Promise { +function test_file_name(): string { + for (const arg of process.argv) { + const match = /^test\/(.+)\.ts$/.exec(arg) + if (match) { + return match[1] + } + } + throw new Error(`Test file not found in args: ${process.argv}`) +} + +let screenshot_number = 0 + +function screenshot_path(t: TestController): string { + screenshot_number++ + return `${test_file_name()}/${t.browser.name}/${t.test.name}-${screenshot_number}.png` +} + +export async function screencap(t: TestController): Promise { await prep_for_image(t) return t.takeScreenshot({ // include the browser name in the screenshot path - path: `${name}_${t.browser.name}.png`, + path: screenshot_path(t), fullPage: true, }) } -export async function grab_download(t: TestController, name: string, button: Selector): Promise { +export async function grab_download(t: TestController, button: Selector): Promise { await prep_for_image(t) await t .click(button) await t.wait(3000) - copy_most_recent_file(t, name) + copy_most_recent_file(t) } -export async function download_image(t: TestController, name: string): Promise { +export async function download_image(t: TestController): Promise { const download = Selector('img').withAttribute('src', '/screenshot.png') - await grab_download(t, name, download) + await grab_download(t, download) } -export async function download_histogram(t: TestController, name: string, nth: number): Promise { +export async function download_histogram(t: TestController, nth: number): Promise { const download = Selector('img').withAttribute('src', '/download.png').nth(nth) - await grab_download(t, name, download) + await grab_download(t, download) } export function most_recent_download_path(): string { @@ -121,10 +138,10 @@ export function most_recent_download_path(): string { return sorted[0] } -function copy_most_recent_file(t: TestController, name: string): void { +function copy_most_recent_file(t: TestController): void { // copy the file to the screenshots folder const screenshotsFolder = path.join(__dirname, '..', 'screenshots') - fs.copyFileSync(most_recent_download_path(), path.join(screenshotsFolder, `${name}_${t.browser.name}.png`)) + fs.copyFileSync(most_recent_download_path(), path.join(screenshotsFolder, screenshot_path(t))) } export async function download_or_check_string(t: TestController, string: string, name: string): Promise { @@ -152,6 +169,7 @@ export function urbanstatsFixture(name: string, url: string, beforeEach: undefin return fixture(name) .page(url) .beforeEach(async (t) => { + screenshot_number = 0 await t.eval(() => { localStorage.clear() }) await t.resizeWindow(1400, 800) await t.eval(() => { location.reload() }) diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-compare-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-compare-1.png new file mode 100644 index 00000000..2b3b8c28 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-compare-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-compare-different-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-compare-different-1.png new file mode 100644 index 00000000..8b25c3c8 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-compare-different-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-california-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-california-1.png new file mode 100644 index 00000000..ca675bb2 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-california-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-india-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-india-1.png new file mode 100644 index 00000000..37f16c15 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-india-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-india-2.png b/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-india-2.png new file mode 100644 index 00000000..c087eada Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-selector-test-india-2.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-state-from-subnational-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-state-from-subnational-1.png new file mode 100644 index 00000000..218253ae Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-state-from-subnational-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-state-from-subnational-2.png b/reference_test_screenshots/article_test/Chrome/article-universe-state-from-subnational-2.png new file mode 100644 index 00000000..dbd96ebb Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-state-from-subnational-2.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-state-world-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-state-world-1.png new file mode 100644 index 00000000..dbd96ebb Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-state-world-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/article-universe-statistic-page-1.png b/reference_test_screenshots/article_test/Chrome/article-universe-statistic-page-1.png new file mode 100644 index 00000000..8a20817f Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/article-universe-statistic-page-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/california-all-stats-1.png b/reference_test_screenshots/article_test/Chrome/california-all-stats-1.png new file mode 100644 index 00000000..2f79e236 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/california-all-stats-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/california-article-test-1.png b/reference_test_screenshots/article_test/Chrome/california-article-test-1.png new file mode 100644 index 00000000..dcf432c7 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/california-article-test-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/charlotte-all-stats-1.png b/reference_test_screenshots/article_test/Chrome/charlotte-all-stats-1.png new file mode 100644 index 00000000..091c2340 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/charlotte-all-stats-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/download-article-1.png b/reference_test_screenshots/article_test/Chrome/download-article-1.png new file mode 100644 index 00000000..f9251226 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/download-article-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/neighboring-state-test-1.png b/reference_test_screenshots/article_test/Chrome/neighboring-state-test-1.png new file mode 100644 index 00000000..dcf432c7 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/neighboring-state-test-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/san-marino-2010-health-1.png b/reference_test_screenshots/article_test/Chrome/san-marino-2010-health-1.png new file mode 100644 index 00000000..0db32cf8 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/san-marino-2010-health-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/san-marino-article-test-1.png b/reference_test_screenshots/article_test/Chrome/san-marino-article-test-1.png new file mode 100644 index 00000000..aa5cda41 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/san-marino-article-test-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/simple-1.png b/reference_test_screenshots/article_test/Chrome/simple-1.png new file mode 100644 index 00000000..fca42afd Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/simple-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/uncheck-box-desktop-1.png b/reference_test_screenshots/article_test/Chrome/uncheck-box-desktop-1.png new file mode 100644 index 00000000..cbf8d8d7 Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/uncheck-box-desktop-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/uncheck-box-desktop-2.png b/reference_test_screenshots/article_test/Chrome/uncheck-box-desktop-2.png new file mode 100644 index 00000000..41bee2ab Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/uncheck-box-desktop-2.png differ diff --git a/reference_test_screenshots/article_test/Chrome/uncheck-box-mobile-1.png b/reference_test_screenshots/article_test/Chrome/uncheck-box-mobile-1.png new file mode 100644 index 00000000..11d1f47b Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/uncheck-box-mobile-1.png differ diff --git a/reference_test_screenshots/article_test/Chrome/uncheck-box-mobile-2.png b/reference_test_screenshots/article_test/Chrome/uncheck-box-mobile-2.png new file mode 100644 index 00000000..11d1f47b Binary files /dev/null and b/reference_test_screenshots/article_test/Chrome/uncheck-box-mobile-2.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-2-mobile-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-2-mobile-1.png new file mode 100644 index 00000000..f1c6c8a3 Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-2-mobile-1.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-3-desktop-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-3-desktop-1.png new file mode 100644 index 00000000..80be6a11 Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-3-desktop-1.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-3-desktop-heterogenous-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-3-desktop-heterogenous-1.png new file mode 100644 index 00000000..44d97319 Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-3-desktop-heterogenous-1.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-3-download-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-3-download-1.png new file mode 100644 index 00000000..f06f7691 Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-3-download-1.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-3-mobile-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-3-mobile-1.png new file mode 100644 index 00000000..cf85f0cb Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-3-mobile-1.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-3-mobile-heterogenous-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-3-mobile-heterogenous-1.png new file mode 100644 index 00000000..83acd8cc Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-3-mobile-heterogenous-1.png differ diff --git a/reference_test_screenshots/comparison_test/Chrome/comparison-3-plotted-across-180-1.png b/reference_test_screenshots/comparison_test/Chrome/comparison-3-plotted-across-180-1.png new file mode 100644 index 00000000..131ec28d Binary files /dev/null and b/reference_test_screenshots/comparison_test/Chrome/comparison-3-plotted-across-180-1.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-1.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-1.png new file mode 100644 index 00000000..7d597015 Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-1.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-1.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-1.png new file mode 100644 index 00000000..c6767db6 Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-1.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-2.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-2.png new file mode 100644 index 00000000..7479718f Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-2.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-3.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-3.png new file mode 100644 index 00000000..0ef70a1a Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-3.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-4.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-4.png new file mode 100644 index 00000000..28473e9c Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-article-multi-4.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-1.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-1.png new file mode 100644 index 00000000..74371ba7 Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-1.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-nan-1.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-nan-1.png new file mode 100644 index 00000000..6a9968dc Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-nan-1.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-nan-middle-1.png b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-nan-middle-1.png new file mode 100644 index 00000000..570d37df Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-basic-comparison-nan-middle-1.png differ diff --git a/reference_test_screenshots/histogram_test/Chrome/histogram-ordering-1.png b/reference_test_screenshots/histogram_test/Chrome/histogram-ordering-1.png new file mode 100644 index 00000000..b6f138b7 Binary files /dev/null and b/reference_test_screenshots/histogram_test/Chrome/histogram-ordering-1.png differ diff --git a/reference_test_screenshots/mapper_test/Chrome/mapping-more-complex-1.png b/reference_test_screenshots/mapper_test/Chrome/mapping-more-complex-1.png new file mode 100644 index 00000000..eabeb080 Binary files /dev/null and b/reference_test_screenshots/mapper_test/Chrome/mapping-more-complex-1.png differ diff --git a/reference_test_screenshots/mapper_test/Chrome/state-map-1.png b/reference_test_screenshots/mapper_test/Chrome/state-map-1.png new file mode 100644 index 00000000..f6630de3 Binary files /dev/null and b/reference_test_screenshots/mapper_test/Chrome/state-map-1.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-1.png b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-1.png new file mode 100644 index 00000000..a36ae2fe Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-1.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-2.png b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-2.png new file mode 100644 index 00000000..f8c01098 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-2.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-3.png b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-3.png new file mode 100644 index 00000000..49efe2c9 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-3.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-4.png b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-4.png new file mode 100644 index 00000000..7ea3cd07 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-4.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-5.png b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-5.png new file mode 100644 index 00000000..e76e5686 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-clickthrough-test-5.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-percentage-correct-1.png b/reference_test_screenshots/quiz_test/Chrome/quiz-percentage-correct-1.png new file mode 100644 index 00000000..f056c2ea Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-percentage-correct-1.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-percentage-correct-2.png b/reference_test_screenshots/quiz_test/Chrome/quiz-percentage-correct-2.png new file mode 100644 index 00000000..9e808b87 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-percentage-correct-2.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/quiz-results-test-1.png b/reference_test_screenshots/quiz_test/Chrome/quiz-results-test-1.png new file mode 100644 index 00000000..1cda4b13 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/quiz-results-test-1.png differ diff --git a/reference_test_screenshots/quiz_test/Chrome/several-quiz-results-test-1.png b/reference_test_screenshots/quiz_test/Chrome/several-quiz-results-test-1.png new file mode 100644 index 00000000..c8fd5479 Binary files /dev/null and b/reference_test_screenshots/quiz_test/Chrome/several-quiz-results-test-1.png differ diff --git a/reference_test_screenshots/search_test/Chrome/search-test-1.png b/reference_test_screenshots/search_test/Chrome/search-test-1.png new file mode 100644 index 00000000..c967bca8 Binary files /dev/null and b/reference_test_screenshots/search_test/Chrome/search-test-1.png differ diff --git a/reference_test_screenshots/search_test/Chrome/search-test-arrows-1.png b/reference_test_screenshots/search_test/Chrome/search-test-arrows-1.png new file mode 100644 index 00000000..5bbaf107 Binary files /dev/null and b/reference_test_screenshots/search_test/Chrome/search-test-arrows-1.png differ diff --git a/reference_test_screenshots/search_test/Chrome/search-test-different-first-char-1.png b/reference_test_screenshots/search_test/Chrome/search-test-different-first-char-1.png new file mode 100644 index 00000000..a0ea4eb4 Binary files /dev/null and b/reference_test_screenshots/search_test/Chrome/search-test-different-first-char-1.png differ diff --git a/reference_test_screenshots/search_test/Chrome/search-test-with-extra-char-1.png b/reference_test_screenshots/search_test/Chrome/search-test-with-extra-char-1.png new file mode 100644 index 00000000..ef2ce650 Binary files /dev/null and b/reference_test_screenshots/search_test/Chrome/search-test-with-extra-char-1.png differ diff --git a/reference_test_screenshots/search_test/Chrome/search-test-with-special-chars-1.png b/reference_test_screenshots/search_test/Chrome/search-test-with-special-chars-1.png new file mode 100644 index 00000000..379aa9ac Binary files /dev/null and b/reference_test_screenshots/search_test/Chrome/search-test-with-special-chars-1.png differ diff --git a/reference_test_screenshots/settings_test/Chrome/check-settings-loaded-1.png b/reference_test_screenshots/settings_test/Chrome/check-settings-loaded-1.png new file mode 100644 index 00000000..75bd3d04 Binary files /dev/null and b/reference_test_screenshots/settings_test/Chrome/check-settings-loaded-1.png differ diff --git a/reference_test_screenshots/settings_test/Chrome/check-settings-loaded-desktop-1.png b/reference_test_screenshots/settings_test/Chrome/check-settings-loaded-desktop-1.png new file mode 100644 index 00000000..75bd3d04 Binary files /dev/null and b/reference_test_screenshots/settings_test/Chrome/check-settings-loaded-desktop-1.png differ diff --git a/reference_test_screenshots/statistics_test/Chrome/statistic-universe-selector-test-1.png b/reference_test_screenshots/statistics_test/Chrome/statistic-universe-selector-test-1.png new file mode 100644 index 00000000..6aad8939 Binary files /dev/null and b/reference_test_screenshots/statistics_test/Chrome/statistic-universe-selector-test-1.png differ diff --git a/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-amount-1.png b/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-amount-1.png new file mode 100644 index 00000000..c827f2c1 Binary files /dev/null and b/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-amount-1.png differ diff --git a/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-amount-2.png b/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-amount-2.png new file mode 100644 index 00000000..d844d0db Binary files /dev/null and b/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-amount-2.png differ diff --git a/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-last-page-1.png b/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-last-page-1.png new file mode 100644 index 00000000..233921c6 Binary files /dev/null and b/reference_test_screenshots/statistics_test/Chrome/statistics-navigation-last-page-1.png differ diff --git a/reference_test_screenshots/statistics_test/Chrome/statistics-page-1.png b/reference_test_screenshots/statistics_test/Chrome/statistics-page-1.png new file mode 100644 index 00000000..d41119e4 Binary files /dev/null and b/reference_test_screenshots/statistics_test/Chrome/statistics-page-1.png differ diff --git a/reference_test_screeshots/article-dropped-down-universe-selector-international_Chrome.png b/reference_test_screeshots/article-dropped-down-universe-selector-international_Chrome.png deleted file mode 100644 index 73109522..00000000 Binary files a/reference_test_screeshots/article-dropped-down-universe-selector-international_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article-dropped-down-universe-selector-international_Firefox.png b/reference_test_screeshots/article-dropped-down-universe-selector-international_Firefox.png deleted file mode 100644 index d14fe0e1..00000000 Binary files a/reference_test_screeshots/article-dropped-down-universe-selector-international_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article-dropped-down-universe-selector_Chrome.png b/reference_test_screeshots/article-dropped-down-universe-selector_Chrome.png deleted file mode 100644 index 7f6b2377..00000000 Binary files a/reference_test_screeshots/article-dropped-down-universe-selector_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article-dropped-down-universe-selector_Firefox.png b/reference_test_screeshots/article-dropped-down-universe-selector_Firefox.png deleted file mode 100644 index ea7d1ef0..00000000 Binary files a/reference_test_screeshots/article-dropped-down-universe-selector_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-all-stats_Chrome.png b/reference_test_screeshots/article/california-all-stats_Chrome.png deleted file mode 100644 index 9fd96038..00000000 Binary files a/reference_test_screeshots/article/california-all-stats_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-all-stats_Firefox.png b/reference_test_screeshots/article/california-all-stats_Firefox.png deleted file mode 100644 index 76e07eff..00000000 Binary files a/reference_test_screeshots/article/california-all-stats_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-with-neighbors_Chrome.png b/reference_test_screeshots/article/california-with-neighbors_Chrome.png deleted file mode 100644 index fcfe15d3..00000000 Binary files a/reference_test_screeshots/article/california-with-neighbors_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-with-neighbors_Firefox.png b/reference_test_screeshots/article/california-with-neighbors_Firefox.png deleted file mode 100644 index 3d374c7c..00000000 Binary files a/reference_test_screeshots/article/california-with-neighbors_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-world-from-kerala_Chrome.png b/reference_test_screeshots/article/california-world-from-kerala_Chrome.png deleted file mode 100644 index c530e67a..00000000 Binary files a/reference_test_screeshots/article/california-world-from-kerala_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-world-from-kerala_Firefox.png b/reference_test_screeshots/article/california-world-from-kerala_Firefox.png deleted file mode 100644 index 32d96aaf..00000000 Binary files a/reference_test_screeshots/article/california-world-from-kerala_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-world_Chrome.png b/reference_test_screeshots/article/california-world_Chrome.png deleted file mode 100644 index c530e67a..00000000 Binary files a/reference_test_screeshots/article/california-world_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/california-world_Firefox.png b/reference_test_screeshots/article/california-world_Firefox.png deleted file mode 100644 index 32d96aaf..00000000 Binary files a/reference_test_screeshots/article/california-world_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/california_Chrome.png b/reference_test_screeshots/article/california_Chrome.png deleted file mode 100644 index fcfe15d3..00000000 Binary files a/reference_test_screeshots/article/california_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/california_Firefox.png b/reference_test_screeshots/article/california_Firefox.png deleted file mode 100644 index 3d374c7c..00000000 Binary files a/reference_test_screeshots/article/california_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/charlotte-all-stats_Chrome.png b/reference_test_screeshots/article/charlotte-all-stats_Chrome.png deleted file mode 100644 index 503067f7..00000000 Binary files a/reference_test_screeshots/article/charlotte-all-stats_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/charlotte-all-stats_Firefox.png b/reference_test_screeshots/article/charlotte-all-stats_Firefox.png deleted file mode 100644 index a8230681..00000000 Binary files a/reference_test_screeshots/article/charlotte-all-stats_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/delhi-india_Chrome.png b/reference_test_screeshots/article/delhi-india_Chrome.png deleted file mode 100644 index dd92598a..00000000 Binary files a/reference_test_screeshots/article/delhi-india_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/delhi-india_Firefox.png b/reference_test_screeshots/article/delhi-india_Firefox.png deleted file mode 100644 index dab7a943..00000000 Binary files a/reference_test_screeshots/article/delhi-india_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/download-article_Chrome.png b/reference_test_screeshots/article/download-article_Chrome.png deleted file mode 100644 index 9924b578..00000000 Binary files a/reference_test_screeshots/article/download-article_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/download-article_Firefox.png b/reference_test_screeshots/article/download-article_Firefox.png deleted file mode 100644 index 22d7b5e0..00000000 Binary files a/reference_test_screeshots/article/download-article_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/kerala-india_Chrome.png b/reference_test_screeshots/article/kerala-india_Chrome.png deleted file mode 100644 index 3b92eb55..00000000 Binary files a/reference_test_screeshots/article/kerala-india_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/kerala-india_Firefox.png b/reference_test_screeshots/article/kerala-india_Firefox.png deleted file mode 100644 index 0cd6bae4..00000000 Binary files a/reference_test_screeshots/article/kerala-india_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_initial_desktop_Chrome.png b/reference_test_screeshots/article/remove_race_initial_desktop_Chrome.png deleted file mode 100644 index 429e55a3..00000000 Binary files a/reference_test_screeshots/article/remove_race_initial_desktop_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_initial_desktop_Firefox.png b/reference_test_screeshots/article/remove_race_initial_desktop_Firefox.png deleted file mode 100644 index 77e0c96f..00000000 Binary files a/reference_test_screeshots/article/remove_race_initial_desktop_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_initial_mobile_Chrome.png b/reference_test_screeshots/article/remove_race_initial_mobile_Chrome.png deleted file mode 100644 index 429e55a3..00000000 Binary files a/reference_test_screeshots/article/remove_race_initial_mobile_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_initial_mobile_Firefox.png b/reference_test_screeshots/article/remove_race_initial_mobile_Firefox.png deleted file mode 100644 index 77e0c96f..00000000 Binary files a/reference_test_screeshots/article/remove_race_initial_mobile_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_refresh_desktop_Chrome.png b/reference_test_screeshots/article/remove_race_refresh_desktop_Chrome.png deleted file mode 100644 index 429e55a3..00000000 Binary files a/reference_test_screeshots/article/remove_race_refresh_desktop_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_refresh_desktop_Firefox.png b/reference_test_screeshots/article/remove_race_refresh_desktop_Firefox.png deleted file mode 100644 index 056135ab..00000000 Binary files a/reference_test_screeshots/article/remove_race_refresh_desktop_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_refresh_mobile_Chrome.png b/reference_test_screeshots/article/remove_race_refresh_mobile_Chrome.png deleted file mode 100644 index 429e55a3..00000000 Binary files a/reference_test_screeshots/article/remove_race_refresh_mobile_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/remove_race_refresh_mobile_Firefox.png b/reference_test_screeshots/article/remove_race_refresh_mobile_Firefox.png deleted file mode 100644 index 056135ab..00000000 Binary files a/reference_test_screeshots/article/remove_race_refresh_mobile_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/san-marino-2010-health_Chrome.png b/reference_test_screeshots/article/san-marino-2010-health_Chrome.png deleted file mode 100644 index 2958b6c0..00000000 Binary files a/reference_test_screeshots/article/san-marino-2010-health_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/san-marino-2010-health_Firefox.png b/reference_test_screeshots/article/san-marino-2010-health_Firefox.png deleted file mode 100644 index b3b3bf15..00000000 Binary files a/reference_test_screeshots/article/san-marino-2010-health_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/san-marino_Chrome.png b/reference_test_screeshots/article/san-marino_Chrome.png deleted file mode 100644 index 58733c24..00000000 Binary files a/reference_test_screeshots/article/san-marino_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/san-marino_Firefox.png b/reference_test_screeshots/article/san-marino_Firefox.png deleted file mode 100644 index c33f087a..00000000 Binary files a/reference_test_screeshots/article/san-marino_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/article/simple-ordinals_Chrome.png b/reference_test_screeshots/article/simple-ordinals_Chrome.png deleted file mode 100644 index 71cd1ebd..00000000 Binary files a/reference_test_screeshots/article/simple-ordinals_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/article/simple-ordinals_Firefox.png b/reference_test_screeshots/article/simple-ordinals_Firefox.png deleted file mode 100644 index 5fec3537..00000000 Binary files a/reference_test_screeshots/article/simple-ordinals_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/basic-comparison-2-mobile_Chrome.png b/reference_test_screeshots/comparison/basic-comparison-2-mobile_Chrome.png deleted file mode 100644 index fb8e1615..00000000 Binary files a/reference_test_screeshots/comparison/basic-comparison-2-mobile_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/basic-comparison-2-mobile_Firefox.png b/reference_test_screeshots/comparison/basic-comparison-2-mobile_Firefox.png deleted file mode 100644 index e086e0d4..00000000 Binary files a/reference_test_screeshots/comparison/basic-comparison-2-mobile_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/basic-comparison-desktop_Chrome.png b/reference_test_screeshots/comparison/basic-comparison-desktop_Chrome.png deleted file mode 100644 index 5b43403a..00000000 Binary files a/reference_test_screeshots/comparison/basic-comparison-desktop_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/basic-comparison-desktop_Firefox.png b/reference_test_screeshots/comparison/basic-comparison-desktop_Firefox.png deleted file mode 100644 index 67033047..00000000 Binary files a/reference_test_screeshots/comparison/basic-comparison-desktop_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/basic-comparison-mobile_Chrome.png b/reference_test_screeshots/comparison/basic-comparison-mobile_Chrome.png deleted file mode 100644 index 5b43403a..00000000 Binary files a/reference_test_screeshots/comparison/basic-comparison-mobile_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/basic-comparison-mobile_Firefox.png b/reference_test_screeshots/comparison/basic-comparison-mobile_Firefox.png deleted file mode 100644 index 67033047..00000000 Binary files a/reference_test_screeshots/comparison/basic-comparison-mobile_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/download-comparison_Chrome.png b/reference_test_screeshots/comparison/download-comparison_Chrome.png deleted file mode 100644 index a095e280..00000000 Binary files a/reference_test_screeshots/comparison/download-comparison_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/download-comparison_Firefox.png b/reference_test_screeshots/comparison/download-comparison_Firefox.png deleted file mode 100644 index cfca8f83..00000000 Binary files a/reference_test_screeshots/comparison/download-comparison_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/heterogenous-comparison-desktop_Chrome.png b/reference_test_screeshots/comparison/heterogenous-comparison-desktop_Chrome.png deleted file mode 100644 index cd9d196e..00000000 Binary files a/reference_test_screeshots/comparison/heterogenous-comparison-desktop_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/heterogenous-comparison-desktop_Firefox.png b/reference_test_screeshots/comparison/heterogenous-comparison-desktop_Firefox.png deleted file mode 100644 index d87c42d5..00000000 Binary files a/reference_test_screeshots/comparison/heterogenous-comparison-desktop_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/heterogenous-comparison-mobile_Chrome.png b/reference_test_screeshots/comparison/heterogenous-comparison-mobile_Chrome.png deleted file mode 100644 index cd9d196e..00000000 Binary files a/reference_test_screeshots/comparison/heterogenous-comparison-mobile_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/heterogenous-comparison-mobile_Firefox.png b/reference_test_screeshots/comparison/heterogenous-comparison-mobile_Firefox.png deleted file mode 100644 index d87c42d5..00000000 Binary files a/reference_test_screeshots/comparison/heterogenous-comparison-mobile_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/plotted-across-180_Chrome.png b/reference_test_screeshots/comparison/plotted-across-180_Chrome.png deleted file mode 100644 index d82c3d4b..00000000 Binary files a/reference_test_screeshots/comparison/plotted-across-180_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/plotted-across-180_Firefox.png b/reference_test_screeshots/comparison/plotted-across-180_Firefox.png deleted file mode 100644 index 047452f2..00000000 Binary files a/reference_test_screeshots/comparison/plotted-across-180_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/universe-compare-different_Chrome.png b/reference_test_screeshots/comparison/universe-compare-different_Chrome.png deleted file mode 100644 index df738a28..00000000 Binary files a/reference_test_screeshots/comparison/universe-compare-different_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/universe-compare-different_Firefox.png b/reference_test_screeshots/comparison/universe-compare-different_Firefox.png deleted file mode 100644 index a505c9f1..00000000 Binary files a/reference_test_screeshots/comparison/universe-compare-different_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/universe-compare_Chrome.png b/reference_test_screeshots/comparison/universe-compare_Chrome.png deleted file mode 100644 index 3615a607..00000000 Binary files a/reference_test_screeshots/comparison/universe-compare_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/comparison/universe-compare_Firefox.png b/reference_test_screeshots/comparison/universe-compare_Firefox.png deleted file mode 100644 index 3e016544..00000000 Binary files a/reference_test_screeshots/comparison/universe-compare_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-0_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-0_Chrome.png deleted file mode 100644 index ac58e879..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-0_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-0_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-0_Firefox.png deleted file mode 100644 index c6cd88ba..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-0_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-1_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-1_Chrome.png deleted file mode 100644 index bbc1f366..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-1_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-1_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-1_Firefox.png deleted file mode 100644 index 65628f47..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi-histogram-1_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi-screenshot_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-article-multi-screenshot_Chrome.png deleted file mode 100644 index 74006fc5..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi-screenshot_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi-screenshot_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-article-multi-screenshot_Firefox.png deleted file mode 100644 index 8b03e521..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi-screenshot_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-article-multi_Chrome.png deleted file mode 100644 index b8208344..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article-multi_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-article-multi_Firefox.png deleted file mode 100644 index d1fd25ec..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article-multi_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-article_Chrome.png deleted file mode 100644 index bf5b5399..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-article_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-article_Firefox.png deleted file mode 100644 index e9fcf730..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-article_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-comparison-nan-middle_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-comparison-nan-middle_Chrome.png deleted file mode 100644 index bb3c1c27..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-comparison-nan-middle_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-comparison-nan-middle_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-comparison-nan-middle_Firefox.png deleted file mode 100644 index c878b677..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-comparison-nan-middle_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-comparison-nan_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-comparison-nan_Chrome.png deleted file mode 100644 index af0bc551..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-comparison-nan_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-comparison-nan_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-comparison-nan_Firefox.png deleted file mode 100644 index 6fcb809b..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-comparison-nan_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-comparison_Chrome.png b/reference_test_screeshots/histogram/histogram-basic-comparison_Chrome.png deleted file mode 100644 index 672a7ce6..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-comparison_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-basic-comparison_Firefox.png b/reference_test_screeshots/histogram/histogram-basic-comparison_Firefox.png deleted file mode 100644 index 7949c01c..00000000 Binary files a/reference_test_screeshots/histogram/histogram-basic-comparison_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-ordering_Chrome.png b/reference_test_screeshots/histogram/histogram-ordering_Chrome.png deleted file mode 100644 index 514503d8..00000000 Binary files a/reference_test_screeshots/histogram/histogram-ordering_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/histogram/histogram-ordering_Firefox.png b/reference_test_screeshots/histogram/histogram-ordering_Firefox.png deleted file mode 100644 index bef1d208..00000000 Binary files a/reference_test_screeshots/histogram/histogram-ordering_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/mapping-more-complex_Chrome.png b/reference_test_screeshots/mapping-more-complex_Chrome.png deleted file mode 100644 index 71b37019..00000000 Binary files a/reference_test_screeshots/mapping-more-complex_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/mapping-more-complex_Firefox.png b/reference_test_screeshots/mapping-more-complex_Firefox.png deleted file mode 100644 index ff050b7c..00000000 Binary files a/reference_test_screeshots/mapping-more-complex_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-1_Chrome.png b/reference_test_screeshots/quiz/clickthrough-1_Chrome.png deleted file mode 100644 index 5e9158f5..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-1_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-1_Firefox.png b/reference_test_screeshots/quiz/clickthrough-1_Firefox.png deleted file mode 100644 index 46a162b3..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-1_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-2_Chrome.png b/reference_test_screeshots/quiz/clickthrough-2_Chrome.png deleted file mode 100644 index 38d95327..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-2_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-2_Firefox.png b/reference_test_screeshots/quiz/clickthrough-2_Firefox.png deleted file mode 100644 index 52f18813..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-2_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-3_Chrome.png b/reference_test_screeshots/quiz/clickthrough-3_Chrome.png deleted file mode 100644 index c3ae1e3e..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-3_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-3_Firefox.png b/reference_test_screeshots/quiz/clickthrough-3_Firefox.png deleted file mode 100644 index 40f27518..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-3_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-4_Chrome.png b/reference_test_screeshots/quiz/clickthrough-4_Chrome.png deleted file mode 100644 index 3af6788f..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-4_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-4_Firefox.png b/reference_test_screeshots/quiz/clickthrough-4_Firefox.png deleted file mode 100644 index d0d85beb..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-4_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-5_Chrome.png b/reference_test_screeshots/quiz/clickthrough-5_Chrome.png deleted file mode 100644 index 8b2116b9..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-5_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/clickthrough-5_Firefox.png b/reference_test_screeshots/quiz/clickthrough-5_Firefox.png deleted file mode 100644 index 666430b5..00000000 Binary files a/reference_test_screeshots/quiz/clickthrough-5_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/percentage-correct-2_Chrome.png b/reference_test_screeshots/quiz/percentage-correct-2_Chrome.png deleted file mode 100644 index a682c90e..00000000 Binary files a/reference_test_screeshots/quiz/percentage-correct-2_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/percentage-correct-2_Firefox.png b/reference_test_screeshots/quiz/percentage-correct-2_Firefox.png deleted file mode 100644 index 58a3c7c9..00000000 Binary files a/reference_test_screeshots/quiz/percentage-correct-2_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/percentage-correct_Chrome.png b/reference_test_screeshots/quiz/percentage-correct_Chrome.png deleted file mode 100644 index e0a61b42..00000000 Binary files a/reference_test_screeshots/quiz/percentage-correct_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/percentage-correct_Firefox.png b/reference_test_screeshots/quiz/percentage-correct_Firefox.png deleted file mode 100644 index af571d36..00000000 Binary files a/reference_test_screeshots/quiz/percentage-correct_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/results-page-several_Chrome.png b/reference_test_screeshots/quiz/results-page-several_Chrome.png deleted file mode 100644 index 42ea9af4..00000000 Binary files a/reference_test_screeshots/quiz/results-page-several_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/results-page-several_Firefox.png b/reference_test_screeshots/quiz/results-page-several_Firefox.png deleted file mode 100644 index 56e62345..00000000 Binary files a/reference_test_screeshots/quiz/results-page-several_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/results-page_Chrome.png b/reference_test_screeshots/quiz/results-page_Chrome.png deleted file mode 100644 index 8d9929e6..00000000 Binary files a/reference_test_screeshots/quiz/results-page_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/quiz/results-page_Firefox.png b/reference_test_screeshots/quiz/results-page_Firefox.png deleted file mode 100644 index 8be4b947..00000000 Binary files a/reference_test_screeshots/quiz/results-page_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-Utt_Chrome.png b/reference_test_screeshots/search/san-marino-search-Utt_Chrome.png deleted file mode 100644 index b5623482..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-Utt_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-Utt_Firefox.png b/reference_test_screeshots/search/san-marino-search-Utt_Firefox.png deleted file mode 100644 index 29a64b11..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-Utt_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-hina_Chrome.png b/reference_test_screeshots/search/san-marino-search-hina_Chrome.png deleted file mode 100644 index a034ca91..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-hina_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-hina_Firefox.png b/reference_test_screeshots/search/san-marino-search-hina_Firefox.png deleted file mode 100644 index 4fe42a8f..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-hina_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-pasadena-c_Chrome.png b/reference_test_screeshots/search/san-marino-search-pasadena-c_Chrome.png deleted file mode 100644 index f1082825..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-pasadena-c_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-pasadena-c_Firefox.png b/reference_test_screeshots/search/san-marino-search-pasadena-c_Firefox.png deleted file mode 100644 index 1bb11ee9..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-pasadena-c_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-pasadena-down-down_Chrome.png b/reference_test_screeshots/search/san-marino-search-pasadena-down-down_Chrome.png deleted file mode 100644 index db7fcbd0..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-pasadena-down-down_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-pasadena-down-down_Firefox.png b/reference_test_screeshots/search/san-marino-search-pasadena-down-down_Firefox.png deleted file mode 100644 index aaa9a297..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-pasadena-down-down_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-pasadena_Chrome.png b/reference_test_screeshots/search/san-marino-search-pasadena_Chrome.png deleted file mode 100644 index 1689dec4..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-pasadena_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/search/san-marino-search-pasadena_Firefox.png b/reference_test_screeshots/search/san-marino-search-pasadena_Firefox.png deleted file mode 100644 index 6f627c06..00000000 Binary files a/reference_test_screeshots/search/san-marino-search-pasadena_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/settings/check-settings-loaded-desktop_Chrome.png b/reference_test_screeshots/settings/check-settings-loaded-desktop_Chrome.png deleted file mode 100644 index ca615c5f..00000000 Binary files a/reference_test_screeshots/settings/check-settings-loaded-desktop_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/settings/check-settings-loaded-desktop_Firefox.png b/reference_test_screeshots/settings/check-settings-loaded-desktop_Firefox.png deleted file mode 100644 index f24df69b..00000000 Binary files a/reference_test_screeshots/settings/check-settings-loaded-desktop_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/settings/check-settings-loaded_Chrome.png b/reference_test_screeshots/settings/check-settings-loaded_Chrome.png deleted file mode 100644 index ca615c5f..00000000 Binary files a/reference_test_screeshots/settings/check-settings-loaded_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/settings/check-settings-loaded_Firefox.png b/reference_test_screeshots/settings/check-settings-loaded_Firefox.png deleted file mode 100644 index f24df69b..00000000 Binary files a/reference_test_screeshots/settings/check-settings-loaded_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/state-map_Chrome.png b/reference_test_screeshots/state-map_Chrome.png deleted file mode 100644 index bc620a24..00000000 Binary files a/reference_test_screeshots/state-map_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/state-map_Firefox.png b/reference_test_screeshots/state-map_Firefox.png deleted file mode 100644 index 477785d8..00000000 Binary files a/reference_test_screeshots/state-map_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/statistic-dropped-down-universe-selector_Chrome.png b/reference_test_screeshots/statistic-dropped-down-universe-selector_Chrome.png deleted file mode 100644 index f0192b0a..00000000 Binary files a/reference_test_screeshots/statistic-dropped-down-universe-selector_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/statistic-dropped-down-universe-selector_Firefox.png b/reference_test_screeshots/statistic-dropped-down-universe-selector_Firefox.png deleted file mode 100644 index fcc29c3e..00000000 Binary files a/reference_test_screeshots/statistic-dropped-down-universe-selector_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/amount-50_Chrome.png b/reference_test_screeshots/statistics/amount-50_Chrome.png deleted file mode 100644 index 0273260f..00000000 Binary files a/reference_test_screeshots/statistics/amount-50_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/amount-50_Firefox.png b/reference_test_screeshots/statistics/amount-50_Firefox.png deleted file mode 100644 index 319b2a3d..00000000 Binary files a/reference_test_screeshots/statistics/amount-50_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/amount-all_Chrome.png b/reference_test_screeshots/statistics/amount-all_Chrome.png deleted file mode 100644 index 8ea334b6..00000000 Binary files a/reference_test_screeshots/statistics/amount-all_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/amount-all_Firefox.png b/reference_test_screeshots/statistics/amount-all_Firefox.png deleted file mode 100644 index 4d46ba7f..00000000 Binary files a/reference_test_screeshots/statistics/amount-all_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/last-page_Chrome.png b/reference_test_screeshots/statistics/last-page_Chrome.png deleted file mode 100644 index 3d77b952..00000000 Binary files a/reference_test_screeshots/statistics/last-page_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/last-page_Firefox.png b/reference_test_screeshots/statistics/last-page_Firefox.png deleted file mode 100644 index f42a9f97..00000000 Binary files a/reference_test_screeshots/statistics/last-page_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/population_Chrome.png b/reference_test_screeshots/statistics/population_Chrome.png deleted file mode 100644 index 22914ecc..00000000 Binary files a/reference_test_screeshots/statistics/population_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/population_Firefox.png b/reference_test_screeshots/statistics/population_Firefox.png deleted file mode 100644 index ab41d15c..00000000 Binary files a/reference_test_screeshots/statistics/population_Firefox.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/universe-statistic-page_Chrome.png b/reference_test_screeshots/statistics/universe-statistic-page_Chrome.png deleted file mode 100644 index f32754ae..00000000 Binary files a/reference_test_screeshots/statistics/universe-statistic-page_Chrome.png and /dev/null differ diff --git a/reference_test_screeshots/statistics/universe-statistic-page_Firefox.png b/reference_test_screeshots/statistics/universe-statistic-page_Firefox.png deleted file mode 100644 index 19c6a08e..00000000 Binary files a/reference_test_screeshots/statistics/universe-statistic-page_Firefox.png and /dev/null differ