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 31fe864bc36..91ca4725a96 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(".star--star")-> + return Locator::forThe()->css(".star-outline-icon")-> 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(".star--starred")-> + return Locator::forThe()->css(".star-icon")-> descendantOf(self::favoriteActionInFileDetailsInDetailsView())-> describedAs("Favorited state icon in file details in details view in Files app"); } |