webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-4.8.4 vs webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-4.9.0.rc1
- old
+ new
@@ -126,11 +126,11 @@
return name;
};
return (
<ForemanModal id={MANAGE_MANIFEST_MODAL_ID} title={__('Manage Manifest')}>
- <Tabs id="manifest-history-tabs">
+ <Tabs id="manifest-history-tabs" ouiaId="manifest-history-tabs">
{showManifestTab &&
<Tab eventKey={1} title={__('Manifest')}>
{showSubscriptionManifest &&
<React.Fragment>
<Grid>
@@ -192,14 +192,14 @@
}
</div>
<ForemanModal title={__('Confirm delete manifest')} id={DELETE_MANIFEST_MODAL_ID}>
<DeleteManifestModalText />
<ForemanModal.Footer>
- <Button bsStyle="default" onClick={this.hideDeleteManifestModal}>
+ <Button ouiaId="cancel-button" bsStyle="default" onClick={this.hideDeleteManifestModal}>
{__('Cancel')}
</Button>
- <Button bsStyle="danger" onClick={this.deleteManifest}>
+ <Button ouiaId="delete-button" bsStyle="danger" onClick={this.deleteManifest}>
{__('Delete')}
</Button>
</ForemanModal.Footer>
</ForemanModal>
</Col>
@@ -211,10 +211,11 @@
</Tab>
}
<Tab eventKey={2} title={__('Manifest History')}>
<LoadingState loading={manifestHistory.loading} loadingText={__('Loading')}>
<Table
+ ouiaId="manifest-history-table"
rows={manifestHistory.results}
columns={columns}
emptyState={emptyStateData()}
/>
</LoadingState>
@@ -232,10 +233,10 @@
</Grid>
</Tab>
}
</Tabs>
<ForemanModal.Footer>
- <Button bsStyle="primary" onClick={this.hideModal}>
+ <Button ouiaId="close-button" bsStyle="primary" onClick={this.hideModal}>
{__('Close')}
</Button>
</ForemanModal.Footer>
</ForemanModal>
);