mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Updated portal frame ids
refs https://github.com/TryGhost/Team/issues/2371 - updates portal trigger and popup frame data test ids
This commit is contained in:
parent
7fea221137
commit
86c3a890a7
2 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@ export default class PopupModal extends React.Component {
|
|||
|
||||
return (
|
||||
<div style={Styles.modalContainer}>
|
||||
<Frame style={frameStyle} title="portal-popup" head={this.renderFrameStyles()} dataTestId='portal-popup'>
|
||||
<Frame style={frameStyle} title="portal-popup" head={this.renderFrameStyles()} dataTestId='portal-popup-frame'>
|
||||
<div className={className} onClick = {e => this.handlePopupClose(e)}></div>
|
||||
<PopupContent />
|
||||
</Frame>
|
||||
|
|
|
@ -260,7 +260,7 @@ export default class TriggerButton extends React.Component {
|
|||
}
|
||||
|
||||
return (
|
||||
<Frame className='gh-portal-triggerbtn-iframe' style={frameStyle} title="portal-trigger" head={this.renderFrameStyles()}>
|
||||
<Frame dataTestId='portal-trigger-frame' className='gh-portal-triggerbtn-iframe' style={frameStyle} title="portal-trigger" head={this.renderFrameStyles()}>
|
||||
<TriggerButtonContent isPopupOpen={showPopup} updateWidth={width => this.onWidthChange(width)} />
|
||||
</Frame>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue