From 7cc129912d05759471829016f7e502bd6d0144d2 Mon Sep 17 00:00:00 2001 From: CJ Bryan and Matt Olenick Date: Fri, 16 Feb 2018 15:54:56 -0800 Subject: [PATCH] Remove Transaction index link from the header --- lib/explorer_web/templates/layout/_header.html.eex | 4 ---- test/explorer_web/features/contributor_browsing_test.exs | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/explorer_web/templates/layout/_header.html.eex b/lib/explorer_web/templates/layout/_header.html.eex index 5ff2bb3e67..b76e6d1e17 100644 --- a/lib/explorer_web/templates/layout/_header.html.eex +++ b/lib/explorer_web/templates/layout/_header.html.eex @@ -7,10 +7,6 @@ - - " /> - - " /> diff --git a/test/explorer_web/features/contributor_browsing_test.exs b/test/explorer_web/features/contributor_browsing_test.exs index 04832c5cfe..eeb05f3191 100644 --- a/test/explorer_web/features/contributor_browsing_test.exs +++ b/test/explorer_web/features/contributor_browsing_test.exs @@ -108,12 +108,12 @@ defmodule ExplorerWeb.UserListTest do |> assert_has(css(".transactions__column--value", count: 5)) |> assert_has(css(".transactions__column--age", count: 5, visible: false)) - |> click(css(".header__link-name--transactions", text: "Transactions")) + |> visit("/transactions") |> click(css(".transactions__tab-link", text: "Pending")) |> click(css(".transactions__link", text: "0xC001")) |> assert_has(css(".transaction__item-value--status", text: "Pending")) - |> click(css(".header__link-name--transactions", text: "Transactions")) + |> visit("/transactions") |> refute_has(css(".transactions__column--block", text: "Pending")) |> click(link("0xSk8"))