mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 20:58:12 +08:00
Provide ToS button identifiers for smoke test to use (#1462)
This commit is contained in:
@@ -145,10 +145,19 @@ class TermsPrompt extends React.PureComponent {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={Classes.DIALOG_FOOTER} style={{ textAlign: "left" }}>
|
<div className={Classes.DIALOG_FOOTER} style={{ textAlign: "left" }}>
|
||||||
<Button intent="primary" onClick={this.handleOK}>
|
<Button
|
||||||
|
intent="primary"
|
||||||
|
onClick={this.handleOK}
|
||||||
|
data-testid="tos-cookies-accept"
|
||||||
|
>
|
||||||
I'm OK with cookies!
|
I'm OK with cookies!
|
||||||
</Button>{" "}
|
</Button>{" "}
|
||||||
<Button onClick={this.handleNo}>No thanks</Button>
|
<Button
|
||||||
|
onClick={this.handleNo}
|
||||||
|
data-testid="tos-cookies-reject"
|
||||||
|
>
|
||||||
|
No thanks
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
|
|||||||
Reference in New Issue
Block a user