-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Setup for ui tests #27860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup for ui tests #27860
Conversation
|
:( Jenkins seems to be unhappy with all the recent PRs. |
here has been an issue with the docker container to fire up - I just restarted it |
|
It is still not happy: |
autoconfig does not work for this settings
|
Note: "use preseedconfig to set lang & skeleton and not autoconfig" 11ca7e9 added by @individual-it to fixup/improve getting the skeleton files in place correctly. |
|
Jenkins slept again... 😴 |
|
@phil-davis there are conflicts in here - please rebase - thx |
|
@DeepDiver1975 GitHub is telling me "This branch has no conflicts with the base branch"??? |
|
@DeepDiver1975 or @SergioBertolinSG IMHO this is ready to get a review tick and merging. |
|
@DeepDiver1975 sorry to harass! @individual-it is getting quite a few changes that he has ready that branch off here, assuming this code will be reviewed soon (and hopefully merged in something similar to the shape it is in). |
|
@phil-davis we are currently quite busy with the next release. Review will come after it, thanks for your patience. |
|
@phil-davis @individual-it you guys can also review each other's code ? |
|
Hmmm - that seems a bit odd for ones where we have already worked on bits of it "together" and commits are there from both of us, or actually one of us "summarized" code that both of us worked. It is a bit difficult to be independent when reviewing! But yeh, if you are happy, then when one of us has done something, the other can review it. |
|
Ah, I didn't realize that many commits were from two people writing them 😄 My comment was mostly for separate work. |
|
@PVince81 I saw your other comments now on PRs that are based on this. So we should merge this one now, let CI do whatever it does on master, then the others should each slide in nicely on top. |
|
before making a PR to oC @phil-davis & me, we do peer-review stuff "internally" |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
This PR modifies the existing small Behat/Selenium/Mink UI testing structure so it is ready to move forward with adding new tests easily.
This makes it easy to use the "natural language" of Behat's BDD implementation, without messing with special tags to make variable scenario setup happen.
3. Provide some infrastructure for creating users, so that the scenario steps can just say stuff like:
and the underneath code will create an ordinary user that the scenario can use. Then at the end of the scenario the user gets removed by the AfterScenario code, ensuring isolation between scenarios.
4. Cleanup whitespace at end of lines - easy to tidy everything up now and it is ready to move forward with future minimal diffs.
Related Issue
#27858
Motivation and Context
Having automated UI tests will give more immediate feedback if a change has broken the end-to-end UI behavior in some way. It will also reduce the load of manual testing needed.
How Has This Been Tested?
The code has been tried in a separate repo to make sure that Travis and SauceLabs process it successfully.
The Travis build/test steps should also run and pass here once the PR is submitted.
Types of changes
Checklist:
Documentation on how to run this test environment on a local machine is under review at owncloud-archive/documentation#3049