diff --git a/modules/ui/src/app/components/device-item/device-item.component.html b/modules/ui/src/app/components/device-item/device-item.component.html index b3c3e5591..f1586f9a0 100644 --- a/modules/ui/src/app/components/device-item/device-item.component.html +++ b/modules/ui/src/app/components/device-item/device-item.component.html @@ -14,36 +14,42 @@ limitations under the License. --> + +
+ +
+ + +

+ {{ device.test_pack }} + matTooltip="This device will be tested for Qualification."> + matTooltip="This device will be tested for the Pilot program."> {{ device.manufacturer }} - -

+

+

{{ device.model }} -

-
+

+

{{ device.mac_addr }} -

- +

+
{ expect(clickSpy).toHaveBeenCalledWith(component.device); }); - - it('should have tabindex', () => { - component.tabIndex = -2; - fixture.detectChanges(); - const item = compiled.querySelector('.device-item') as HTMLElement; - - expect(item.tabIndex).toBe(-2); - }); }); describe('with device view as WithActions', () => { diff --git a/modules/ui/src/app/pages/testrun/components/testrun-initiate-form/testrun-initiate-form.component.spec.ts b/modules/ui/src/app/pages/testrun/components/testrun-initiate-form/testrun-initiate-form.component.spec.ts index 6fe08782b..f6f5adf7c 100644 --- a/modules/ui/src/app/pages/testrun/components/testrun-initiate-form/testrun-initiate-form.component.spec.ts +++ b/modules/ui/src/app/pages/testrun/components/testrun-initiate-form/testrun-initiate-form.component.spec.ts @@ -304,12 +304,6 @@ describe('ProgressInitiateFormComponent', () => { expect(deviceItem).toBeTruthy(); }); - it('should have tabindex -1 for device item', () => { - const deviceItem = compiled.querySelector('app-device-item button'); - - expect((deviceItem as HTMLElement).tabIndex).toBe(-1); - }); - it('should display firmware if device selected', () => { const firmware = compiled.querySelector('input');