Skip to content

Commit

Permalink
update test to reflect what is rendered from the resource
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Feb 24, 2021
1 parent dee16f2 commit 24a14b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class ContentTabsPublishSpec extends ComponentSpec {
and: "Tab breadcrumb should match current page"
assert $(selector + "_page1 .breadcrumb li.active").getAt(0).text().trim() == "Content Tabs"

and: "Tab contents page title should match current page"
assert $(selector + "_page1 .pagetitle")[0].getAttribute("innerText").trim() == "Content Tabs"
and: "Tab contents page title should match tab page"
assert $(selector + "_page1 .title")[0].getAttribute("innerText").trim() == "Tab Page Content 1"

and: "Tab contents page tags should only have one tag"
assert $(selector + "_page1 .pagetags li").size() == 1
Expand Down

0 comments on commit 24a14b7

Please sign in to comment.