<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Redux on Aditya Naik | Personal Website</title>
    <link>https://d6cbd428.hugo-blog-e6x.pages.dev/tags/redux/</link>
    <description>Recent content in Redux on Aditya Naik | Personal Website</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 08 May 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://d6cbd428.hugo-blog-e6x.pages.dev/tags/redux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to access Redux state in Cypress</title>
      <link>https://d6cbd428.hugo-blog-e6x.pages.dev/blog/2020/05/08/how-to-access-redux-state-in-cypress/</link>
      <pubDate>Fri, 08 May 2020 00:00:00 +0000</pubDate>
      <guid>https://d6cbd428.hugo-blog-e6x.pages.dev/blog/2020/05/08/how-to-access-redux-state-in-cypress/</guid>
      <description>&lt;h3 id=&#34;set-up-our-application&#34;&gt;Set up our application&lt;/h3&gt;&#xA;&lt;p&gt;I borrowed the code from &#xA;&lt;a&#xA;  href=&#34;https://react-redux.js.org/introduction/basic-tutorial#a-todo-list-example&#34;&#xA;  &#xA;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;  &gt;react-redux.js.org&lt;/a&#xA;&gt;&#xA;&#xA;which showcases &lt;strong&gt;react + redux&lt;/strong&gt; in action using a todo list application.&lt;/p&gt;&#xA;&lt;h3 id=&#34;set-up-and-scaffold-cypress&#34;&gt;Set up and scaffold Cypress&lt;/h3&gt;&#xA;&lt;p&gt;&#xA;&lt;a&#xA;  href=&#34;https://www.cypress.io/&#34;&#xA;  &#xA;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;  &gt;Cypress&lt;/a&#xA;&gt;&#xA; is a fantastic testing framework. It is easy to set up and can be picked up pretty quickly.&lt;/p&gt;&#xA;&lt;p&gt;Setting up Cypress is pretty straight forward - just run:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;figure class=&#34;highlight&#34;&gt;&#xA;  &#xA;  &lt;pre class=&#34;language-bash&#34; &gt;&lt;code&gt;$ npm install cypress&#xA;or&#xA;$ yarn add cypress&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;We will also install the recommeded dependency&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
