Skip to content

Commit

Permalink
deploy: aac057d
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed Nov 17, 2023
1 parent a562f5b commit 9d9a804
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions command-line-arguments.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ <h2><a class="anchor" aria-hidden="true" id="loki-test"></a><a href="#loki-test"
<tr><td><strong><code>--chromeAwsLambdaFunctionName</code></strong></td><td>Name of the use to capture screenshots.</td><td><code>loki</code></td></tr>
<tr><td><strong><code>--chromeAwsLambdaRetries</code></strong></td><td>The number of retries for invoking the lambda, in case of failure.</td><td><code>0</code></td></tr>
<tr><td><strong><code>--chromeConcurrency</code></strong></td><td>How many stories to test in parallel when using chrome</td><td><code>4</code></td></tr>
<tr><td><strong><code>--chromeDockerImage</code></strong></td><td>What docker image to use when running chrome</td><td><code>yukinying/chrome-headless-browser-stable:100.0.4896.127</code></td></tr>
<tr><td><strong><code>--chromeDockerWithoutSeccomp</code></strong></td><td>Run chrome docker without custom seccomp settings.</td><td><code>false</code></td></tr>
<tr><td><strong><code>--chromeDockerImage</code></strong></td><td>What docker image to use when running chrome</td><td><code>yukinying/chrome-headless-browser-stable:118.0.5993.117</code></td></tr>
<tr><td><strong><code>--chromeDockerWithoutSeccomp</code></strong></td><td>Run chrome docker without unconfined seccomp settings.</td><td><code>false</code></td></tr>
<tr><td><strong><code>--chromeDockerUseCopy</code></strong></td><td>Use docker copy instead of volume mount for local stories</td><td><code>false</code></td></tr>
<tr><td><strong><code>--chromeEnableAnimations</code></strong></td><td>Enable CSS transitions and animations.</td><td><code>false</code></td></tr>
<tr><td><strong><code>--chromeFlags</code></strong></td><td>Custom chrome flags.</td><td><code>--headless --disable-gpu --hide-scrollbars</code></td></tr>
Expand Down Expand Up @@ -136,7 +136,7 @@ <h2><a class="anchor" aria-hidden="true" id="loki-init"></a><a href="#loki-init"
<tr><td><strong><code>--force</code></strong></td><td>Overwrite loki configuration</td><td><code>false</code></td></tr>
</tbody>
</table>
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 10/31/2023</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/configuration.html"><span class="arrow-prev"></span><span>Configuration</span></a><a class="docs-next button" href="/continuous-integration.html"><span>Continuous Integration</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#loki-test"><code>loki test</code></a></li><li><a href="#loki-update"><code>loki update</code></a></li><li><a href="#loki-approve"><code>loki approve</code></a></li><li><a href="#loki-init"><code>loki init</code></a></li></ul></nav></div><script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAIV2JN&amp;placement=lokijsorg" id="_carbonads_js"></script><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/favicon.svg" alt="Loki" width="52" height="52"/></a><div><h5>Docs</h5><a href="/getting-started.html">Getting Started</a><a href="/configuration.html">API Reference</a><a href="/continuous-integration.html">Guides</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a></div><div><h5>More</h5><a href="https://github.com/oblador/loki">GitHub</a><a class="github-button" href="https://github.com/oblador/loki" data-icon="octicon-star" data-count-href="/oblador/loki/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a><div class="social"><a href="https://twitter.com/trastknast" class="twitter-follow-button">Follow @trastknast</a></div></div></section><section class="copyright">Copyright © 2023 Joel Arvidsson</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 11/17/2023</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/configuration.html"><span class="arrow-prev"></span><span>Configuration</span></a><a class="docs-next button" href="/continuous-integration.html"><span>Continuous Integration</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#loki-test"><code>loki test</code></a></li><li><a href="#loki-update"><code>loki update</code></a></li><li><a href="#loki-approve"><code>loki approve</code></a></li><li><a href="#loki-init"><code>loki init</code></a></li></ul></nav></div><script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAIV2JN&amp;placement=lokijsorg" id="_carbonads_js"></script><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/favicon.svg" alt="Loki" width="52" height="52"/></a><div><h5>Docs</h5><a href="/getting-started.html">Getting Started</a><a href="/configuration.html">API Reference</a><a href="/continuous-integration.html">Guides</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a></div><div><h5>More</h5><a href="https://github.com/oblador/loki">GitHub</a><a class="github-button" href="https://github.com/oblador/loki" data-icon="octicon-star" data-count-href="/oblador/loki/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a><div class="social"><a href="https://twitter.com/trastknast" class="twitter-follow-button">Follow @trastknast</a></div></div></section><section class="copyright">Copyright © 2023 Joel Arvidsson</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
document.addEventListener('keyup', function(e) {
if (e.target !== document.body) {
return;
Expand Down
2 changes: 1 addition & 1 deletion configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h2><a class="anchor" aria-hidden="true" id="configurations"></a><a href="#confi
<tr><td><strong><code>diffOnly</code></strong></td><td>boolean</td><td>Changes the mode of <code>loki approve</code> if set to <code>true</code>, only the images which failed <code>loki test</code> beforehand will be updated. This configuration can be overwritten on demand using the cli flag <code>--diffOnly</code>.</td><td>All</td></tr>
</tbody>
</table>
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 10/31/2023</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/getting-started.html"><span class="arrow-prev"></span><span>Getting started</span></a><a class="docs-next button" href="/command-line-arguments.html"><span>Command line arguments</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#chromeselector"><code>chromeSelector</code></a></li><li><a href="#diffingengine"><code>diffingEngine</code></a><ul class="toc-headings"><li><a href="#pixelmatchhttpsgithubcommapboxpixelmatch"><a href="https://github.com/mapbox/pixelmatch"><code>pixelmatch</code></a></a></li><li><a href="#gmhttpsgithubcomaheckmanngm"><a href="https://github.com/aheckmann/gm"><code>gm</code></a></a></li><li><a href="#looks-samehttpsgithubcomgemini-testinglooks-same"><a href="https://github.com/gemini-testing/looks-same"><code>looks-same</code></a></a></li></ul></li><li><a href="#verboserenderer"><code>verboseRenderer</code></a></li><li><a href="#skipstories-deprecated"><del><code>skipStories</code></del> <strong>DEPRECATED</strong></a></li><li><a href="#storiesfilter"><code>storiesFilter</code></a></li><li><a href="#fetchfailignore"><code>fetchFailIgnore</code></a></li><li><a href="#filenameformatter"><code>fileNameFormatter</code></a></li><li><a href="#configurations"><code>configurations</code></a></li></ul></nav></div><script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAIV2JN&amp;placement=lokijsorg" id="_carbonads_js"></script><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/favicon.svg" alt="Loki" width="52" height="52"/></a><div><h5>Docs</h5><a href="/getting-started.html">Getting Started</a><a href="/configuration.html">API Reference</a><a href="/continuous-integration.html">Guides</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a></div><div><h5>More</h5><a href="https://github.com/oblador/loki">GitHub</a><a class="github-button" href="https://github.com/oblador/loki" data-icon="octicon-star" data-count-href="/oblador/loki/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a><div class="social"><a href="https://twitter.com/trastknast" class="twitter-follow-button">Follow @trastknast</a></div></div></section><section class="copyright">Copyright © 2023 Joel Arvidsson</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 11/17/2023</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/getting-started.html"><span class="arrow-prev"></span><span>Getting started</span></a><a class="docs-next button" href="/command-line-arguments.html"><span>Command line arguments</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#chromeselector"><code>chromeSelector</code></a></li><li><a href="#diffingengine"><code>diffingEngine</code></a><ul class="toc-headings"><li><a href="#pixelmatchhttpsgithubcommapboxpixelmatch"><a href="https://github.com/mapbox/pixelmatch"><code>pixelmatch</code></a></a></li><li><a href="#gmhttpsgithubcomaheckmanngm"><a href="https://github.com/aheckmann/gm"><code>gm</code></a></a></li><li><a href="#looks-samehttpsgithubcomgemini-testinglooks-same"><a href="https://github.com/gemini-testing/looks-same"><code>looks-same</code></a></a></li></ul></li><li><a href="#verboserenderer"><code>verboseRenderer</code></a></li><li><a href="#skipstories-deprecated"><del><code>skipStories</code></del> <strong>DEPRECATED</strong></a></li><li><a href="#storiesfilter"><code>storiesFilter</code></a></li><li><a href="#fetchfailignore"><code>fetchFailIgnore</code></a></li><li><a href="#filenameformatter"><code>fileNameFormatter</code></a></li><li><a href="#configurations"><code>configurations</code></a></li></ul></nav></div><script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAIV2JN&amp;placement=lokijsorg" id="_carbonads_js"></script><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/favicon.svg" alt="Loki" width="52" height="52"/></a><div><h5>Docs</h5><a href="/getting-started.html">Getting Started</a><a href="/configuration.html">API Reference</a><a href="/continuous-integration.html">Guides</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a></div><div><h5>More</h5><a href="https://github.com/oblador/loki">GitHub</a><a class="github-button" href="https://github.com/oblador/loki" data-icon="octicon-star" data-count-href="/oblador/loki/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a><div class="social"><a href="https://twitter.com/trastknast" class="twitter-follow-button">Follow @trastknast</a></div></div></section><section class="copyright">Copyright © 2023 Joel Arvidsson</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
document.addEventListener('keyup', function(e) {
if (e.target !== document.body) {
return;
Expand Down
2 changes: 1 addition & 1 deletion continuous-integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<pre><code class="hljs">build-storybook &amp;&amp; loki <span class="hljs-params">--requireReference</span> <span class="hljs-params">--reactUri</span> file<span class="hljs-function">:.</span><span class="hljs-string">/storybook-static</span>
</code></pre>
<p>See the <a href="https://github.com/oblador/loki/tree/master/examples/react">loki react example project</a> for a reference implementation of this approach.</p>
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 10/31/2023</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/command-line-arguments.html"><span class="arrow-prev"></span><span>Command line arguments</span></a><a class="docs-next button" href="/serverless.html"><span>Serverless renderer</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"></nav></div><script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAIV2JN&amp;placement=lokijsorg" id="_carbonads_js"></script><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/favicon.svg" alt="Loki" width="52" height="52"/></a><div><h5>Docs</h5><a href="/getting-started.html">Getting Started</a><a href="/configuration.html">API Reference</a><a href="/continuous-integration.html">Guides</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a></div><div><h5>More</h5><a href="https://github.com/oblador/loki">GitHub</a><a class="github-button" href="https://github.com/oblador/loki" data-icon="octicon-star" data-count-href="/oblador/loki/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a><div class="social"><a href="https://twitter.com/trastknast" class="twitter-follow-button">Follow @trastknast</a></div></div></section><section class="copyright">Copyright © 2023 Joel Arvidsson</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 11/17/2023</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/command-line-arguments.html"><span class="arrow-prev"></span><span>Command line arguments</span></a><a class="docs-next button" href="/serverless.html"><span>Serverless renderer</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"></nav></div><script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAIV2JN&amp;placement=lokijsorg" id="_carbonads_js"></script><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/favicon.svg" alt="Loki" width="52" height="52"/></a><div><h5>Docs</h5><a href="/getting-started.html">Getting Started</a><a href="/configuration.html">API Reference</a><a href="/continuous-integration.html">Guides</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a></div><div><h5>More</h5><a href="https://github.com/oblador/loki">GitHub</a><a class="github-button" href="https://github.com/oblador/loki" data-icon="octicon-star" data-count-href="/oblador/loki/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a><div class="social"><a href="https://twitter.com/trastknast" class="twitter-follow-button">Follow @trastknast</a></div></div></section><section class="copyright">Copyright © 2023 Joel Arvidsson</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
document.addEventListener('keyup', function(e) {
if (e.target !== document.body) {
return;
Expand Down
Loading

0 comments on commit 9d9a804

Please sign in to comment.