summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-09 12:06:14 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-09 12:06:14 +0200
commitcdbe39d0069b107ec0b2d77b262f108f06519199 (patch)
tree9806ace0d5e8a12b56999d901a56f3327125f77f /tests/acceptance
parentf5ecd1c100a9a09120f22ed9aa3d5753531ce360 (diff)
downloadnextcloud-server-cdbe39d0069b107ec0b2d77b262f108f06519199.tar.gz
nextcloud-server-cdbe39d0069b107ec0b2d77b262f108f06519199.zip
Properly check for the sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/acceptance')
-rw-r--r--tests/acceptance/features/apps.feature6
-rw-r--r--tests/acceptance/features/bootstrap/AppsManagementContext.php23
2 files changed, 26 insertions, 3 deletions
diff --git a/tests/acceptance/features/apps.feature b/tests/acceptance/features/apps.feature
index a7dd14d3fab..4881dfe9d8c 100644
--- a/tests/acceptance/features/apps.feature
+++ b/tests/acceptance/features/apps.feature
@@ -53,7 +53,7 @@ Feature: apps
And I am logged in as the admin
And I open the Apps management
When I click on the "QA testing" app
- Then I see that the sidebar is open
+ Then I see that the app details are shown
# TODO: Improve testing with app store as external API
# The following scenarios require the files_antivirus and calendar app
@@ -77,7 +77,7 @@ Feature: apps
And I open the Apps management
And I open the "Tools" section
When I click on the "Antivirus App for files" app
- Then I see that the sidebar is open
+ Then I see that the app details are shown
Scenario: Install an app from the app store
Given I act as Jane
@@ -85,6 +85,6 @@ Feature: apps
And I open the Apps management
And I open the "Office & text" section
And I click on the "Calendar" app
- And I see that the sidebar is open
+ And I see that the app details are shown
Then I download and enable the "Calendar" app
And I see that the "Calendar" app has been enabled
diff --git a/tests/acceptance/features/bootstrap/AppsManagementContext.php b/tests/acceptance/features/bootstrap/AppsManagementContext.php
index 117fb9b2c4b..b9896305182 100644
--- a/tests/acceptance/features/bootstrap/AppsManagementContext.php
+++ b/tests/acceptance/features/bootstrap/AppsManagementContext.php
@@ -106,6 +106,14 @@ class AppsManagementContext implements Context, ActorAwareInterface {
describedAs("Enable button in the app list");
}
+ /**
+ * @return Locator
+ */
+ public static function sidebar() {
+ return Locator::forThe()->id("app-sidebar")->
+ describedAs("Sidebar in apps management");
+ }
+
/**
* @When I enable the :app app
@@ -205,5 +213,20 @@ class AppsManagementContext implements Context, ActorAwareInterface {
PHPUnit\Framework\Assert::assertEquals('Enable all', $this->actor->find(self::bundleButton($bundle))->getValue());
}
+ /**
+ * @Given /^I see that the app details are shown$/
+ */
+ public function iSeeThatTheAppDetailsAreShown() {
+ // The sidebar always exists in the DOM, so it has to be explicitly
+ // waited for it to be visible instead of relying on the implicit wait
+ // made to find the element.
+ if (!WaitFor::elementToBeEventuallyShown(
+ $this->actor,
+ self::sidebar(),
+ $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+ PHPUnit_Framework_Assert::fail("The sidebar was not shown yet after $timeout seconds");
+ }
+ }
+
}
84'>284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# 
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: translations@owncloud.org\n"
"POT-Creation-Date: 2014-07-29 01:54-0400\n"
"PO-Revision-Date: 2014-07-29 05:54+0000\n"
"Last-Translator: I Robot\n"
"Language-Team: German (Austria) (http://www.transifex.com/projects/p/owncloud/language/de_AT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de_AT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: base.php:195 base.php:202
msgid "Cannot write into \"config\" directory!"
msgstr ""

#: base.php:196
msgid ""
"This can usually be fixed by giving the webserver write access to the config"
" directory"
msgstr ""

#: base.php:198
#, php-format
msgid "See %s"
msgstr ""

#: base.php:203 private/util.php:428
#, php-format
msgid ""
"This can usually be fixed by %sgiving the webserver write access to the "
"config directory%s."
msgstr ""

#: base.php:673
msgid "You are accessing the server from an untrusted domain."
msgstr ""

#: base.php:674
msgid ""
"Please contact your administrator. If you are an administrator of this "
"instance, configure the \"trusted_domain\" setting in config/config.php. An "
"example configuration is provided in config/config.sample.php."
msgstr ""

#: private/app.php:366
msgid "Help"
msgstr ""

#: private/app.php:379
msgid "Personal"
msgstr "Persönlich"

#: private/app.php:390
msgid "Settings"
msgstr "Einstellungen"

#: private/app.php:402
msgid "Users"
msgstr ""

#: private/app.php:415
msgid "Admin"
msgstr ""

#: private/app.php:985
#, php-format
msgid "Failed to upgrade \"%s\"."
msgstr ""

#: private/app.php:1142
#, php-format
msgid ""
"App \\\"%s\\\" can't be installed because it is not compatible with this "
"version of ownCloud."
msgstr ""

#: private/app.php:1154
msgid "No app name specified"
msgstr ""

#: private/avatar.php:66
msgid "Unknown filetype"
msgstr ""

#: private/avatar.php:71
msgid "Invalid image"
msgstr ""

#: private/defaults.php:38
msgid "web services under your control"
msgstr ""

#: private/installer.php:77
msgid "App directory already exists"
msgstr ""

#: private/installer.php:90
#, php-format
msgid "Can't create app folder. Please fix permissions. %s"
msgstr ""

#: private/installer.php:235
msgid "No source specified when installing app"
msgstr ""

#: private/installer.php:243
msgid "No href specified when installing app from http"
msgstr ""

#: private/installer.php:248
msgid "No path specified when installing app from local file"
msgstr ""

#: private/installer.php:256
#, php-format
msgid "Archives of type %s are not supported"
msgstr ""

#: private/installer.php:270
msgid "Failed to open archive when installing app"
msgstr ""

#: private/installer.php:308
msgid "App does not provide an info.xml file"
msgstr ""

#: private/installer.php:314
msgid "App can't be installed because of not allowed code in the App"
msgstr ""

#: private/installer.php:320
msgid ""
"App can't be installed because it is not compatible with this version of "
"ownCloud"
msgstr ""

#: private/installer.php:326
msgid ""
"App can't be installed because it contains the <shipped>true</shipped> tag "
"which is not allowed for non shipped apps"
msgstr ""

#: private/installer.php:339
msgid ""
"App can't be installed because the version in info.xml/version is not the "
"same as the version reported from the app store"
msgstr ""

#: private/json.php:29
msgid "Application is not enabled"
msgstr ""

#: private/json.php:40 private/json.php:62 private/json.php:87
msgid "Authentication error"
msgstr ""

#: private/json.php:51
msgid "Token expired. Please reload page."
msgstr ""

#: private/json.php:74
msgid "Unknown user"
msgstr ""

#: private/setup/abstractdatabase.php:26
#, php-format
msgid "%s enter the database username."
msgstr ""

#: private/setup/abstractdatabase.php:29
#, php-format
msgid "%s enter the database name."
msgstr ""

#: private/setup/abstractdatabase.php:32
#, php-format
msgid "%s you may not use dots in the database name"
msgstr ""

#: private/setup/mssql.php:20
#, php-format
msgid "MS SQL username and/or password not valid: %s"
msgstr ""

#: private/setup/mssql.php:21 private/setup/mysql.php:13
#: private/setup/oci.php:114 private/setup/postgresql.php:31
#: private/setup/postgresql.php:84
msgid "You need to enter either an existing account or the administrator."
msgstr ""

#: private/setup/mysql.php:12
msgid "MySQL/MariaDB username and/or password not valid"
msgstr ""

#: private/setup/mysql.php:67 private/setup/oci.php:54
#: private/setup/oci.php:121 private/setup/oci.php:144
#: private/setup/oci.php:151 private/setup/oci.php:162
#: private/setup/oci.php:169 private/setup/oci.php:178
#: private/setup/oci.php:186 private/setup/oci.php:195
#: private/setup/oci.php:201 private/setup/postgresql.php:103
#: private/setup/postgresql.php:112 private/setup/postgresql.php:129
#: private/setup/postgresql.php:139 private/setup/postgresql.php:148
#, php-format
msgid "DB Error: \"%s\""
msgstr ""

#: private/setup/mysql.php:68 private/setup/oci.php:55
#: private/setup/oci.php:122 private/setup/oci.php:145
#: private/setup/oci.php:152 private/setup/oci.php:163
#: private/setup/oci.php:179 private/setup/oci.php:187
#: private/setup/oci.php:196 private/setup/postgresql.php:104
#: private/setup/postgresql.php:113 private/setup/postgresql.php:130
#: private/setup/postgresql.php:140 private/setup/postgresql.php:149
#, php-format
msgid "Offending command was: \"%s\""
msgstr ""

#: private/setup/mysql.php:85
#, php-format
msgid "MySQL/MariaDB user '%s'@'localhost' exists already."
msgstr ""

#: private/setup/mysql.php:86
msgid "Drop this user from MySQL/MariaDB"
msgstr ""

#: private/setup/mysql.php:91
#, php-format
msgid "MySQL/MariaDB user '%s'@'%%' already exists"
msgstr ""

#: private/setup/mysql.php:92
msgid "Drop this user from MySQL/MariaDB."
msgstr ""

#: private/setup/oci.php:34
msgid "Oracle connection could not be established"
msgstr ""

#: private/setup/oci.php:41 private/setup/oci.php:113
msgid "Oracle username and/or password not valid"
msgstr ""

#: private/setup/oci.php:170 private/setup/oci.php:202
#, php-format
msgid "Offending command was: \"%s\", name: %s, password: %s"
msgstr ""

#: private/setup/postgresql.php:30 private/setup/postgresql.php:83
msgid "PostgreSQL username and/or password not valid"
msgstr ""

#: private/setup.php:28
msgid "Set an admin username."
msgstr ""

#: private/setup.php:31
msgid "Set an admin password."
msgstr ""

#: private/setup.php:170
msgid ""
"Your web server is not yet properly setup to allow files synchronization "
"because the WebDAV interface seems to be broken."
msgstr ""

#: private/setup.php:171
#, php-format
msgid "Please double check the <a href='%s'>installation guides</a>."
msgstr ""

#: private/share/mailnotifications.php:91
#: private/share/mailnotifications.php:137
#, php-format
msgid "%s shared »%s« with you"
msgstr ""

#: private/share/share.php:494
#, php-format
msgid "Sharing %s failed, because the file does not exist"
msgstr ""

#: private/share/share.php:501
#, php-format
msgid "You are not allowed to share %s"
msgstr ""

#: private/share/share.php:531
#, php-format
msgid "Sharing %s failed, because the user %s is the item owner"
msgstr ""

#: private/share/share.php:537
#, php-format
msgid "Sharing %s failed, because the user %s does not exist"
msgstr ""

#: private/share/share.php:546
#, php-format
msgid ""
"Sharing %s failed, because the user %s is not a member of any groups that %s"
" is a member of"
msgstr ""

#: private/share/share.php:559 private/share/share.php:587
#, php-format
msgid "Sharing %s failed, because this item is already shared with %s"
msgstr ""

#: private/share/share.php:567
#, php-format
msgid "Sharing %s failed, because the group %s does not exist"
msgstr ""

#: private/share/share.php:574
#, php-format
msgid "Sharing %s failed, because %s is not a member of the group %s"
msgstr ""

#: private/share/share.php:627
msgid ""
"You need to provide a password to create a public link, only protected links"
" are allowed"
msgstr ""

#: private/share/share.php:653
#, php-format
msgid "Sharing %s failed, because sharing with links is not allowed"
msgstr ""

#: private/share/share.php:660
#, php-format
msgid "Share type %s is not valid for %s"
msgstr ""

#: private/share/share.php:860
#, php-format
msgid ""
"Setting permissions for %s failed, because the permissions exceed "
"permissions granted to %s"
msgstr ""

#: private/share/share.php:921
#, php-format
msgid "Setting permissions for %s failed, because the item was not found"
msgstr ""

#: private/share/share.php:959
#, php-format
msgid ""
"Can not set expire date. Shares can not expire later then %s after they "
"where shared"
msgstr ""

#: private/share/share.php:967
msgid "Can not set expire date. Expire date is in the past"
msgstr ""

#: private/share/share.php:1092
#, php-format
msgid "Sharing backend %s must implement the interface OCP\\Share_Backend"
msgstr ""

#: private/share/share.php:1099
#, php-format
msgid "Sharing backend %s not found"
msgstr ""

#: private/share/share.php:1105
#, php-format
msgid "Sharing backend for %s not found"
msgstr ""

#: private/share/share.php:1522
#, php-format
msgid "Sharing %s failed, because the user %s is the original sharer"
msgstr ""

#: private/share/share.php:1531
#, php-format
msgid ""
"Sharing %s failed, because the permissions exceed permissions granted to %s"
msgstr ""

#: private/share/share.php:1547
#, php-format
msgid "Sharing %s failed, because resharing is not allowed"
msgstr ""

#: private/share/share.php:1559
#, php-format
msgid ""
"Sharing %s failed, because the sharing backend for %s could not find its "
"source"
msgstr ""

#: private/share/share.php:1573
#, php-format
msgid ""
"Sharing %s failed, because the file could not be found in the file cache"
msgstr ""

#: private/tags.php:183
#, php-format
msgid "Could not find category \"%s\""
msgstr ""

#: private/template/functions.php:134
msgid "seconds ago"
msgstr ""

#: private/template/functions.php:135
msgid "%n minute ago"
msgid_plural "%n minutes ago"
msgstr[0] ""
msgstr[1] ""

#: private/template/functions.php:136
msgid "%n hour ago"
msgid_plural "%n hours ago"
msgstr[0] ""
msgstr[1] ""

#: private/template/functions.php:137
msgid "today"
msgstr ""

#: private/template/functions.php:138
msgid "yesterday"
msgstr ""

#: private/template/functions.php:140
msgid "%n day go"
msgid_plural "%n days ago"
msgstr[0] ""
msgstr[1] ""

#: private/template/functions.php:142
msgid "last month"
msgstr ""

#: private/template/functions.php:143
msgid "%n month ago"
msgid_plural "%n months ago"
msgstr[0] ""
msgstr[1] ""

#: private/template/functions.php:145
msgid "last year"
msgstr ""

#: private/template/functions.php:146
msgid "years ago"
msgstr ""

#: private/user/manager.php:239
msgid ""
"Only the following characters are allowed in a username: \"a-z\", \"A-Z\", "
"\"0-9\", and \"_.@-\""
msgstr ""

#: private/user/manager.php:244
msgid "A valid username must be provided"
msgstr ""

#: private/user/manager.php:248
msgid "A valid password must be provided"
msgstr ""

#: private/user/manager.php:253
msgid "The username is already being used"
msgstr ""

#: private/util.php:413
msgid "No database drivers (sqlite, mysql, or postgresql) installed."
msgstr ""

#: private/util.php:420
#, php-format
msgid ""
"Permissions can usually be fixed by %sgiving the webserver write access to "
"the root directory%s."
msgstr ""

#: private/util.php:427
msgid "Cannot write into \"config\" directory"
msgstr ""

#: private/util.php:440
msgid "Cannot write into \"apps\" directory"
msgstr ""

#: private/util.php:441
#, php-format
msgid ""
"This can usually be fixed by %sgiving the webserver write access to the apps"
" directory%s or disabling the appstore in the config file."
msgstr ""

#: private/util.php:455
#, php-format
msgid "Cannot create \"data\" directory (%s)"
msgstr ""

#: private/util.php:456
#, php-format
msgid ""
"This can usually be fixed by <a href=\"%s\" target=\"_blank\">giving the "
"webserver write access to the root directory</a>."
msgstr ""

#: private/util.php:472
#, php-format
msgid "Setting locale to %s failed"
msgstr ""

#: private/util.php:475
msgid ""
"Please install one of theses locales on your system and restart your "
"webserver."
msgstr ""

#: private/util.php:479
msgid "Please ask your server administrator to install the module."
msgstr ""

#: private/util.php:483 private/util.php:490 private/util.php:497
#: private/util.php:511 private/util.php:518 private/util.php:525
#: private/util.php:532 private/util.php:539 private/util.php:546
#: private/util.php:561
#, php-format
msgid "PHP module %s not installed."
msgstr ""

#: private/util.php:553
#, php-format
msgid "PHP %s or higher is required."
msgstr ""

#: private/util.php:554
msgid ""
"Please ask your server administrator to update PHP to the latest version. "
"Your PHP version is no longer supported by ownCloud and the PHP community."
msgstr ""

#: private/util.php:571
msgid ""
"PHP Safe Mode is enabled. ownCloud requires that it is disabled to work "
"properly."
msgstr ""

#: private/util.php:572
msgid ""
"PHP Safe Mode is a deprecated and mostly useless setting that should be "
"disabled. Please ask your server administrator to disable it in php.ini or "
"in your webserver config."
msgstr ""

#: private/util.php:579
msgid ""
"Magic Quotes is enabled. ownCloud requires that it is disabled to work "
"properly."
msgstr ""

#: private/util.php:580
msgid ""
"Magic Quotes is a deprecated and mostly useless setting that should be "
"disabled. Please ask your server administrator to disable it in php.ini or "
"in your webserver config."
msgstr ""

#: private/util.php:594
msgid "PHP modules have been installed, but they are still listed as missing?"
msgstr ""

#: private/util.php:595
msgid "Please ask your server administrator to restart the web server."
msgstr ""

#: private/util.php:624
msgid "PostgreSQL >= 9 required"
msgstr ""

#: private/util.php:625
msgid "Please upgrade your database version"
msgstr ""

#: private/util.php:632
msgid "Error occurred while checking PostgreSQL version"
msgstr ""

#: private/util.php:633
msgid ""
"Please make sure you have PostgreSQL >= 9 or check the logs for more "
"information about the error"
msgstr ""

#: private/util.php:695
msgid ""
"Please change the permissions to 0770 so that the directory cannot be listed"
" by other users."
msgstr ""

#: private/util.php:704
#, php-format
msgid "Data directory (%s) is readable by other users"
msgstr ""

#: private/util.php:725
#, php-format
msgid "Data directory (%s) is invalid"
msgstr ""

#: private/util.php:726
msgid ""
"Please check that the data directory contains a file \".ocdata\" in its "
"root."
msgstr ""

#: public/files/locknotacquiredexception.php:39
#, php-format
msgid "Could not obtain lock type %d on \"%s\"."
msgstr ""