Adding IDs for Operator tests (#1599)
This commit is contained in:
committed by
GitHub
parent
78e4e3fd08
commit
28dcd19dd9
@@ -174,6 +174,7 @@ const CredentialsPrompt = ({
|
||||
</Grid>
|
||||
<Grid item xs={12} className={classes.buttonContainer}>
|
||||
<Button
|
||||
id={"done-button"}
|
||||
variant="outlined"
|
||||
className={classes.buttonSpacer}
|
||||
onClick={() => {
|
||||
@@ -186,6 +187,7 @@ const CredentialsPrompt = ({
|
||||
|
||||
{!idp && (
|
||||
<Button
|
||||
id={"download-button"}
|
||||
onClick={() => {
|
||||
let consoleExtras = {};
|
||||
|
||||
|
||||
@@ -165,6 +165,7 @@ const GenericWizard = ({
|
||||
{wizardSteps.map((step, index) => {
|
||||
return (
|
||||
<ListItem
|
||||
id={"wizard-step-" + step.label}
|
||||
button
|
||||
disableRipple
|
||||
onClick={() => pageChange(index)}
|
||||
|
||||
@@ -105,6 +105,7 @@ const WizardPage = ({
|
||||
{page.buttons.map((btn) => {
|
||||
return (
|
||||
<Button
|
||||
id={"wizard-button-" + btn.label}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
size="small"
|
||||
|
||||
@@ -157,6 +157,7 @@ const ConsoleMenuList = ({
|
||||
</ListItemIcon>
|
||||
<ListItemText
|
||||
primary="Logout"
|
||||
id={"logout"}
|
||||
sx={{ ...menuItemTextStyles }}
|
||||
className={stateClsName}
|
||||
/>
|
||||
|
||||
@@ -208,6 +208,7 @@ const ListTenants = ({ classes, setErrorSnackMessage }: ITenantsList) => {
|
||||
/>
|
||||
|
||||
<RBIconButton
|
||||
id={"refresh-tenant-list"}
|
||||
tooltip={"Refresh Tenant List"}
|
||||
text={""}
|
||||
onClick={() => {
|
||||
|
||||
@@ -177,6 +177,7 @@ const TenantListItem = ({ tenant, classes }: ITenantListItem) => {
|
||||
</Grid>
|
||||
<Grid item xs={4} textAlign={"end"}>
|
||||
<RBIconButton
|
||||
id={"manage-tenant-" + tenant.name}
|
||||
tooltip={"Manage Tenant"}
|
||||
text={"Manage"}
|
||||
disabled={!tenantIsOnline(tenant)}
|
||||
@@ -190,6 +191,7 @@ const TenantListItem = ({ tenant, classes }: ITenantListItem) => {
|
||||
variant={"outlined"}
|
||||
/>
|
||||
<RBIconButton
|
||||
id={"view-tenant-" + tenant.name}
|
||||
tooltip={"View Tenant"}
|
||||
text={"View"}
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user