summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-10-05 16:26:00 +0200
committerLouis Chemineau <louis@chmn.me>2021-10-06 10:09:14 +0200
commit32dc976e0d16c44b000676ce656a842885d19362 (patch)
tree8a8b217c1c6222db6e446854fec3f289ad23b701 /tests
parentc5cc4caeeffc494979107728c2211771ade77b4d (diff)
downloadnextcloud-server-32dc976e0d16c44b000676ce656a842885d19362.tar.gz
nextcloud-server-32dc976e0d16c44b000676ce656a842885d19362.zip
Fix app-files acceptance tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppContext.php4
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");
}