Skip to content

Commit 7c7c01e

Browse files
authored
Fix running authoring tests in CI (#1965)
1 parent bec75ee commit 7c7c01e

26 files changed

+29
-32
lines changed

build/Targets.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ let private runTests (testSuite: TestSuite) _ =
134134
let testFilter =
135135
match testSuite with
136136
| All -> []
137-
| Unit -> ["--filter"; "FullyQualifiedName~.Tests"]
137+
| Unit -> ["--filter"; "FullyQualifiedName~.Tests|FullyQualifiedName~AuthoringTests"]
138138
| Integration -> ["--filter"; "FullyQualifiedName~.IntegrationTests"]
139139

140140
exec {

tests/authoring/Applicability/ApplicableToComponent.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
module ``product availability``.``applicable to component``
5+
module ``AuthoringTests``.``product availability``.``applicable to component``
66

77
open Elastic.Documentation.AppliesTo
88
open Elastic.Markdown.Myst.Directives.AppliesTo

tests/authoring/Applicability/AppliesToDirective.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
module ``product availability``.``yaml directive``
5+
module ``AuthoringTests``.``product availability``.``yaml directive``
66

77
open Elastic.Documentation.AppliesTo
88
open Elastic.Markdown.Myst.Directives.AppliesTo

tests/authoring/Applicability/AppliesToFrontMatter.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
module ``product availability``.``yaml frontmatter``
5+
module ``AuthoringTests``.``product availability``.``yaml frontmatter``
66

77
open Elastic.Documentation.AppliesTo
88
open JetBrains.Annotations

tests/authoring/Blocks/Admonitions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed to Elasticsearch B.V under one or more agreements.
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
4-
module ``block elements``.``admonition elements``
4+
module ``AuthoringTests``.``block elements``.``admonition elements``
55

66
open Xunit
77
open authoring

tests/authoring/Blocks/CodeBlocks/CodeBlocks.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
module ``block elements``.``code blocks``
5+
module ``AuthoringTests``.``block elements``.``code blocks``
66

77
open Elastic.Markdown.Myst.CodeBlocks
88
open Swensen.Unquote

tests/authoring/Blocks/ImageBlocks.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed to Elasticsearch B.V under one or more agreements.
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
4-
module ``block elements``.``image blocks``
4+
module ``AuthoringTests``.``block elements``.``image blocks``
55

66
open Xunit
77
open authoring

tests/authoring/Blocks/Lists.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed to Elasticsearch B.V under one or more agreements.
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
4-
module ``block elements``.``list elements``
4+
module ``AuthoringTests``.``block elements``.``list elements``
55

66
open Xunit
77
open authoring

tests/authoring/Container/DefinitionLists.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
module ``container elements``.``vertical definition lists``
5+
module ``AuthoringTests``.``container elements``.``vertical definition lists``
66

77
open Xunit
88
open authoring

tests/authoring/Directives/IncludeBlocks.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
module ``directive elements``.``include directive``
5+
module ``AuthoringTests``.``directive elements``.``include directive``
66

77
open Swensen.Unquote
88
open Xunit

0 commit comments

Comments
 (0)