test: Stack Scroll, Right-click to zoom, Middle-click to Pan (#1073)
* E2E tests: Stack Scroll, Right-click to zoom, Middle-click to Pan * About modal tests and added some cypress selectors * Checking app version number * Removed accidental import * Review fixes
This commit is contained in:
1 parent
bef50f9298
commit
f5560c11b0
5 files changed
+112
-13
No files matched your search
@@ -92,7 +92,7 @@ class AboutModal extends Component {
|
||||
<Modal.Header closeButton>
|
||||
<Modal.Title>{t('OHIF Viewer - About')}</Modal.Title>
|
||||
</Modal.Header>
|
||||
<Modal.Body>
|
||||
<Modal.Body data-cy="about-modal">
|
||||
<div className="btn-group">
|
||||
<a
|
||||
className="btn btn-default"
|
||||
|
||||
@@ -46,6 +46,7 @@ class DropdownMenu extends Component {
|
||||
<button
|
||||
key={key}
|
||||
className="dd-item"
|
||||
data-cy="about-item-menu"
|
||||
onClick={() => this.handleOnClick(onClick)}
|
||||
>
|
||||
{icon && <Icon {...icon} className="dd-item-icon" />}
|
||||
@@ -119,7 +120,11 @@ class DropdownMenu extends Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="dd-menu" ref={node => (this.node = node)}>
|
||||
<div
|
||||
className="dd-menu"
|
||||
data-cy="options-menu"
|
||||
ref={node => (this.node = node)}
|
||||
>
|
||||
<div className="dd-menu-toggle" onClick={this.toggleList}>
|
||||
{this.renderTitleElement()}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user