From 0b2c54c5629be5a93b4f722bc13bdb70a2fe3f68 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Thu, 14 Mar 2024 17:49:52 -0400 Subject: [PATCH] chore(layers.e2e): add test layering 2 DICOMs --- src/components/LayerProperties.vue | 1 + src/components/ModulePanel.vue | 6 +- src/components/PatientStudyVolumeBrowser.vue | 2 + src/io/manifest.ts | 2 +- tests/pageobjects/volview.page.ts | 12 ++++ tests/specs/layers.e2e.ts | 60 ++++++++++++++++++++ tests/specs/remote-manifest.e2e.ts | 20 +------ tests/specs/utils.ts | 35 ++++++++++++ 8 files changed, 117 insertions(+), 21 deletions(-) create mode 100644 tests/specs/layers.e2e.ts diff --git a/src/components/LayerProperties.vue b/src/components/LayerProperties.vue index ad9495aa1..7ecde1f2c 100644 --- a/src/components/LayerProperties.vue +++ b/src/components/LayerProperties.vue @@ -83,6 +83,7 @@ export default defineComponent({ thumb-label :model-value="blendConfig.opacity" @update:model-value="setBlendConfig('opacity', $event)" + data-testid="layer-opacity-slider" /> diff --git a/src/components/ModulePanel.vue b/src/components/ModulePanel.vue index 690bcb6c8..2e3d4ee6f 100644 --- a/src/components/ModulePanel.vue +++ b/src/components/ModulePanel.vue @@ -7,7 +7,11 @@ icons-and-text show-arrows > - +
{{ item.name }} mdi-{{ item.icon }} diff --git a/src/components/PatientStudyVolumeBrowser.vue b/src/components/PatientStudyVolumeBrowser.vue index e4be12c1c..7e21769fb 100644 --- a/src/components/PatientStudyVolumeBrowser.vue +++ b/src/components/PatientStudyVolumeBrowser.vue @@ -291,12 +291,14 @@ export default defineComponent({ size="x-small" class="dataset-menu" @click.stop + data-testid="dataset-menu-button" >