tests: add overview projects section tests#156
tests: add overview projects section tests#156HuntTheSun wants to merge 10 commits intoMarketSquare:mainfrom
Conversation
* Most time consuming (MarketSquare#115) * Initial version for most time consuming graphs * Updated most time consuming logic and added only last run switches * Updated tests with new features --------- Co-authored-by: Tim de Groot <t.degroot@vgz.nl> * Fix for keyword owner in old robot versions (MarketSquare#117) Co-authored-by: Tim de Groot <t.degroot@vgz.nl> * Added most used keywords graph (MarketSquare#116) * Added most used keywords graph * Updated tests * Updated most time consuming and most used to work with aliases, show better tooltips and have open logs correctly * Made test linking work in new graphs * Added owner comment * Improvement to spinner logic for overview page and bug fix for most used graphs * Docs improvement in cli help, readme, pypi and external vitepress site (MarketSquare#123) * First setup for vitepress docs * Updated repo path * Added example to same url * Moved public folder * Fixed urls and favicon * Updated styling and colors * Removed unused line * Updated styling readme and contributing * Added license icon * Improved homepage, readme and dashboard now contains link to docs * Added a lot of documentation * Added hero logo * Hero image styling and color update * Fixed external example url through docs page * Fixed gitignore and contributing * Updates for documentation * Fixed dead links * Improved documentation, admin settings description and --help documentation * Simplified docs structure * Added customization page and video examples * Updated metadata * Added descriptions to the videos * Improved video description * Improved readme * Updated readme and pypi description * Removed guides branch from deployment * Added docs menu item to admin page * Updated readme --------- Co-authored-by: Tim de Groot <t.degroot@vgz.nl> * Re added badges to readme (MarketSquare#128) * Pr/small doc improvements (MarketSquare#132) * docs/index: fix "Getting Started" link At least I hope that's where its supposed to point Signed-off-by: HuntTheSun * docs: added report html access description Signed-off-by: HuntTheSun --------- Signed-off-by: HuntTheSun * Added reduction of html file and localstorage handling improvement (MarketSquare#127) * Added reduction of html file * Fixed localstorage backward and forward compatibility (hopefully) * Improved handling of invalid localstorage json * Fixed theme handling with local storage * Fixed localstorage libraries handling * Slim package and CLI improvements (MarketSquare#130) * Added reduction of html file * Fixed localstorage backward and forward compatibility (hopefully) * Improved handling of invalid localstorage json * Fixed theme handling with local storage * Fixed localstorage libraries handling * Improved server and filepath cli * Made server separately installable * Updated server installation documentation * Added dashboard cli details * Added folder path documentation * Back to actual version 1.2.2 * Offlinedependencies implementation, bugfix for new most time consuming graphs, cli improvements (MarketSquare#131) * Initial version of offlinedependencies * Updated argument handling and help information * Test and script bugfixes * Bug in most time consuming and most used graphs where axis labels were broken * Added offlinedependencies documentation * First version for test pipeline * Removed unneeded doctest fixed file name * Improved handling of failed tests * Readded doctest and fixed only windows test * Added missing browser linux dependencies * Changed needed image * Different image for playwright * Different approach * Back to ubuntu-latest * Adding misssing deps * Different image * Fixed sudo * Different package names * Other image * Using python 3.10 * pip3 instead of pip * Added pip installation * No sudo * Different playwright jammy * Fixed tests for pipeline * More test fixes for python 3.10 and runs table fix for linux * Caching improvements * Added caching directories * Updated contributing documentation
* Initial version for split javascript and css * Added a lot of imports to fix ordering * Improved import logic and file names * File name improvements * Added version feature PR changes * Undo example.bat changes * Fixed runtags test * Improved server offline mode and split js and css for server * Renamed admin pages and removed some file creation * Using fastapi offline for CDNs by default * Improved offline mode for server
Signed-off-by: HuntTheSun <boandlkramer793@gmail.com>
|
Hi, cool to see you're working on the tests! Those are 15 runs that are pretty reusable and also have logs so that has been the easiest for now. The latest update I did for the demo was to use this script for generating it to also have some versions: For testing I just generate what is needed (but maybe those commands might need some work). |
|
Hi, thank you for the quick response! |
|
Ah wait let me be a bit clearer then. I use them as inputs so the data is the same. But the loading of the data is handled here. So I basically create the same "simple" dashboard for all runs. It does have 1 project_ tag, but no versions as you can see. That's why I think that might need changing for the version tests. Or in general it's not a bad idea to update this code to generate the dashboard with a couple of versions. Now it's hitting me why multiple version additions in one line would be useful 😄 ([this comment] (#136 (comment))), and the script above outline the current benefit quite clearly. |
|
Good morning, so if I understand correctly, would it be better if I did additions in this order:
Or am I misunderstanding something? |
|
Hi, since I had some time I got started on the version_ tag handling in #158 , I hope I didn't have some errors in my thinking about the order. |
There were 2 options.
I quite like order 2 so great to see you already started the |
|
For your information, I released 1.4.0 so don't forget to pull all the latest changes! Additionally I did 2 releases with the develop branch and it was just ugly as hell with commit messages and how it works so I'm ditching that way of working again. Sorry for the confusion. From now on you can simply merge into main and then I release when it's ready. If the docs update in the meantime I'll have to think about which PR's to merge when a bit better. Good luck with this branch! |
|
Hi, quick heads up, I can't finish this this weekend, sry. I got a decently high fever, I'm fit enough to clack keys on keyboard ofc but I probably wont get it to work properly, my brain wont brain properly. |
Oh that sucks man. Get well soon! The tests can wait 😄, health comes first |
Hi,
I am not finished with this, but I have a question:
Do you plan on using the same .db for the demo dashboard and the tests dashboard?