Skip to content
Snippets Groups Projects
Commit 8d5e44d6 authored by Brian Peiris's avatar Brian Peiris
Browse files

account for different file name in smoke test

parent 29e98c71
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,8 @@ class ProfileEntryPanel extends Component {
ref={inp => this.nameInput = inp}/>
<iframe
className="profile-entry__avatar-selector"
src={`avatar-selector.html#avatar_id=${this.state.avatar_id}`}
{/* HACK: Have to account for the smoke test server like this. Feels wrong though. */}
src={`${/smoke/i.test(location.hostname) ? 'smoke-' : ''}avatar-selector.html#avatar_id=${this.state.avatar_id}`}
ref={ifr => this.avatarSelector = ifr}></iframe>
<input className="profile-entry__form-submit" type="submit" value={formatMessage({ id: "profile.save" }) }/>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment