Nextcloud Server
Go to file
Daniel Calviño Sánchez 762a8e0b76 Remove "content" locator from acceptance tests
The "content" locator uses the "named" Mink selector and the "content"
Mink locator to find the element. The "named" Mink first tries to find
the elements whose content match exactly the given content but, if none
is found, then it tries to find elements that just contain the given
content.

This behaviour can lead to hard to track issues. Finding the exact match
and, if not found, finding the partial match is done in quick
succession. In most cases, when looking for an exact match the element
is already there, it is returned, and everything works as expected. Or
it may not be there, but then it is not there either when finding the
partial match, so no element is returned, and everything works as
expected (that is, the actor tries to find again the element after some
time).

However, it can also happen that when looking for an exact match there
is no element yet, but it appears after trying to find the exact match
but before trying to find the partial match. In that situation the
desired element would be returned along with its ancestors. However, as
only the first found element is taken into account and the ancestors
would appear first the find action would be successful, but the returned
element would not be the expected one. This is highly unlikely, yet
possible, and can cause sporadic failures in acceptance tests that,
apparently, work as expected.

Using a "named_exact" Mink selector instead of the "named" Mink selector
does not provide the desired behaviour in most cases either. As it finds
any element whose content matches exactly the given content, looking for
"Hello world" in "<div><p><a>Hello world</a></p></div>" would match the
"div", "p" and "a" elements; in that situation the "div" element would
be the one returned, when typically the "a" element would be the
expected one.

As it is error prone and easily replaceable by more robust locators the
"content" locator was removed from the predefined ones (although it can
still be used if needed through the "customSelector" method in the
builder object).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-05-02 15:09:25 +02:00
.idea
3rdparty@8403b2b676
apps [tx-robot] updated from transifex 2017-05-02 00:07:20 +00:00
build Fix forbidden backslash DAV integration tests 2017-04-26 15:47:59 +02:00
config allow admin to configure lookup server 2017-04-28 23:41:35 -03:00
contribute
core Merge pull request #4638 from nextcloud/fix-copy-tooltip 2017-05-02 10:10:23 +02:00
l10n
lib Merge pull request #4649 from nextcloud/update-links-to-12 2017-05-02 10:09:57 +02:00
ocs
ocs-provider
resources Add mimetypes for jp2 and webp 2017-04-25 18:43:39 +02:00
settings [tx-robot] updated from transifex 2017-05-02 00:07:20 +00:00
tests Remove "content" locator from acceptance tests 2017-05-02 15:09:25 +02:00
themes Update documentation go.php URL to 12 2017-05-02 08:17:59 +02:00
.bowerrc
.codecov.yml
.drone.yml Merge pull request #4485 from nextcloud/translation-checker 2017-04-25 10:46:51 -03:00
.gitignore
.gitmodules
.htaccess
.jshintrc
.lgtm
.mailmap
.mention-bot
.scrutinizer.yml
.tag
.user.ini
AUTHORS
autotest-external.sh
autotest-hhvm.sh
autotest-js.sh
autotest.sh
bower.json
buildjsdocs.sh
CHANGELOG.md
composer.json
console.php
CONTRIBUTING.md
COPYING
COPYING-README
cron.php Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
db_structure.xml Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
index.html
index.php
issue_template.md
occ
public.php
README.md
remote.php
robots.txt
status.php
version.php Bump version 2017-05-02 09:00:09 +02:00

Nextcloud Server

Scrutinizer Code Quality codecov CII Best Practices irc irc

A safe home for all your data.

Why is this so awesome?

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 📦 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🔄 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with dozens of Apps ...like Calendar, Contacts, Mail and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentification.

You want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and at your Enterprise? Learn about all our Features.

Get your Nextcloud

Enterprise? Public Sector or Education user? You may want to have a look into the Enterprise Support Subscription provided by the Nextcloud GmbH

Get in touch

…learn more about how to get support for Nextcloud here!

Contribution Guidelines

All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information how to contribute: https://nextcloud.com/contribute/

Running master checkouts

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps by default included in regular releases like firstrunwizard or gallery are missing in master and have to be installed manually as required.

That aside Git checkouts can be handled the same as release archives.

Note they should never be used on production systems.