html-snapshots 1.3.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/index.js +57 -3
- package/lib/common/sitemap/sitemap-collection.js +3 -2
- package/lib/common/sitemap/sitemap-index.js +1 -4
- package/lib/common/sitemap/sitemap.js +15 -13
- package/lib/html-snapshots.js +5 -6
- package/lib/input-generators/_base.js +5 -5
- package/package.json +5 -6
- package/.c8rc.json +0 -5
- package/.eslintignore +0 -5
- package/.eslintrc.json +0 -16
- package/.github/issue_template.md +0 -16
- package/.github/workflows/verify.yml +0 -32
- package/docs/example-heroku-redis.md +0 -43
- package/docs/notes.md +0 -42
- package/examples/README.md +0 -149
- package/examples/custom/README.md +0 -22
- package/examples/custom/myFilter.js +0 -22
- package/examples/custom/package-lock.json +0 -2804
- package/examples/custom/package.json +0 -12
- package/examples/custom/snapshot.js +0 -28
- package/examples/debug-phantomjs/README.md +0 -38
- package/examples/debug-phantomjs/package-lock.json +0 -2922
- package/examples/debug-phantomjs/package.json +0 -12
- package/examples/debug-phantomjs/snapshot.js +0 -60
- package/examples/debug-puppeteer/README.md +0 -18
- package/examples/debug-puppeteer/package-lock.json +0 -2804
- package/examples/debug-puppeteer/package.json +0 -12
- package/examples/debug-puppeteer/snapshot.js +0 -30
- package/examples/html5rocks/README.md +0 -22
- package/examples/html5rocks/package-lock.json +0 -3218
- package/examples/html5rocks/package.json +0 -12
- package/examples/html5rocks/snapshot.js +0 -59
- package/examples/process-limit/README.md +0 -24
- package/examples/process-limit/package-lock.json +0 -2830
- package/examples/process-limit/package.json +0 -12
- package/examples/process-limit/snapshot.js +0 -30
- package/examples/simple-promise/README.md +0 -20
- package/examples/simple-promise/package-lock.json +0 -2830
- package/examples/simple-promise/package.json +0 -12
- package/examples/simple-promise/snapshot.js +0 -30
- package/examples/sitemap-index/README.md +0 -20
- package/examples/sitemap-index/package-lock.json +0 -2830
- package/examples/sitemap-index/package.json +0 -12
- package/examples/sitemap-index/snapshot.js +0 -34
- package/examples/verbose/README.md +0 -22
- package/examples/verbose/package-lock.json +0 -2805
- package/examples/verbose/package.json +0 -12
- package/examples/verbose/snapshot.js +0 -34
- package/test/helpers/options.js +0 -55
- package/test/helpers/result.js +0 -32
- package/test/helpers/sitemap.js +0 -130
- package/test/mocha/async/test.js +0 -416
- package/test/mocha/browsers/puppeteer.js +0 -129
- package/test/mocha/browsers/server/index.html +0 -9
- package/test/mocha/browsers/test.js +0 -11
- package/test/mocha/common/helpers.js +0 -87
- package/test/mocha/common/test.js +0 -188
- package/test/mocha/html-snapshots/basics.js +0 -88
- package/test/mocha/html-snapshots/myFilter.js +0 -10
- package/test/mocha/html-snapshots/phantomjs-options.js +0 -156
- package/test/mocha/html-snapshots/process-limit.js +0 -156
- package/test/mocha/html-snapshots/puppeteer.js +0 -47
- package/test/mocha/html-snapshots/robots.js +0 -194
- package/test/mocha/html-snapshots/server/contact/index.html +0 -57
- package/test/mocha/html-snapshots/server/favicon.ico +0 -0
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.eot +0 -0
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.svg +0 -220
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.ttf +0 -0
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.woff +0 -0
- package/test/mocha/html-snapshots/server/images/ajax-loader.gif +0 -0
- package/test/mocha/html-snapshots/server/images/art1.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpet.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet1.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet1_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet2.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet2_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet3.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet3_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet4.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet4_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/floor.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/bullets.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/left-arrow-small.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/left-arrow.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/loading.gif +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/mask-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/pause-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/right-arrow-small.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/right-arrow.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/rotator-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/timer-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite/certification.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite/cleantrust.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite/institute.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite-s1a48fdbd81.png +0 -0
- package/test/mocha/html-snapshots/server/images/logo-300.png +0 -0
- package/test/mocha/html-snapshots/server/images/slider1-lg.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/slider1.jpg +0 -0
- package/test/mocha/html-snapshots/server/index.css +0 -1
- package/test/mocha/html-snapshots/server/index.html +0 -57
- package/test/mocha/html-snapshots/server/nojq/index.html +0 -46
- package/test/mocha/html-snapshots/server/pjsopts/index.html +0 -55
- package/test/mocha/html-snapshots/server/public/page-sitemap.xml +0 -16
- package/test/mocha/html-snapshots/server/public/wordpress/category-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/public/wordpress/page-sitemap.xml +0 -16
- package/test/mocha/html-snapshots/server/public/wordpress/post-sitemap.xml +0 -27
- package/test/mocha/html-snapshots/server/public/wordpress/post_tag-sitemap.xml +0 -17
- package/test/mocha/html-snapshots/server/public/wordpress/product-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/public/wordpress-2/category-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/public/wordpress-2/page-sitemap.xml +0 -16
- package/test/mocha/html-snapshots/server/public/wordpress-2/post-sitemap.xml +0 -27
- package/test/mocha/html-snapshots/server/public/wordpress-2/post_tag-sitemap.xml +0 -17
- package/test/mocha/html-snapshots/server/public/wordpress-2/product-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/require.js +0 -1
- package/test/mocha/html-snapshots/server/services/carpets/index.html +0 -57
- package/test/mocha/html-snapshots/server/test_robots.txt +0 -13
- package/test/mocha/html-snapshots/server/test_robots_sitemap.txt +0 -15
- package/test/mocha/html-snapshots/server/test_robots_sitemap.xml +0 -22
- package/test/mocha/html-snapshots/server/test_sitemap_index-2.xml +0 -25
- package/test/mocha/html-snapshots/server/test_sitemap_index-3.xml +0 -25
- package/test/mocha/html-snapshots/server/test_sitemap_index.xml +0 -25
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/custom-validity.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/modernizr-custom.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/mousepress.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/polyfiller.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/canvas2png.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/flashcanvas.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/flashcanvas.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/proxy.php +0 -73
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/save.php +0 -49
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/canvas2png.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flash10canvas.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flash9canvas.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flashcanvas.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/proxy.php +0 -73
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/save.php +0 -49
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/1.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/10.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/11.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/12.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/13.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/14.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/15.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/16.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/17.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/18.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/19.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/2.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/20.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/21.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/22.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/23.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/24.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/25.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/26.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/27.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/3.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/4.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/5.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/59.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/6.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/7.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/8.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/9.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/details.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/dom-extend.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/es5.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/excanvas.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-core.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-datalist.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-message.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-native-extend.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-number-date-api.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-number-date-ui.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-shim-extend.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/geolocation.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ar.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ch-ZN.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-de.txt +0 -33
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-el.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-en.txt +0 -34
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-es.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-fr.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-he.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-hi.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-hu.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-it.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ja.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-nl.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-pt-PT.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ru.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-sv.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/json-storage.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/license.txt +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/player.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/readme.html +0 -87
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-core.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-jaris.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-native-fix.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-swf.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-yt.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/details-arrows.png +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/forms.png +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/polyfill-loader.gif +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/shim.css +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/JarisFLVPlayer.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/jwwebshims.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/localStorage.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/track-ui.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/track.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/plugins/cload.js +0 -49
- package/test/mocha/html-snapshots/server/vendor/js/plugins/modernizr.js +0 -4
- package/test/mocha/html-snapshots/server/vendor/js/plugins/oldie.js +0 -74
- package/test/mocha/html-snapshots/sitemap-index.js +0 -140
- package/test/mocha/html-snapshots/sitemap.js +0 -104
- package/test/mocha/html-snapshots/snapshot-scripts.js +0 -206
- package/test/mocha/html-snapshots/test.js +0 -105
- package/test/mocha/html-snapshots/test_robots.txt +0 -13
- package/test/mocha/html-snapshots/test_sitemap.xml +0 -22
- package/test/mocha/html-snapshots/use-jquery.js +0 -144
- package/test/mocha/html-snapshots/utils.js +0 -200
- package/test/mocha/input-generators/server/public/wordpress/category-sitemap.xml +0 -13
- package/test/mocha/input-generators/server/public/wordpress/page-sitemap.xml +0 -16
- package/test/mocha/input-generators/server/public/wordpress/post-sitemap.xml +0 -55
- package/test/mocha/input-generators/server/public/wordpress/post_tag-sitemap.xml +0 -25
- package/test/mocha/input-generators/server/public/wordpress/product-sitemap.xml +0 -13
- package/test/mocha/input-generators/server/test_robots.txt +0 -15
- package/test/mocha/input-generators/server/test_robots_bad.txt +0 -11
- package/test/mocha/input-generators/server/test_robots_sitemap.txt +0 -17
- package/test/mocha/input-generators/server/test_robots_sitemap_bad.txt +0 -17
- package/test/mocha/input-generators/server/test_robots_sitemap_multi.txt +0 -18
- package/test/mocha/input-generators/server/test_sitemap.xml +0 -34
- package/test/mocha/input-generators/server/test_sitemap.xml.gz +0 -0
- package/test/mocha/input-generators/server/test_sitemap_bad.xml.gz +0 -0
- package/test/mocha/input-generators/server/test_sitemap_index.xml +0 -25
- package/test/mocha/input-generators/server/test_sitemap_index.xml.gz +0 -0
- package/test/mocha/input-generators/server/test_sitemap_index_empty.xml +0 -3
- package/test/mocha/input-generators/server/test_sitemap_index_malformed.xml +0 -2
- package/test/mocha/input-generators/sitemap-index.js +0 -87
- package/test/mocha/input-generators/sitemap.js +0 -320
- package/test/mocha/input-generators/test.js +0 -1447
- package/test/mocha/input-generators/test_line.txt +0 -5
- package/test/mocha/input-generators/test_robots.txt +0 -15
- package/test/mocha/input-generators/test_robots_bad.txt +0 -11
- package/test/mocha/input-generators/test_robots_sitemap.txt +0 -17
- package/test/mocha/input-generators/test_robots_sitemap_bad.txt +0 -17
- package/test/mocha/input-generators/test_robots_sitemap_multi.txt +0 -18
- package/test/mocha/input-generators/test_sitemap.xml +0 -34
- package/test/mocha/input-generators/test_sitemap.xml.gz +0 -0
- package/test/mocha/input-generators/test_sitemap_bad.xml.gz +0 -0
- package/test/mocha/input-generators/test_sitemap_index.xml +0 -25
- package/test/mocha/input-generators/test_sitemap_index.xml.gz +0 -0
- package/test/server/index.js +0 -32
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Library tests focused on the useJQuery option.
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2013 - 2022, Alex Grant, LocalNerve, contributors
|
|
5
|
-
*/
|
|
6
|
-
/* global it */
|
|
7
|
-
const assert = require("assert");
|
|
8
|
-
const path = require("path");
|
|
9
|
-
const _ = require("lodash");
|
|
10
|
-
const utils = require("./utils");
|
|
11
|
-
const optHelp = require("../../helpers/options");
|
|
12
|
-
const ss = require("../../../lib/html-snapshots");
|
|
13
|
-
|
|
14
|
-
const {
|
|
15
|
-
timeout,
|
|
16
|
-
outputDir,
|
|
17
|
-
cleanup,
|
|
18
|
-
cleanupError,
|
|
19
|
-
unexpectedError,
|
|
20
|
-
unexpectedSuccess,
|
|
21
|
-
checkActualFiles
|
|
22
|
-
} = utils;
|
|
23
|
-
|
|
24
|
-
const useJQOutputDir = path.resolve(outputDir, "..", "useJQuery");
|
|
25
|
-
|
|
26
|
-
function useJQueryTests (options) {
|
|
27
|
-
const {
|
|
28
|
-
port
|
|
29
|
-
} = options;
|
|
30
|
-
|
|
31
|
-
function createOptions (newOptions) {
|
|
32
|
-
const defaultOptions = {
|
|
33
|
-
input: "array",
|
|
34
|
-
source: [ `http://localhost:${port}/nojq` ],
|
|
35
|
-
selector: ".nojq-dynamic",
|
|
36
|
-
outputDir: useJQOutputDir,
|
|
37
|
-
outputDirClean: true,
|
|
38
|
-
browser: "phantomjs",
|
|
39
|
-
timeout,
|
|
40
|
-
useJQuery: true
|
|
41
|
-
};
|
|
42
|
-
return {
|
|
43
|
-
...defaultOptions,
|
|
44
|
-
...newOptions
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return function () {
|
|
49
|
-
it("should succeed if useJQuery=false, jQuery NOT loaded, dynamic element",
|
|
50
|
-
function (done) {
|
|
51
|
-
const options = createOptions({
|
|
52
|
-
useJQuery: false
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
ss.run(optHelp.decorate(options), (err, completed) => {
|
|
56
|
-
if (err) {
|
|
57
|
-
console.log(`@@@ error = ${err}, completed=${completed.join(',')}`);
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
.then(completed => {
|
|
61
|
-
let assertionError;
|
|
62
|
-
try {
|
|
63
|
-
assert.equal(completed.length, 1);
|
|
64
|
-
assert.equal(completed[0], path.join(useJQOutputDir, "nojq", "index.html"));
|
|
65
|
-
} catch (e) {
|
|
66
|
-
assertionError = e;
|
|
67
|
-
}
|
|
68
|
-
cleanup(done, assertionError);
|
|
69
|
-
})
|
|
70
|
-
.catch(e => {
|
|
71
|
-
checkActualFiles(e.notCompleted)
|
|
72
|
-
.then(() => {
|
|
73
|
-
cleanup(done, e || unexpectedError);
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
it("should succeed if useJQuery=true, jQuery loaded", function (done) {
|
|
79
|
-
const options = createOptions({
|
|
80
|
-
source: [ `http://localhost:${port}/` ],
|
|
81
|
-
selector: "#dynamic-content",
|
|
82
|
-
outputDir
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
ss.run(optHelp.decorate(options), (err, completed) => {
|
|
86
|
-
if (err) {
|
|
87
|
-
console.log(`@@@ error = ${err}, completed=${completed.join(',')}`);
|
|
88
|
-
}
|
|
89
|
-
})
|
|
90
|
-
.then(completed => {
|
|
91
|
-
var assertionError;
|
|
92
|
-
try {
|
|
93
|
-
assert.equal(completed.length, 1);
|
|
94
|
-
assert.equal(completed[0], path.join(outputDir, "index.html"));
|
|
95
|
-
} catch (e) {
|
|
96
|
-
assertionError = e;
|
|
97
|
-
}
|
|
98
|
-
cleanup(done, assertionError);
|
|
99
|
-
})
|
|
100
|
-
.catch(e => {
|
|
101
|
-
checkActualFiles(e.notCompleted)
|
|
102
|
-
.then(() => {
|
|
103
|
-
cleanup(done, e || unexpectedError);
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
it("should fail if useJQuery is true and no jQuery loads in target page",
|
|
109
|
-
function (done) {
|
|
110
|
-
const options = createOptions({
|
|
111
|
-
selector: "#pocs1",
|
|
112
|
-
timeout: 4000
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
const twice = _.after(2, cleanupError.bind(null, done, 0));
|
|
116
|
-
|
|
117
|
-
ss.run(optHelp.decorate(options), twice)
|
|
118
|
-
.then(unexpectedSuccess.bind(null, done))
|
|
119
|
-
.catch(twice);
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
it("should fail if useJQuery is false, no jQuery loads in page, BUT the element is not visible",
|
|
123
|
-
function (done) {
|
|
124
|
-
const options = createOptions({
|
|
125
|
-
selector: ".nojq-notvisible",
|
|
126
|
-
timeout: 4000
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
const twice = _.after(2, cleanupError.bind(null, done, 0));
|
|
130
|
-
|
|
131
|
-
ss.run(optHelp.decorate(options), twice)
|
|
132
|
-
.then(unexpectedSuccess.bind(null, done))
|
|
133
|
-
.catch(twice);
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
// most of these tests use useJQuery false and jQuery loads in target page,
|
|
137
|
-
// so not testing that combo that should always succeed as long as the
|
|
138
|
-
// selector is not dependent on jQuery.
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
module.exports = {
|
|
143
|
-
testSuite: useJQueryTests
|
|
144
|
-
};
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* html-snapshots test debug utilities and constants.
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2013 - 2022, Alex Grant, LocalNerve, contributors
|
|
5
|
-
*/
|
|
6
|
-
const path = require("path");
|
|
7
|
-
const fs = require("fs");
|
|
8
|
-
const _ = require("lodash");
|
|
9
|
-
const spawn = require("child_process").spawn;
|
|
10
|
-
const assert = require("assert");
|
|
11
|
-
const combineErrors = require("combine-errors");
|
|
12
|
-
const resHelp = require("../../helpers/result");
|
|
13
|
-
const pathExists = require("../../../lib/async/exists");
|
|
14
|
-
|
|
15
|
-
// Constants
|
|
16
|
-
const unexpectedError = new Error("unexpected error flow");
|
|
17
|
-
const outputDir = path.join(__dirname, "./tmp/snapshots");
|
|
18
|
-
const spawnedProcessPattern = "^phantomjs$";
|
|
19
|
-
const bogusFile = "./bogus/file.txt";
|
|
20
|
-
const timeout = 20000;
|
|
21
|
-
|
|
22
|
-
function dumpTree (p) {
|
|
23
|
-
fs.readdirSync(p).forEach(file => {
|
|
24
|
-
const curPath = path.join(p, path.sep, file);
|
|
25
|
-
const stats = fs.statSync(curPath);
|
|
26
|
-
|
|
27
|
-
if (stats.isDirectory()) {
|
|
28
|
-
dumpTree(curPath);
|
|
29
|
-
} else if (stats.isFile(curPath)) {
|
|
30
|
-
console.log("@@@ exists: " + curPath);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function checkActualFiles (files) {
|
|
36
|
-
let shortFile, outputRoot;
|
|
37
|
-
|
|
38
|
-
if (files.length > 0) {
|
|
39
|
-
shortFile = outputDir;
|
|
40
|
-
/*
|
|
41
|
-
shortFile = files.reduce(function (prev, curr) {
|
|
42
|
-
if (curr.length < prev.length) {
|
|
43
|
-
prev = curr;
|
|
44
|
-
}
|
|
45
|
-
return prev;
|
|
46
|
-
}, files[0]);
|
|
47
|
-
*/
|
|
48
|
-
let exists = false; // toggle to dumpTree
|
|
49
|
-
outputRoot = path.dirname(shortFile);
|
|
50
|
-
try {
|
|
51
|
-
fs.statSync(outputRoot).isDirectory();
|
|
52
|
-
}
|
|
53
|
-
catch (e) {
|
|
54
|
-
console.log("@@@ outputRoot not exist", outputRoot);
|
|
55
|
-
}
|
|
56
|
-
if (exists) {
|
|
57
|
-
dumpTree(outputRoot);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return Promise.all(files.map(file => {
|
|
62
|
-
return pathExists(file)
|
|
63
|
-
.then(result => {
|
|
64
|
-
if (result) {
|
|
65
|
-
console.log("@@@ actually exists:" + file);
|
|
66
|
-
}
|
|
67
|
-
return result;
|
|
68
|
-
});
|
|
69
|
-
}));
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function multiError () {
|
|
73
|
-
var errors = Array.prototype.slice.call(arguments);
|
|
74
|
-
|
|
75
|
-
errors = errors.filter(function (error) {
|
|
76
|
-
return !!error;
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
if (errors.length > 0) {
|
|
80
|
-
errors = combineErrors(errors);
|
|
81
|
-
} else {
|
|
82
|
-
errors = undefined;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return errors;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Count actual phantomjs processes in play, requires pgrep
|
|
89
|
-
function countSpawnedProcesses (cb) {
|
|
90
|
-
var wc, pgrep;
|
|
91
|
-
// std mac pgrep doesn't have a count option. How stupid is that?
|
|
92
|
-
if (process.platform === "darwin") {
|
|
93
|
-
wc = spawn("wc", ["-l"]);
|
|
94
|
-
pgrep = spawn("pgrep", [spawnedProcessPattern]);
|
|
95
|
-
pgrep.stdout.on("data", data => {
|
|
96
|
-
wc.stdin.write(data);
|
|
97
|
-
});
|
|
98
|
-
pgrep.stdout.on("end", () => {
|
|
99
|
-
wc.stdin.end();
|
|
100
|
-
});
|
|
101
|
-
wc.stdout.on("data", cb);
|
|
102
|
-
} else {
|
|
103
|
-
pgrep = spawn("pgrep", [spawnedProcessPattern, "-c"]);
|
|
104
|
-
pgrep.stdout.on("data", cb);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Clear any lingering browser processes in play
|
|
109
|
-
function killSpawnedProcesses (cb) {
|
|
110
|
-
var pkill = spawn("pkill", [spawnedProcessPattern]);
|
|
111
|
-
var guardedCb = _.once(cb);
|
|
112
|
-
|
|
113
|
-
pkill.on("exit", () => {
|
|
114
|
-
setTimeout(guardedCb, 2000);
|
|
115
|
-
});
|
|
116
|
-
pkill.on("error", () => {
|
|
117
|
-
guardedCb(new Error("failed to kill browser processes"));
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Complete a test and kill any spawned processes.
|
|
122
|
-
function cleanup (done, arg) {
|
|
123
|
-
if (process.platform === "win32") {
|
|
124
|
-
setTimeout(done, 1000, arg);
|
|
125
|
-
} else {
|
|
126
|
-
setImmediate(() => {
|
|
127
|
-
killSpawnedProcesses(err => {
|
|
128
|
-
done(multiError(err, arg));
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Verify received error and cleanup running processes.
|
|
136
|
-
* @param {Function} done - The finalization callback.
|
|
137
|
-
* @param {Number} count - The number of expected completed results.
|
|
138
|
-
* @param {String|Object} err - The error.
|
|
139
|
-
*/
|
|
140
|
-
function cleanupError (done, count, err, completed) {
|
|
141
|
-
var assertionError;
|
|
142
|
-
|
|
143
|
-
try {
|
|
144
|
-
resHelp.mustBeError(err);
|
|
145
|
-
if (completed) {
|
|
146
|
-
assert.equal(count, completed.length);
|
|
147
|
-
}
|
|
148
|
-
assert.ok(err instanceof Error, "should be instanceof Error");
|
|
149
|
-
assert.notEqual(typeof err.completed, "undefined", "error.completed should be defined");
|
|
150
|
-
} catch (e) {
|
|
151
|
-
assertionError = e;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
cleanup(done, assertionError);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
function cleanupSuccess (done, err, completed) {
|
|
158
|
-
var assertionError;
|
|
159
|
-
|
|
160
|
-
try {
|
|
161
|
-
assert.notEqual(typeof completed, "undefined", "completed should be defined");
|
|
162
|
-
} catch (e) {
|
|
163
|
-
assertionError = e;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
cleanup(done, multiError(err, assertionError));
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
function testSuccess (cb, completed) {
|
|
170
|
-
var assertionError;
|
|
171
|
-
|
|
172
|
-
try {
|
|
173
|
-
assert.equal(Array.isArray(completed), true);
|
|
174
|
-
assert.equal(completed.length > 0, true);
|
|
175
|
-
} catch (e) {
|
|
176
|
-
assertionError = e;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
cb(assertionError, completed);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
function unexpectedSuccess (cb) {
|
|
183
|
-
cleanup(cb, new Error("unexpected success"));
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
module.exports = {
|
|
187
|
-
countSpawnedProcesses: countSpawnedProcesses,
|
|
188
|
-
killSpawnedProcesses: killSpawnedProcesses,
|
|
189
|
-
cleanup: cleanup,
|
|
190
|
-
cleanupError: cleanupError,
|
|
191
|
-
cleanupSuccess: cleanupSuccess,
|
|
192
|
-
testSuccess: testSuccess,
|
|
193
|
-
unexpectedSuccess: unexpectedSuccess,
|
|
194
|
-
unexpectedError: unexpectedError,
|
|
195
|
-
outputDir: outputDir,
|
|
196
|
-
bogusFile: bogusFile,
|
|
197
|
-
multiError: multiError,
|
|
198
|
-
checkActualFiles: checkActualFiles,
|
|
199
|
-
timeout: timeout
|
|
200
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
|
|
2
|
-
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
-
<url>
|
|
4
|
-
<loc>http://northstar.local/</loc>
|
|
5
|
-
<lastmod>2017-01-13T20:16:53+01:00</lastmod>
|
|
6
|
-
</url>
|
|
7
|
-
<url>
|
|
8
|
-
<loc>http://northstar.local/contact</loc>
|
|
9
|
-
<lastmod>2017-01-13T21:36:41+01:00</lastmod>
|
|
10
|
-
</url>
|
|
11
|
-
</urlset>
|
|
12
|
-
<!-- XML Sitemap generated by Yoast SEO -->
|
|
13
|
-
<!-- 24.04MB | Served from transient cache -->
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
|
|
2
|
-
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
-
<url>
|
|
4
|
-
<loc>http://northstar.local/</loc>
|
|
5
|
-
</url>
|
|
6
|
-
<url>
|
|
7
|
-
<loc>http://northstar.local/contact</loc>
|
|
8
|
-
<lastmod>2017-01-06T21:06:08+01:00</lastmod>
|
|
9
|
-
</url>
|
|
10
|
-
<url>
|
|
11
|
-
<loc>http://northstar.local/services/carpets</loc>
|
|
12
|
-
<lastmod>2017-01-09T22:38:33+01:00</lastmod>
|
|
13
|
-
</url>
|
|
14
|
-
</urlset>
|
|
15
|
-
<!-- XML Sitemap generated by Yoast SEO -->
|
|
16
|
-
<!-- 24.04MB | Served from transient cache -->
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
|
|
2
|
-
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
-
<url>
|
|
4
|
-
<loc>http://northstar.local/</loc>
|
|
5
|
-
</url>
|
|
6
|
-
<url>
|
|
7
|
-
<loc>http://northstar.local/contact</loc>
|
|
8
|
-
<lastmod>2017-01-12T01:29:17+01:00</lastmod>
|
|
9
|
-
<image:image>
|
|
10
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/87aa6abd-26a9-3d47-bc05-ee9ecac4aeeb.jpg</image:loc>
|
|
11
|
-
</image:image>
|
|
12
|
-
</url>
|
|
13
|
-
<url>
|
|
14
|
-
<loc>http://northstar.local/services/carpets</loc>
|
|
15
|
-
<lastmod>2017-01-12T02:36:02+01:00</lastmod>
|
|
16
|
-
<image:image>
|
|
17
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/9a0111f0-70be-31d6-a546-c16912d2a94b.jpg</image:loc>
|
|
18
|
-
<image:caption><![CDATA[Et qui quaerat]]></image:caption>
|
|
19
|
-
</image:image>
|
|
20
|
-
<image:image>
|
|
21
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/08d769e9-c110-3599-a8af-d45c908a029f.jpg</image:loc>
|
|
22
|
-
<image:caption><![CDATA[Aut possimus ut quasi quaerat quos qui adipisci suscipit]]></image:caption>
|
|
23
|
-
</image:image>
|
|
24
|
-
</url>
|
|
25
|
-
<url>
|
|
26
|
-
<loc>http://northstar.local/services/test?arg=one</loc>
|
|
27
|
-
<lastmod>2017-01-12T03:03:25+01:00</lastmod>
|
|
28
|
-
<image:image>
|
|
29
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/eeb06ca1-a019-339a-8776-fe2e5e8abfe3.jpg</image:loc>
|
|
30
|
-
</image:image>
|
|
31
|
-
<image:image>
|
|
32
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/3e0736a9-4f07-3e1b-8faf-e0cb0105dc1b.jpg</image:loc>
|
|
33
|
-
</image:image>
|
|
34
|
-
<image:image>
|
|
35
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/d7139771-e05e-3b58-ad7b-97b63297d142.jpg</image:loc>
|
|
36
|
-
</image:image>
|
|
37
|
-
</url>
|
|
38
|
-
<url>
|
|
39
|
-
<loc>https://northstar.local/services/#hash</loc>
|
|
40
|
-
<lastmod>2017-01-12T05:26:42+01:00</lastmod>
|
|
41
|
-
<image:image>
|
|
42
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/bd7bb9b0-7280-3d51-8eb9-245e13d6606c.jpg</image:loc>
|
|
43
|
-
</image:image>
|
|
44
|
-
<image:image>
|
|
45
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/764e6d3a-a0d1-37da-a3ba-39392196498c.jpg</image:loc>
|
|
46
|
-
<image:caption><![CDATA[Qui tempora omnis maxime]]></image:caption>
|
|
47
|
-
</image:image>
|
|
48
|
-
<image:image>
|
|
49
|
-
<image:loc>https://core.codekraft.it/public/wordpress/wp-content/uploads/2017/01/eeb06ca1-a019-339a-8776-fe2e5e8abfe3.jpg</image:loc>
|
|
50
|
-
<image:caption><![CDATA[Dolor aut recusandae fuga]]></image:caption>
|
|
51
|
-
</image:image>
|
|
52
|
-
</url>
|
|
53
|
-
</urlset>
|
|
54
|
-
<!-- XML Sitemap generated by Yoast SEO -->
|
|
55
|
-
<!-- 24.04MB | Served from transient cache -->
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
|
|
2
|
-
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
-
<url>
|
|
4
|
-
<loc>http://northstar.local/</loc>
|
|
5
|
-
<lastmod>2016-12-19T14:05:21+01:00</lastmod>
|
|
6
|
-
</url>
|
|
7
|
-
<url>
|
|
8
|
-
<loc>http://northstar.local/contact</loc>
|
|
9
|
-
<lastmod>2017-01-13T20:16:53+01:00</lastmod>
|
|
10
|
-
</url>
|
|
11
|
-
<url>
|
|
12
|
-
<loc>http://northstar.local/services/carpets</loc>
|
|
13
|
-
<lastmod>2017-01-12T20:32:46+01:00</lastmod>
|
|
14
|
-
</url>
|
|
15
|
-
<url>
|
|
16
|
-
<loc>http://northstar.local/services/test?arg=one</loc>
|
|
17
|
-
<lastmod>2017-01-13T20:16:53+01:00</lastmod>
|
|
18
|
-
</url>
|
|
19
|
-
<url>
|
|
20
|
-
<loc>https://northstar.local/services/#hash</loc>
|
|
21
|
-
<lastmod>2016-12-19T14:05:21+01:00</lastmod>
|
|
22
|
-
</url>
|
|
23
|
-
</urlset>
|
|
24
|
-
<!-- XML Sitemap generated by Yoast SEO -->
|
|
25
|
-
<!-- 24.04MB | Served from transient cache -->
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
|
|
2
|
-
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
-
<url>
|
|
4
|
-
<loc>http://northstar.local/services/test?arg=one</loc>
|
|
5
|
-
<lastmod>2017-01-10T00:52:37+01:00</lastmod>
|
|
6
|
-
</url>
|
|
7
|
-
<url>
|
|
8
|
-
<loc>http://northstar.local/services/carpets</loc>
|
|
9
|
-
<lastmod>2017-01-10T00:52:37+01:00</lastmod>
|
|
10
|
-
</url>
|
|
11
|
-
</urlset>
|
|
12
|
-
<!-- XML Sitemap generated by Yoast SEO -->
|
|
13
|
-
<!-- 24.04MB | Served from transient cache -->
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
User-agent: *
|
|
2
|
-
|
|
3
|
-
Allow: /
|
|
4
|
-
Allow: /contact
|
|
5
|
-
Allow: /services/carpets
|
|
6
|
-
Allow: /services/test?arg=one
|
|
7
|
-
Allow: /services/#hash
|
|
8
|
-
|
|
9
|
-
Disallow: /api/
|
|
10
|
-
Disallow: /vendor/
|
|
11
|
-
Disallow: /fonts/
|
|
12
|
-
Disallow: /images/
|
|
13
|
-
|
|
14
|
-
User-agent: ia_archiver
|
|
15
|
-
Disallow: /
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
User-agent: *
|
|
2
|
-
|
|
3
|
-
Allow: /
|
|
4
|
-
Allow: /contact
|
|
5
|
-
Allow: /services/carpets
|
|
6
|
-
Allow: /services/test?arg=one
|
|
7
|
-
Allow: /services/#hash
|
|
8
|
-
|
|
9
|
-
Disallow: /api/
|
|
10
|
-
Disallow: /vendor/
|
|
11
|
-
Disallow: /fonts/
|
|
12
|
-
Disallow: /images/
|
|
13
|
-
|
|
14
|
-
Sitemap: http://localhost:8033/test_sitemap.xml
|
|
15
|
-
|
|
16
|
-
User-agent: ia_archiver
|
|
17
|
-
Disallow: /
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
User-agent: *
|
|
2
|
-
|
|
3
|
-
Allow: /
|
|
4
|
-
Allow: /contact
|
|
5
|
-
Allow: /services/carpets
|
|
6
|
-
Allow: /services/test?arg=one
|
|
7
|
-
Allow: /services/#hash
|
|
8
|
-
|
|
9
|
-
Disallow: /api/
|
|
10
|
-
Disallow: /vendor/
|
|
11
|
-
Disallow: /fonts/
|
|
12
|
-
Disallow: /images/
|
|
13
|
-
|
|
14
|
-
Sitemap: http://badhost.nowhere/sitemap.xml
|
|
15
|
-
|
|
16
|
-
User-agent: ia_archiver
|
|
17
|
-
Disallow: /
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
User-agent: *
|
|
2
|
-
|
|
3
|
-
Allow: /
|
|
4
|
-
Allow: /contact
|
|
5
|
-
Allow: /services/carpets
|
|
6
|
-
Allow: /services/test?arg=one
|
|
7
|
-
Allow: /services/#hash
|
|
8
|
-
|
|
9
|
-
Disallow: /api/
|
|
10
|
-
Disallow: /vendor/
|
|
11
|
-
Disallow: /fonts/
|
|
12
|
-
Disallow: /images/
|
|
13
|
-
|
|
14
|
-
Sitemap: http://localhost:8033/test_sitemap.xml
|
|
15
|
-
Sitemap: http://localhost:8033/test_sitemap_index.xml
|
|
16
|
-
|
|
17
|
-
User-agent: ia_archiver
|
|
18
|
-
Disallow: /
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
|
|
3
|
-
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
4
|
-
<url>
|
|
5
|
-
<loc>http://northstar.local/</loc>
|
|
6
|
-
<lastmod>2012-08-11T12:16:09+00:00</lastmod>
|
|
7
|
-
<changefreq>daily</changefreq>
|
|
8
|
-
<priority>1.0</priority>
|
|
9
|
-
</url>
|
|
10
|
-
<url>
|
|
11
|
-
<loc>http://northstar.local/contact</loc>
|
|
12
|
-
<lastmod>2012-11-02T02:53:40+00:00</lastmod>
|
|
13
|
-
<changefreq>weekly</changefreq>
|
|
14
|
-
<priority>0.6</priority>
|
|
15
|
-
</url>
|
|
16
|
-
<url>
|
|
17
|
-
<loc>http://northstar.local/services/carpets</loc>
|
|
18
|
-
<lastmod>2012-10-19T10:45:23+00:00</lastmod>
|
|
19
|
-
<changefreq>weekly</changefreq>
|
|
20
|
-
<priority>0.6</priority>
|
|
21
|
-
</url>
|
|
22
|
-
<url>
|
|
23
|
-
<loc>http://northstar.local/services/test?arg=one</loc>
|
|
24
|
-
<lastmod>2012-10-19T10:20:36+00:00</lastmod>
|
|
25
|
-
<changefreq>weekly</changefreq>
|
|
26
|
-
<priority>0.6</priority>
|
|
27
|
-
</url>
|
|
28
|
-
<url>
|
|
29
|
-
<loc>https://northstar.local/services/#hash</loc>
|
|
30
|
-
<lastmod>2012-09-16T21:28:48+00:00</lastmod>
|
|
31
|
-
<changefreq>weekly</changefreq>
|
|
32
|
-
<priority>0.6</priority>
|
|
33
|
-
</url>
|
|
34
|
-
</urlset>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
|
|
2
|
-
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
-
<sitemap>
|
|
4
|
-
<loc>http://localhost:8033/public/wordpress/post-sitemap.xml</loc>
|
|
5
|
-
<lastmod>2017-01-11T22:44:22+01:00</lastmod>
|
|
6
|
-
</sitemap>
|
|
7
|
-
<sitemap>
|
|
8
|
-
<loc>http://localhost:8033/public/wordpress/page-sitemap.xml</loc>
|
|
9
|
-
<lastmod>2017-01-09T22:38:33+01:00</lastmod>
|
|
10
|
-
</sitemap>
|
|
11
|
-
<sitemap>
|
|
12
|
-
<loc>http://localhost:8033/public/wordpress/product-sitemap.xml</loc>
|
|
13
|
-
<lastmod>2017-01-10T00:52:37+01:00</lastmod>
|
|
14
|
-
</sitemap>
|
|
15
|
-
<sitemap>
|
|
16
|
-
<loc>http://localhost:8033/public/wordpress/category-sitemap.xml</loc>
|
|
17
|
-
<lastmod>2017-01-11T22:44:22+01:00</lastmod>
|
|
18
|
-
</sitemap>
|
|
19
|
-
<sitemap>
|
|
20
|
-
<loc>http://localhost:8033/public/wordpress/post_tag-sitemap.xml</loc>
|
|
21
|
-
<lastmod>2017-01-11T22:44:22+01:00</lastmod>
|
|
22
|
-
</sitemap>
|
|
23
|
-
</sitemapindex>
|
|
24
|
-
<!-- XML Sitemap generated by Yoast SEO -->
|
|
25
|
-
<!-- 24.01MB | Served from transient cache -->
|
|
Binary file
|