diff --git a/build.xml b/build.xml
index 508c9624c30..9270b7d3da7 100644
--- a/build.xml
+++ b/build.xml
@@ -744,6 +744,7 @@
+
@@ -754,6 +755,16 @@ return [
'extends' => 'sandal',
];
+
+
+
+
+<div class="js-status-test hidden"></div>
+<script nonce="foo">
+ document.querySelector('.js-status-test').classList.remove('hidden');
+</script>
+
+
<?php include $this->parentTemplate('content/content.phtml');?>
<div class="content-footer">Content page footer</div>
diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/HoldingsTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/HoldingsTest.php
index c4df1e9fb41..546f0d5bf31 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/HoldingsTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/HoldingsTest.php
@@ -200,9 +200,12 @@ public function testItemStatusFull(
string $expectedType,
string $multipleLocations
): void {
+ $config = $this->getConfigIniOverrides(true, $multipleLocations);
+ // Switch to the minktest theme:
+ $config['Site']['theme'] = 'minktest';
$this->changeConfigs(
[
- 'config' => $this->getConfigIniOverrides(true, $multipleLocations),
+ 'config' => $config,
'Demo' => $this->getDemoIniOverrides($availability, $status, true),
]
);
@@ -222,6 +225,8 @@ public function testItemStatusFull(
// No extra items to care for:
$this->assertEquals('Main Library', $this->findCssAndGetText($page, '.result-body .fullLocation'));
}
+ $this->findCss($page, '.js-status-test');
+ $this->unFindCss($page, '.js-status-test.hidden');
}
/**