Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-15Increase timeout for apps managementVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14Add accessibility entry in user menuVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-06More cleaning up of the login componentCarl Schwan
- Move css in scopped vue components - Port to NcNoteCard all the warning messages Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-02Merge pull request #33790 from nextcloud/Valdnet-patch-2Simon L
l10n: Spelling unification
2022-09-02fix testsszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-01Maximize browser window before running the testsDaniel Calviño Sánchez
By the default the browser window is not maximized, but opened with a size of 1050x978px. In the Files app, when the navigation bar and the side bar are both open, with the previous design that width caused the file name to be very very narrow, but still clickable. However, with the updated design the file name is too narrow and no longer clickable, which breaks several acceptance tests that descend into subfolders. To solve that now the browser window is maximized before running the tests, which makes the window wide enough (1360px) to show the file name and make it clickable. This commit also removes a step to close the sidebar that was recently added to address the problem mentioned above in a previous pull request. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-09-01Wait for the new user form to be visibleDaniel Calviño Sánchez
Before it was checked if the new user form was visible, but it was not waited for it. It seems that it can happen that the new user form is in the DOM, and therefore found, but not visible yet when the tests run, which caused them to (randomly) fail. Due to that now it is explicitly waited until it is visible, rather than assuming that it is visible as soon as it appears in the DOM. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-09-01Adjust theming acceptance testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31Merge pull request #33756 from nextcloud/enh/noid/admin-settings-directlySimon L
add a way to open the admin settings overview directly
2022-08-31fix testsszaimen
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-31Adjust acceptance tests to changes in app menuDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-25Adjust acceptance test selectorsVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-01Fix integration testsfix/integration-test-notifCarl Schwan
The html tags changed in the notification apps, adapt selector to the new state Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27Redesign guest pages for better accessibilityCarl Schwan
- Use white box and put content on it - Improve focus indicator Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-26Adjust acceptance tests to changes in sharing tabDaniel Calviño Sánchez
The name of the user shared with is now marked with a "span" rather than with "h5". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-26Replace files app ids to classesVincent Petry
Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-05-31More meaningfull message when a public authenticated share's password is ↵fix-31952Cyrille Bollu
wrong or has expired Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2022-05-24Require a recent phpunit version in integration and acceptanceCôme Chilliet
Otherwise build with PHP>8 will fail as PHPUnit 6 does not support it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-04Adjust acceptance tests to changes in notifications markupadjust-acceptance-tests-to-changes-in-notifications-markupDaniel Calviño Sánchez
Since nextcloud/notifications#1178 each notification in the list is a "<li>" rather than a "<div>". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-04-21Fix acceptanceJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-19Profile backendChristopher Ng
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-06Fix app-files acceptance testsLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-16Bump @nextcloud/vueJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-06-09Handle single action unshareJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-21Settings: new user row replaced by a modalSimounet
Signed-off-by: Simounet <contact@simounet.net>
2021-04-19Add automatic handling of "ElementNotInteractable" exceptionsDaniel Calviño Sánchez
In the WebDriver protocol, when a command fails because it can not interact with the target element, an "element not interactable" error is generated. It can be a transitive issue (for example, due to an animation), so when the error is received the command should be tried again, just like done, for example, with "ElementNotVisible" exceptions. However, the last version of the "instaclick/php-webdriver" library compatible with the Selenium Driver of Mink did not support yet that WebDriver error. And even if Chrome is run using the old protocol an unknown "element not interactable" error can be received anyway in some cases. When an unknown error is received by the "instaclick/php-webdriver" library it is thrown as a generic Exception so, until the library can be updated, the message of generic exceptions is checked and the command is retried if it matched. For the time being "element not interactable" errors are handled like "ElementNotVisible" exceptions; this may need to change once the error is better understood. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16Replace carriage return with WebDriver "ENTER" constantDaniel Calviño Sánchez
When the value is set in some input fields a carriage return was sent to simulate pressing the enter key and thus confirming the input. However, different browsers use different keys (Firefox uses "\r", but Chrome uses "\n"), so the carriage return was replaced with the WebDriver "ENTER" constant which is common to both browsers. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16Do not send "enter" key when not neededDaniel Calviño Sánchez
Sending the "enter" key is not needed in those input fields that auto save while the user is typing or when the focus is lost (which since version 1.4.0 the Selenium driver for Mink is automatically done after setting the value). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30Update Mink from 1.7.1 to 1.8.1 in acceptance testsDaniel Calviño Sánchez
Since version 1.8.0 of Mink "Mink::getSession()" no longer starts the session automatically (see https://github.com/minkphp/Mink/pull/705), so it now needs to be explicitly started. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance testsDaniel Calviño Sánchez
Since version 1.4.0 the Selenium driver for Mink uses again the element on which the value was set (see https://github.com/minkphp/MinkSelenium2Driver/pull/286). When creating a new folder or renaming one sending a new line ("\r") caused the element on which the value was set to be removed, so the element was no longer attached to the DOM when the driver tried to use it again, and thus a "StaleElementReference" exception was thrown. Due to this now it is needed to explicitly click the confirm button when creating a new folder. In the case of the renaming, on the other hand, nothing else besides not sending the new line is needed, as the Selenium driver now unfocuses the element (that is why it uses again the element after setting the value) which triggers the renaming. Besides that, the Selenium driver for Mink uses a library to simulate certain events, bitovi/syn. In version 1.4.0 that library was updated to version 0.0.3, which seems to somehow break pressing the "escape" key. Due to this now the sharing menu has to be closed by pressing "enter" on the share menu button instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30Update PHPUnit from 4.X to 6.X in acceptance testsDaniel Calviño Sánchez
The PHPUnit update also required an update of "symfony/yaml", so besides the changes needed for PHPUnit the "behat.yml" file also had to be adjusted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-10Change label also in the acceptance testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08Merge pull request #25990 from ↵kesselb
nextcloud/do-not-try-to-add-an-existing-user-again-in-acceptance-tests Do not try to add an existing user again in acceptance tests
2021-03-07Remove unneeded steps to add already existing userDaniel Calviño Sánchez
User "user1" is added when installing and configuring the server, so it is already added in all tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-07Fix acceptance test for searching just added users in contacts menuDaniel Calviño Sánchez
User "user1" is added when installing and configuring the server, so it is already added in all tests. As the test verifies that just added users can be searched in the contacts menu a new user should be actually added. The test did not fail because it assumed that "user1" did not exist and just checked that it existed after "adding" it, but not whether adding it failed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Find directly the label instead of falling back to itDaniel Calviño Sánchez
The input element is always hidden, so the check always ended falling back to the label. Moreover, the label is the element that the user interacts with, so it must be the one used. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Assert also element visibility instead of just finding itDaniel Calviño Sánchez
Although if the element could not be found an exception would be thrown and the test aborted if an element is in the DOM but hidden it would be found and the test would pass. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Add explicit locator for "Enable all" bundle buttonDaniel Calviño Sánchez
Instead of looking for the bundle button and then checking its value now the expected value is included in the locator and the button is checked similarly to other elements. No "Disable all" locator was added as it was not currently needed anywhere. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Find elements through the actor rather than the driverDaniel Calviño Sánchez
"Actor::find" is a more robust way to look for elements, as it handles some exceptions that may be thrown. Therefore, even if the elements are not actually used and it is only checked whether they exist or not using the actor is the preferred way when possible (and it also makes it consistent with the rest of the acceptance tests). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Add locator for apps listDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Fix identationDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Fix delete user acceptance testDaniel Calviño Sánchez
Adding some missing asserts showed that the "delete user" acceptance test was silently failing, as the deletion was not being confirmed in the dialog and thus the user was not being deleted. The dialog button contains a single quote ("user0's"), so the XPath expression had to be adjusted (it seems that it is not possible to escape a single quote in a string enclosed in single quotes in XPath 1.0). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Verify WaitFor::element... results with an assertionDaniel Calviño Sánchez
WaitFor::element... calls only perform the waiting and return whether the condition succeeded or not, but that result needs to be explicitly checked to prevent further steps from being executed if the wait failed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06Add missing waits when finding elements in the acceptance testsDaniel Calviño Sánchez
As no timeout was specified the elements were tried to be found just once. This caused the steps to fail if the elements did not appear yet in the page when they were tried to be found. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11Add acceptance tests for reshares by link when resharing is disabledDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11Add acceptance tests for reshares when resharing is disabledDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-22Merge pull request #23614 from ↵Morris Jobke
nextcloud/tests/22305/unreliable-app-files-sharing-338 Disable unreliable app-files-sharing.feature:108
2020-10-21Disable unreliable app-files-sharing.feature:108Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-21Disable unreliable app-files.feature:108Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-02Set status is also there nowJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>