Skip to content

systemtests: improve webui testing#1313

Merged
joergsteffens merged 6 commits intobareos:masterfrom
joergsteffens:dev/joergs/master/webui-systemtests-improvements
Nov 21, 2022
Merged

systemtests: improve webui testing#1313
joergsteffens merged 6 commits intobareos:masterfrom
joergsteffens:dev/joergs/master/webui-systemtests-improvements

Conversation

@joergsteffens
Copy link
Member

@joergsteffens joergsteffens commented Nov 15, 2022

This PR cleans up the WebUI systemtests a bit and helps testing the WebUI.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Is the PR title usable as CHANGELOG entry?
  • Separate commit for CHANGELOG.md ("update CHANGELOG.md"). The PR number is correct.
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • bareos-check-sources --since-merge does not report any problems

@frb121
Copy link
Contributor

frb121 commented Nov 16, 2022

I'd prefer the following PR title as basically just systemtests is touched besides one minor exception.

systemtests: improve webui testing

@frb121 frb121 assigned joergsteffens and unassigned frb121 Nov 16, 2022
@joergsteffens joergsteffens changed the title webui: systemtests improvements systemtests: improve webui testing Nov 17, 2022
@frb121 frb121 self-requested a review November 18, 2022 10:37
frb121
frb121 previously approved these changes Nov 18, 2022
@frb121 frb121 mentioned this pull request Nov 18, 2022
12 tasks
@frb121 frb121 dismissed their stale review November 18, 2022 16:10

Problem in CI testing

@frb121 frb121 self-requested a review November 18, 2022 16:10
With webui.sh it is possible to start the WebUI server in every systemtest test directory.
@joergsteffens joergsteffens force-pushed the dev/joergs/master/webui-systemtests-improvements branch from 9809f7e to 2542504 Compare November 18, 2022 16:57
joergsteffens and others added 5 commits November 18, 2022 21:51
Before, the configuration.ini file has been required to start the WebUI.
However, as all values got default values defined in the script anyway,
this is not required and has therefore be removed.
Also the handling of the default values has been simplified.
Signed-off-by: Frank Bergkemper <frank.bergkemper@bareos.com>
@joergsteffens joergsteffens force-pushed the dev/joergs/master/webui-systemtests-improvements branch from 2542504 to 3694f1b Compare November 18, 2022 20:52
@joergsteffens joergsteffens merged commit b0cd1d4 into bareos:master Nov 21, 2022
@joergsteffens joergsteffens deleted the dev/joergs/master/webui-systemtests-improvements branch November 21, 2022 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants