Skip to content

Fix relative links #609

Fix relative links

Fix relative links #609

Triggered via pull request February 6, 2025 21:09
Status Failure
Total duration 1m 52s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Elastic.Markdown.Tests.Inline.ExternalPageAnchorAutoTitleTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L113
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/testing/req.md#sub-requirements">Special Requirements &gt; Sub Requirements</a></p>" to contain "<p><a href="testing/req.html#sub-requirements">Special Requirements &gt; Sub Requirements</a></p>".
Elastic.Markdown.Tests.Inline.ExternalPageInlineAnchorCanBeLinkedToo.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/InlineAnchorTests.cs#L205
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/testing/req.md#custom-anchor">Sub Requirements</a></p> <p><a id="same-page-anchor"></a></p>" to contain "<p><a href="testing/req.html#custom-anchor">Sub Requirements</a></p>".
Elastic.Markdown.Tests.Inline.InsertPageTitleTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/InlineLinkTests.cs#L83
Expected Html "<p><a href="/testing/req.md">Special Requirements</a></p>" to contain "<p><a href="/testing/req">Special Requirements</a></p>".
Elastic.Markdown.Tests.Inline.NestedHeadingTest.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L168
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/testing/req.md#heading-inside-dropdown">Heading inside dropdown</a></p>" to contain "<a href="/testing/req#heading-inside-dropdown">Heading inside dropdown</a>".
Elastic.Markdown.Tests.Inline.ExternalPageAnchorTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L78
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/testing/req.md#sub-requirements">Sub Requirements</a></p>" to contain "<p><a href="testing/req.html#sub-requirements">Sub Requirements</a></p>".
Elastic.Markdown.Tests.Inline.InPageDirectiveLinkTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/DirectiveBlockLinkTests.cs#L52
Expected Html "<div class="admonition warning" id="caution_ref"> <p class="admonition-title">Warning</p> <p>This is a 'warning' admonition</p> </div> <p><a href="/index.md#caution_ref">Hello</a></p>" to contain "<p><a href="#caution_ref">Hello</a></p>".
Elastic.Markdown.Tests.Inline.ExternalPageBadAnchorTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L149
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/testing/req.md#sub-requirements2">Sub Requirements</a></p>" to contain "<p><a href="testing/req.html#sub-requirements2">Sub Requirements</a></p>".
Elastic.Markdown.Tests.Inline.ExternalDirectiveLinkTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/DirectiveBlockLinkTests.cs#L69
Expected Html "<div class="admonition warning" id="caution_ref"> <p class="admonition-title">Warning</p> <p>This is a 'warning' admonition</p> </div> <p><a href="/testing/req.md#hint_ref">Sub Requirements</a></p>" to contain "<p><a href="testing/req.html#hint_ref">Sub Requirements</a></p>".
Elastic.Markdown.Tests.Inline.InPageAnchorTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L61
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/index.md#hello-world">Hello</a></p>" to contain "<p><a href="#hello-world">Hello</a></p>".
Elastic.Markdown.Tests.Inline.InPageBadAnchorTests.GeneratesHtml: tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L131
Expected Html "<section id="hello-world"><h2>Hello world<a class="headerlink" href="#hello-world" title="Link to this heading">¶</a> </h2> </section> <p>A paragraph</p> <p><a href="/index.md#hello-world2">Hello</a></p>" to contain "<p><a href="#hello-world2">Hello</a></p>".