|
|
@@ -53,7 +53,7 @@ const Fab = (props) => {
|
|
|
function renderPageCreateButton() {
|
|
|
return (
|
|
|
<>
|
|
|
- <div className={`rounded-circle position-absolute ${animateClasses}`} style={{ bottom: '2.3rem', right: '4rem' }}>
|
|
|
+ <div data-testid="grw-fab-create-page" className={`rounded-circle position-absolute ${animateClasses}`} style={{ bottom: '2.3rem', right: '4rem' }}>
|
|
|
<button
|
|
|
type="button"
|
|
|
className={`btn btn-lg btn-create-page btn-primary rounded-circle p-0 waves-effect waves-light ${buttonClasses}`}
|
|
|
@@ -69,7 +69,7 @@ const Fab = (props) => {
|
|
|
return (
|
|
|
<div className="grw-fab d-none d-md-block d-edit-none">
|
|
|
{currentUser != null && renderPageCreateButton()}
|
|
|
- <div className={`rounded-circle position-absolute ${animateClasses}`} style={{ bottom: 0, right: 0 }}>
|
|
|
+ <div data-testid="grw-fab-return-to-top" className={`rounded-circle position-absolute ${animateClasses}`} style={{ bottom: 0, right: 0 }}>
|
|
|
<button
|
|
|
type="button"
|
|
|
className={`btn btn-light btn-scroll-to-top rounded-circle p-0 ${buttonClasses}`}
|