import { $ } from 'protractor';

export const cdModalSelectType = '#cd-rom-modal-select-type';
export const cdModalSelectPVC = '#cdrom-pvc-input';
export const cdModalSelectContainer = '#cdrom-container-input';
export const cdModalSelectURL = '#cdrom-url-input';
export const cdEjectBtn = '.vm-cd-eject-btn';
export const diskSummaryTitle = '#kubevirt-disk-summary-disk-title';

export const cdTypeSelect = (number) => `#cd-rom-modal-select-type-cd-drive-${number}`;
export const cdStorageClassSelect = (number) => `#cd-url-storageclass-input-cd-drive-${number}`;
export const cdPVCSelect = (number) => `#cdrom-pvc-input-cd-drive-${number}`;

export const modalTitle = $('.modal-title');
export const saveButton = $('#cdrom-submit');
export const cdValue = $('#cdrom-value');
export const cdAddBtn = $('#vm-cd-add-btn');
export const cdDeleteBtn = $('.vm-cd-delete-btn');
export const diskSummary = $('.kubevirt-disk-summary');
