Skip to content

Commit 0ce28d3

Browse files
authored
Merge pull request #221 from Geode-solutions/test/integration
Test/integration
2 parents f2ea966 + 043fe3a commit 0ce28d3

File tree

71 files changed

+2891
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2891
-467
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ on:
77
- next
88

99
jobs:
10+
test-integration:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Node setup
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
- name: Python setup
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: 3.12
22+
- name: Install python dependencies
23+
run: |
24+
cd ./tests/integration/microservices/viewer
25+
python3 -m venv venv
26+
source venv/bin/activate
27+
pip install --extra-index-url https://wheels.vtk.org -r requirements.txt
28+
- name: Install and run tests
29+
run: |
30+
npm i
31+
32+
npm run test:integration
1033
test:
1134
uses: Geode-solutions/actions/.github/workflows/js-test.yml@master
1235
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ logs
2121
.env
2222
.env.*
2323
!.env.example
24+
venv
2425

2526
# Other
2627
.pytest_cache

components/FeedBack/ErrorBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</template>
4444

4545
<script setup>
46-
const feedback_store = use_feedback_store()
46+
const feedback_store = useFeedbackStore()
4747
4848
function reload() {
4949
window.location.reload()

components/FeedBack/Snackers.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
</template>
6262

6363
<script setup>
64-
const feedback_store = use_feedback_store()
64+
const feedback_store = useFeedbackStore()
6565
const show = true
6666
6767
function calc_margin(index) {

components/Launcher.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<script setup>
2222
import Status from "@ogw_f/utils/status.js"
2323
24-
const infra_store = use_infra_store()
24+
const infra_store = useInfraStore()
2525
const site_key = useRuntimeConfig().public.RECAPTCHA_SITE_KEY
2626
2727
watch(

components/PackagesVersions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
schema: { type: Object, required: true },
2626
})
2727
28-
const geode_store = use_geode_store()
28+
const geode_store = useGeodeStore()
2929
const packages_versions = ref([])
3030
3131
async function get_packages_versions() {

components/Recaptcha.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<script setup>
1515
import { VueRecaptcha } from "vue-recaptcha"
16-
const infra_store = use_infra_store()
16+
const infra_store = useInfraStore()
1717
1818
const props = defineProps({
1919
site_key: { type: String, required: true },

components/RemoteRenderingView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
viewId: { type: String, default: "-1" },
3131
})
3232
33-
const viewer_store = use_viewer_store()
33+
const viewer_store = useViewerStore()
3434
const viewer = useTemplateRef("viewer")
3535
const { width, height } = useElementSize(viewer)
3636

components/Viewer/BreadCrumb.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</template>
3838

3939
<script setup>
40-
const treeviewStore = use_treeview_store()
40+
const treeviewStore = useTreeviewStore()
4141
4242
const selectedTree = computed(() => treeviewStore.selectedTree)
4343

components/Viewer/Tree/ObjectTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</template>
4343

4444
<script setup>
45-
const treeviewStore = use_treeview_store()
45+
const treeviewStore = useTreeviewStore()
4646
const menuStore = useMenuStore()
4747
const cardContainer = useTemplateRef("cardContainer")
4848
const containerWidth = ref(window.innerWidth)

0 commit comments

Comments
 (0)