Skip to content

Commit

Permalink
Update acceptance tests to match updated structure
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke authored and skjnldsv committed Jul 21, 2018
1 parent 58debbe commit 1034dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/acceptance/features/bootstrap/FilesAppContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static function shareLinkCheckbox() {
// forThe()->checkbox("Share link") can not be used here; that would
// return the checkbox itself, but the element that the user interacts
// with is the label.
return Locator::forThe()->xpath("//label[normalize-space() = 'Share link']")->
return Locator::forThe()->xpath("//*[@id='shareLink']//label[normalize-space() = 'Enable']")->
descendantOf(self::detailsView())->
describedAs("Share link checkbox in the details view in Files app");
}
Expand Down

0 comments on commit 1034dc0

Please sign in to comment.