test: improve clone() test expectation
[e-mobility-charging-stations-simulator.git] / ui / web / tests / unit / CSTable.spec.ts
index a725df552f831e0b4648fd41d2df2bf368b95a13..a756a6e5a24b682721b0e12bd11d78a60256d0fe 100644 (file)
@@ -6,7 +6,7 @@ import type { ChargingStationData } from '@/types'
 test('renders CS table columns name', () => {
   const chargingStations: ChargingStationData[] = []
   const wrapper = shallowMount(CSTable, {
-    props: { chargingStations, idTag: '0' },
+    props: { chargingStations, idTag: '0' }
   })
   expect(wrapper.text()).to.include('Action')
   expect(wrapper.text()).to.include('Connector')
@@ -14,8 +14,10 @@ test('renders CS table columns name', () => {
   expect(wrapper.text()).to.include('Transaction')
   expect(wrapper.text()).to.include('Name')
   expect(wrapper.text()).to.include('Started')
+  expect(wrapper.text()).to.include('Supervision Url')
   expect(wrapper.text()).to.include('WebSocket State')
   expect(wrapper.text()).to.include('Registration Status')
+  expect(wrapper.text()).to.include('Template')
   expect(wrapper.text()).to.include('Vendor')
   expect(wrapper.text()).to.include('Model')
   expect(wrapper.text()).to.include('Firmware Version')