diff options
Diffstat (limited to 'tests/acceptance/features/bootstrap/FilesAppContext.php')
-rw-r--r-- | tests/acceptance/features/bootstrap/FilesAppContext.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppContext.php b/tests/acceptance/features/bootstrap/FilesAppContext.php index 7c29aadb8d4..31fe864bc36 100644 --- a/tests/acceptance/features/bootstrap/FilesAppContext.php +++ b/tests/acceptance/features/bootstrap/FilesAppContext.php @@ -116,7 +116,7 @@ class FilesAppContext implements Context, ActorAwareInterface { * @return Locator */ public static function notFavoritedStateIconInFileDetailsInDetailsView() { - return Locator::forThe()->css(".icon-star")-> + return Locator::forThe()->css(".star--star")-> descendantOf(self::favoriteActionInFileDetailsInDetailsView())-> describedAs("Not favorited state icon in file details in details view in Files app"); } @@ -125,7 +125,7 @@ class FilesAppContext implements Context, ActorAwareInterface { * @return Locator */ public static function favoritedStateIconInFileDetailsInDetailsView() { - return Locator::forThe()->css(".icon-starred")-> + return Locator::forThe()->css(".star--starred")-> descendantOf(self::favoriteActionInFileDetailsInDetailsView())-> describedAs("Favorited state icon in file details in details view in Files app"); } |