Skip to content

Commit

Permalink
[Tests-Only] fix regex for info string in the sharing dialog in ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach authored and phil-davis committed Jun 9, 2020
1 parent b817b59 commit 07c047b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class SharingDialog extends OwncloudPage {
private $suffixToIdentifyUsers = " User";
private $suffixToIdentifyRemoteUsers = " Federated";
private $sharerInformationXpath = ".//*[@class='reshare']";
private $sharedWithAndByRegEx = "^(?:[A-Z]\s)?Shared with you(?: and the group (.*))? by (.*)$";
private $sharedWithAndByRegEx = "Shared with you(?: and the group (.*))? by (.*)$";
private $permissionsFieldByUserNameWithExtraInfo = "//*[@id='shareWithList']//span[contains(text(), '%s')]/parent::li[@data-share-with='%s']";
private $permissionsFieldByUserName = "//*[@id='shareWithList']//span[contains(text(), '%s')]/parent::li";
private $permissionsFieldByGroupName = "//*[@id='shareWithList']//span[contains(text(), '%s (group)')]/parent::li";
Expand Down

0 comments on commit 07c047b

Please sign in to comment.