feat(ui): enhance charging stations list structure
[e-mobility-charging-stations-simulator.git] / ui / web / tests / unit / CSTable.spec.ts
index a756a6e5a24b682721b0e12bd11d78a60256d0fe..0a364a6cf62fc3d184fd0dac8b35c6efbcb29b83 100644 (file)
@@ -8,10 +8,6 @@ test('renders CS table columns name', () => {
   const wrapper = shallowMount(CSTable, {
     props: { chargingStations, idTag: '0' }
   })
-  expect(wrapper.text()).to.include('Action')
-  expect(wrapper.text()).to.include('Connector')
-  expect(wrapper.text()).to.include('Status')
-  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')
@@ -20,5 +16,7 @@ test('renders CS table columns name', () => {
   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')
+  expect(wrapper.text()).to.include('Firmware')
+  expect(wrapper.text()).to.include('Actions')
+  expect(wrapper.text()).to.include('Connector(s)')
 })