Skip to content

Instantly share code, notes, and snippets.

@shankardevy
Last active August 1, 2017 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shankardevy/17ba131d46da5850b408434ef6b03802 to your computer and use it in GitHub Desktop.
Save shankardevy/17ba131d46da5850b408434ef6b03802 to your computer and use it in GitHub Desktop.
<h1 class="page-title">Seasonal Products</h1>
<div>
<%= for product <- @seasonal_products do %>
<div class="product">
<div class="product-name"><%= product.name %></div>
<div>₹ <span class="product-price"><%= product.price %></span></div>
</div>
<% end %>
</div>
@ocwang
Copy link

ocwang commented Jul 19, 2017

I believe the page title be Seasonal Products instead of Seasonal Specials.

Here's the acceptance test (PDF pg. 96) we wrote:

page_title = find_element(:css, ".page-title") |> visible_text()
assert page_title == "Seasonal Products"

@shankardevy
Copy link
Author

Thanks @ocwang. You are right. Correcting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment