aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-04-22 12:32:14 +0200
committerGitHub <noreply@github.com>2022-04-22 12:32:14 +0200
commit9a76f06ecadf05ef1d26bd735df1bea0dfb15d59 (patch)
treeebdd458b0969c07d5ce77b21684a8bdf1db8434d /tests
parente1cb1bdce94fa2a6395b2d3a35556944111e66b1 (diff)
parent850d8ac1cd9e5b28e37668469237d8daa5c5d51d (diff)
downloadnextcloud-server-9a76f06ecadf05ef1d26bd735df1bea0dfb15d59.tar.gz
nextcloud-server-9a76f06ecadf05ef1d26bd735df1bea0dfb15d59.zip
Merge pull request #31751 from nextcloud/theming-providers
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Command/Apps/AppsEnableTest.php6
-rw-r--r--tests/acceptance/features/bootstrap/LoginPageContext.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/Core/Command/Apps/AppsEnableTest.php b/tests/Core/Command/Apps/AppsEnableTest.php
index 73a7d3f449f..0c45362d997 100644
--- a/tests/Core/Command/Apps/AppsEnableTest.php
+++ b/tests/Core/Command/Apps/AppsEnableTest.php
@@ -85,11 +85,11 @@ class AppsEnableTest extends TestCase {
[['comments'], ['admin'], 1, "comments can't be enabled for groups"],
[['updatenotification'], ['admin'], 0, 'updatenotification ([\d\.]*) enabled for groups: admin'],
- [['updatenotification', 'accessibility'], ['admin'], 0, "updatenotification ([\d\.]*) enabled for groups: admin\naccessibility ([\d\.]*) enabled for groups: admin"],
+ [['updatenotification', 'dashboard'], ['admin'], 0, "updatenotification ([\d\.]*) enabled for groups: admin\ndashboard ([\d\.]*) enabled for groups: admin"],
[['updatenotification'], ['admin', 'invalid_group'], 0, 'updatenotification ([\d\.]*) enabled for groups: admin'],
- [['updatenotification', 'accessibility'], ['admin', 'invalid_group'], 0, "updatenotification ([\d\.]*) enabled for groups: admin\naccessibility ([\d\.]*) enabled for groups: admin"],
- [['updatenotification', 'accessibility', 'invalid_app'], ['admin', 'invalid_group'], 1, "updatenotification ([\d\.]*) enabled for groups: admin\naccessibility ([\d\.]*) enabled for groups: admin\nCould not download app invalid_app"],
+ [['updatenotification', 'dashboard'], ['admin', 'invalid_group'], 0, "updatenotification ([\d\.]*) enabled for groups: admin\ndashboard ([\d\.]*) enabled for groups: admin"],
+ [['updatenotification', 'dashboard', 'invalid_app'], ['admin', 'invalid_group'], 1, "updatenotification ([\d\.]*) enabled for groups: admin\ndashboard ([\d\.]*) enabled for groups: admin\nCould not download app invalid_app"],
];
}
}
diff --git a/tests/acceptance/features/bootstrap/LoginPageContext.php b/tests/acceptance/features/bootstrap/LoginPageContext.php
index e22ee22e743..7502b143718 100644
--- a/tests/acceptance/features/bootstrap/LoginPageContext.php
+++ b/tests/acceptance/features/bootstrap/LoginPageContext.php
@@ -58,7 +58,7 @@ class LoginPageContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function loginButton() {
- return Locator::forThe()->id("submit-form")->
+ return Locator::forThe()->css(".submit-wrapper .submit-wrapper__input")->
describedAs("Login button in Login page");
}