Skip to content

Commit

Permalink
#2 Update the selector of an element in the FileViewer PageObject, du…
Browse files Browse the repository at this point in the history
…e to changes in the Seafile UI

-> Fix for openFooterLinks.feature
  • Loading branch information
helkv committed Nov 11, 2020
1 parent 6dc8727 commit 86d10de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ui/pages/FileViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@Scope(SCOPE_CUCUMBER_GLUE)
public class FileViewer extends BasePage {

@FindBy(xpath = "//*[@id='shared-file-view-hd']//h2")
@FindBy(xpath = "//*[@class='shared-file-view-head']//h2")
private WebElement fileTitle;

@Autowired
Expand Down

0 comments on commit 86d10de

Please sign in to comment.