DEV: use more specific selector to avoid flaky test (#78)
This commit is contained in:
parent
efb445714c
commit
76af241de6
|
@ -40,7 +40,7 @@ RSpec.describe "DiscoTOC", system: true do
|
||||||
|
|
||||||
find("#topic-progress").click
|
find("#topic-progress").click
|
||||||
|
|
||||||
expect(page).to have_no_css(".timeline-toggle")
|
expect(page).to have_no_css(".timeline-fullscreen .timeline-toggle")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "d-toc-mini is hidden when scrolled past the first post" do
|
it "d-toc-mini is hidden when scrolled past the first post" do
|
||||||
|
|
Loading…
Reference in New Issue