Skip to content

Commit cb72b40

Browse files
committed
Fix tests
1 parent a94cc19 commit cb72b40

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

tests/authoring/Framework/MarkdownDocumentAssertions.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module MarkdownDocumentAssertions =
3131
let actual = actual.Value
3232
let result = actual.MarkdownResults |> Seq.find (fun r -> r.File.RelativePath = "index.md")
3333
let matter = result.File.YamlFrontMatter
34+
matter.AppliesTo.Diagnostics <- expectedAvailability.Diagnostics
3435
match matter with
3536
| NonNull m ->
3637
let apply = m.AppliesTo

tests/authoring/Inline/AppliesToRole.fs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,19 +141,22 @@ This is an inline {applies_to}`stack: preview 9.0, ga 9.1` element.
141141
markdown |> convertsToHtml """
142142
<p>This is an inline
143143
<span class="applies applies-inline">
144-
<span class="applicable-info" data-tippy-content="Elastic&nbsp;Stack GA 9.1.0:
145-
We plan to add this functionality in a future Elastic&nbsp;Stack update. Subject to change.
144+
<span class="applicable-info" data-tippy-content="<div><strong>Elastic&nbsp;Stack GA 9.1.0:</strong>We plan to add this functionality in a future Elastic&nbsp;Stack update. Subject to change.
146145
147-
If this functionality is unavailable or behaves differently when deployed on ECH, ECE, ECK, or a self-managed installation, it will be indicated on the page.
146+
If this functionality is unavailable or behaves differently when deployed on ECH, ECE, ECK, or a self-managed installation, it will be indicated on the page.</div>
148147
149-
Elastic&nbsp;Stack Preview 9.0.0:
150-
We plan to add this functionality in a future Elastic&nbsp;Stack update. Subject to change.
148+
<div><strong>Elastic&nbsp;Stack Preview 9.0.0:</strong>We plan to add this functionality in a future Elastic&nbsp;Stack update. Subject to change.
151149
152-
This functionality may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.">
150+
This functionality may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.</div>">
153151
<span class="applicable-name">Stack</span>
154152
<span class="applicable-separator"></span>
155153
<span class="applicable-meta applicable-meta-ga">
156154
GA planned
155+
<span class="applicable-ellipsis">
156+
<span class="applicable-ellipsis__dot"></span>
157+
<span class="applicable-ellipsis__dot"></span>
158+
<span class="applicable-ellipsis__dot"></span>
159+
</span>
157160
</span>
158161
</span>
159162
</span>

0 commit comments

Comments
 (0)