chore: Added data-test attributes for testing (#11254)

* Added data-test attributes for testing

* fixed incorrect naming change

* review changes
This commit is contained in:
adam-stasiak-polidea
2020-10-15 01:12:01 +02:00
committed by GitHub
parent 0262daa228
commit fc03549299
51 changed files with 229 additions and 72 deletions

View File

@@ -83,11 +83,12 @@ export default class EmbedCodeButton extends React.Component {
renderPopover() {
const html = this.generateEmbedHTML();
return (
<Popover id="embed-code-popover">
<Popover id="embed-code-popover" data-test="embed-code-popover">
<div>
<div className="row">
<div className="col-sm-10">
<textarea
data-test="embed-code-textarea"
name="embedCode"
value={html}
rows="4"