bfg-common 1.2.76 → 1.2.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="tabs-overflow bottom-right">
3
3
  <button
4
- :id="collapsedBtnId"
4
+ :id="props.testId || collapsedBtnId"
5
5
  :class="[
6
6
  'btn btn-link nav-link dropdown-toggle',
7
7
  { active: collapsedBtnActive },
@@ -59,6 +59,7 @@ const props = defineProps<{
59
59
  value?: number | string
60
60
  popupClass?: string
61
61
  closeAfterClick?: boolean
62
+ testId?: string
62
63
  }>()
63
64
  const emits = defineEmits<{
64
65
  (event: 'change', value: number): void
@@ -86,6 +86,7 @@
86
86
  popup-class="diagram-actions__popup"
87
87
  :close-after-click="true"
88
88
  :items="adapterPopupFields"
89
+ :test-id="`adapter-${props.adapter.id}-toggle`"
89
90
  @change="(value) => onShowModal(value, adapterProperties)"
90
91
  />
91
92
  </div>
@@ -44,6 +44,7 @@
44
44
  popup-class="diagram-actions__popup"
45
45
  :close-after-click="true"
46
46
  :items="networkPopupFields"
47
+ :test-id="`${testId}-toggle`"
47
48
  @change="(value: string) => onShowModal(value, dataForSelectedNetwork)"
48
49
  />
49
50
  </div>
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <g>
3
- {{ isVmKernel }} {{ props.network.networkType }}
4
3
  <common-diagram-main-highlights
5
4
  data-title="port-vm"
6
5
  type="main-blue"
@@ -89,6 +88,7 @@
89
88
  popup-class="diagram-actions__popup"
90
89
  :close-after-click="true"
91
90
  :items="navigationItems"
91
+ :test-id="`${testId}-toggle`"
92
92
  @change="onShowModalWithTypeCheck"
93
93
  />
94
94
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.76",
4
+ "version": "1.2.78",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",