Skip to content

Commit c9dfdf9

Browse files
committed
added fix for tests failing
see #3298
1 parent 8b9d6ff commit c9dfdf9

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

showcase/app/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
{{content-for "head"}}
1717

1818
<!-- these styles are pre-compiled in the `components` package -->
19+
<!-- IMPORTANT: if you add a new entry here, you HAVE TO add it also to the `showcase/tests/index.html` file, which is used to run the tests -->
1920
<link id="hds-components-stylesheet" integrity="" rel="stylesheet"
2021
href="{{rootURL}}assets/styles/@hashicorp/design-system-components.css">
2122
<link integrity="" rel="stylesheet"

showcase/tests/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@
1414
{{content-for "head"}}
1515
{{content-for "test-head"}}
1616

17-
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
17+
<!-- these styles are pre-compiled in the `components` package -->
18+
<!-- IMPORTANT: these entries always need to be kept in sync with the `showcase/app/index.html` file -->
19+
<link rel="stylesheet" href="{{rootURL}}assets/styles/@hashicorp/design-system-components.css">
20+
<link rel="stylesheet" href="{{rootURL}}assets/styles/@hashicorp/design-system-power-select-overrides.css">
21+
22+
<!-- these styles are compiled with the Showcase -->
23+
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
1824
<link rel="stylesheet" href="{{rootURL}}assets/showcase.css">
19-
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
25+
26+
<!-- this file is not really used -->
27+
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
2028

2129
{{content-for "head-footer"}}
2230
{{content-for "test-head-footer"}}

0 commit comments

Comments
 (0)