Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix functional test - user_avatar id
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Dec 11, 2013
1 parent 9f64744 commit c681419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -62,7 +62,7 @@ public class BasePage extends CorePage {
@FindBy(id = "languages_link")
private WebElement languagesLink;

@FindBy(id = "user_avatar")
@FindBy(id = "user--avatar")
private WebElement userAvatar;

private static final By BY_SIGN_IN = By.id("signin_link");
Expand Down
2 changes: 1 addition & 1 deletion zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
Expand Up @@ -122,7 +122,7 @@
<s:fragment
rendered="#{identity.loggedIn and personHome.instance.account.enabled}">
<nav class="header__user-nav js-dropdown">
<a href="#nav-user" class="header__user-nav__toggle js-dropdown__toggle"
<a href="#nav-user" class="header__user-nav__toggle js-dropdown__toggle" id="user--avatar"
title="#{personHome.instance.account.username}">
<div class="badge__container">
<div class="bx--round header__avatar">
Expand Down

0 comments on commit c681419

Please sign in to comment.