projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18584: Adds Cypress test for collection copy action.
[arvados-workbench2.git]
/
src
/
views-components
/
snackbar
/
snackbar.tsx
diff --git
a/src/views-components/snackbar/snackbar.tsx
b/src/views-components/snackbar/snackbar.tsx
index 2a63a31a918a1d5b9de5e80c201d8c707bdc9705..a33b6968255abd841b9eb59c7cc624453ea9344e 100644
(file)
--- a/
src/views-components/snackbar/snackbar.tsx
+++ b/
src/views-components/snackbar/snackbar.tsx
@@
-116,7
+116,7
@@
export const Snackbar = withStyles(styles)(connect(mapStateToProps, mapDispatchT
onExited={props.onExited}
anchorOrigin={props.anchorOrigin}
autoHideDuration={props.autoHideDuration}>
onExited={props.onExited}
anchorOrigin={props.anchorOrigin}
autoHideDuration={props.autoHideDuration}>
- <SnackbarContent
+ <
div data-cy="snackbar"><
SnackbarContent
className={classNames(cssClass)}
aria-describedby="client-snackbar"
message={
className={classNames(cssClass)}
aria-describedby="client-snackbar"
message={
@@
-126,7
+126,7
@@
export const Snackbar = withStyles(styles)(connect(mapStateToProps, mapDispatchT
</span>
}
action={actions(props)}
</span>
}
action={actions(props)}
- />
+ />
</div>
</MaterialSnackbar>
);
}
</MaterialSnackbar>
);
}
@@
-151,7
+151,7
@@
const actions = (props: SnackbarProps) => {
color="inherit"
className={classes.linkButton}
onClick={() => onClick(link)}>
color="inherit"
className={classes.linkButton}
onClick={() => onClick(link)}>
- Go To
+ <span data-cy='snackbar-goto-action'>Go To</span>
</Button>
);
}
</Button>
);
}