Skip to content

Conversation

phil-davis
Copy link
Contributor

Description

When creating users, download a little file for the user - that triggers the user account initialization (e.g. creating the skeleton files). In special cases (like when really testing first-time webUI login) then override this.

Related Issue

Motivation and Context

Some UI tests have steps that login and logout each newly-created user via the webUI just so that they get their skeleton files etc. set up. This is a waste of browser steps, it could be faster to do the skeleton file setup another way and also avoid having these odd-looking steps in the Behat-Gherkin.

How Has This Been Tested?

Travis

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@phil-davis phil-davis force-pushed the ui-tests-user-creation branch from 92ebc8e to cb0fd48 Compare November 15, 2017 14:45
@codecov
Copy link

codecov bot commented Nov 15, 2017

Codecov Report

Merging #29584 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #29584   +/-   ##
=========================================
  Coverage     61.78%   61.78%           
  Complexity    17482    17482           
=========================================
  Files          1047     1047           
  Lines         57714    57714           
=========================================
  Hits          35657    35657           
  Misses        22057    22057

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8a50de...cb0fd48. Read the comment docs.

@phil-davis
Copy link
Contributor Author

Backport stable10 #29586

@lock
Copy link

lock bot commented Aug 1, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants