<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cypress Commands on Aditya Naik | Personal Website</title>
    <link>https://d6cbd428.hugo-blog-e6x.pages.dev/tags/cypress-commands/</link>
    <description>Recent content in Cypress Commands on Aditya Naik | Personal Website</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 24 Apr 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://d6cbd428.hugo-blog-e6x.pages.dev/tags/cypress-commands/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cypress | How to handle auth JWT using env and commands</title>
      <link>https://d6cbd428.hugo-blog-e6x.pages.dev/blog/2021/04/24/cypress-how-to-handle-auth-jwt-using-env-and-commands/</link>
      <pubDate>Sat, 24 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://d6cbd428.hugo-blog-e6x.pages.dev/blog/2021/04/24/cypress-how-to-handle-auth-jwt-using-env-and-commands/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#1-setting-the-scene&#34;&#xA;  &#xA;  &#xA;  &gt;1. Setting the scene&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#2-need-for-writing-explicit-network-requests-in-cypress&#34;&#xA;  &#xA;  &#xA;  &gt;2. Need for writing explicit network requests in cypress?&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#3-why-not-mock-api-responses-or-seed-the-data-or-both&#34;&#xA;  &#xA;  &#xA;  &gt;3. Why not mock API responses OR seed the data OR both?&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#4-what-are-cypress-commands&#34;&#xA;  &#xA;  &#xA;  &gt;4. What are cypress commands?&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#5-how-does-the-login-command-look&#34;&#xA;  &#xA;  &#xA;  &gt;5. How does the login command look?&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#6-how-to-access-redux-store&#34;&#xA;  &#xA;  &#xA;  &gt;6. How to access redux store?&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#7-exploring-cypress-env&#34;&#xA;  &#xA;  &#xA;  &gt;7. Exploring Cypress env&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#8-how-to-set-and-access-cypress-env&#34;&#xA;  &#xA;  &#xA;  &gt;8. How to set and access cypress env&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a&#xA;  href=&#34;#9-tldr-some-example-code&#34;&#xA;  &#xA;  &#xA;  &gt;9. TLDR: Some Example code&lt;/a&#xA;&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;1-setting-the-scene&#34;&gt;1. Setting the scene&lt;/h2&gt;&#xA;&lt;p&gt;A typical case of application structure is when we have a client paired with API. In such a scenario, its very useful to set up end-to-end tests using &#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;, which will help you mimic actual user behavior across the application and builds a lot of confidence in your implementation.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
