Uncomment Specs and Add additional Logging (#10989)
This commit is contained in:
parent
fb67f13573
commit
b9000cb6a7
1 changed files with 6 additions and 3 deletions
|
|
@ -27,9 +27,12 @@ RSpec.describe "Views an article", type: :system do
|
|||
end
|
||||
|
||||
describe "when showing the date" do
|
||||
# TODO: Molly investigating
|
||||
xit "shows the readable publish date", js: true do
|
||||
it "shows the readable publish date", js: true do
|
||||
visit article.path
|
||||
# TODO: Molly investigating spec failures if this fails retry your build
|
||||
puts "Readable Compare date #{article.displayable_published_at}"
|
||||
puts find("article time")[:datetime]
|
||||
puts find("article time")[:title]
|
||||
expect(page).to have_selector("article time", text: article.readable_publish_date)
|
||||
end
|
||||
|
||||
|
|
@ -52,7 +55,7 @@ RSpec.describe "Views an article", type: :system do
|
|||
end
|
||||
end
|
||||
|
||||
# TODO: Molly investigating
|
||||
# TODO: Molly is investigating
|
||||
xit "shows the identical readable publish dates in each page", js: true do
|
||||
visit first_article.path
|
||||
expect(page).to have_selector("article time", text: first_article.readable_publish_date)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue