Commit Graph

121 Commits

Author SHA1 Message Date
Pierre Sassoulas 656506d2a6 Upgrade pyupgrade to 3.9 2024-11-20 21:11:27 +01:00
Gleb Nikonorov c2181e4e83
Add mypy to CI pipeline and begin typing modules (#435)
* Add mypy to CI pipeline and begin typing effort
* Make some hard options false to begin with something

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2024-11-20 16:22:46 +01:00
Pierre Sassoulas cc5e0194aa
Drop python 3.8, add support for 3.12, 3.13 (#842)
* Drop python 3.8, add support for 3.12, 3.13

---------

Co-authored-by: Jim Brännlund <jim.brannlund@gmail.com>
2024-11-20 13:30:29 +01:00
Volkan Aslan 38b8a6cae8
Fix for #806 (if results table order changed, hide/show details hover over broken) (#807)
* Fix for #806
2024-04-24 19:55:48 +02:00
Jim Brännlund cd0ed431e5
fix: Extras from setup/teardown missing in report (#784) 2023-12-10 16:47:03 +01:00
Jim Brännlund 4ee12c42cc
fix: original sort order (#768) 2023-11-07 15:19:54 +01:00
Jim Brännlund 82762a2ffc
fix: Escaping HTML in log (#757) 2023-11-04 19:08:15 +01:00
Jim Brännlund 84a1f6882e
test: Add UTF8 test (#760) 2023-11-04 18:30:17 +01:00
Jim Brännlund cbb3b3982a
fix: Add collections errors to report (#756) 2023-11-01 17:49:12 +01:00
Adrien Berchet 82d08c46c6
Fix: Use absolute path for the report (#735)
* Fix: Use absolute path for the report

Fixes #732
2023-09-14 08:50:49 +02:00
Jim Brännlund ee21115b23
fix: Incorrect label for xfailed (#733) 2023-09-10 12:00:40 +02:00
Jim Brännlund b7c50c137c
Feat: Add duration format hook (#724) 2023-09-01 20:14:10 +02:00
Jim Brännlund abde929fc8
Fix: Broken sorting for custom columns (#715) 2023-08-24 22:08:21 +02:00
Jim Brännlund bd0c5302ec
Fix: Borken HTML in jinja template (#712) 2023-08-13 17:56:12 +02:00
Jim Brännlund af4c6537dd
Fix: Collapsed state between redraws (#703) 2023-07-28 17:28:14 +02:00
Jim Brännlund 8a4ece40a8
Feature: Only one collapsed state (#701) 2023-07-27 23:35:58 +02:00
Jim Brännlund 62b0eea8a3
Feature: Template table header (#696) 2023-07-24 21:31:11 +02:00
Jim Brännlund 33b3b663ba
Fix: visible query param (#695) 2023-07-24 02:43:41 +02:00
Jim Brännlund ae54ee6277
Fix: Duration sorting (#691) 2023-07-23 00:35:57 +02:00
Jim Brännlund 2ce0aa6731
Fix: Logging issues with teardown (#690) 2023-07-22 19:21:43 +02:00
Jim Brännlund f6f623d0d9
Chore: Simplify results table hooks (#688) 2023-07-22 15:06:29 +02:00
Jim Brännlund 316246e72d
Enable variable expansion for CSS addons. (#676) 2023-05-13 21:04:08 +02:00
Jim Brännlund 50dfbe7894
Feature: Add 'session' to results summary hook (#660) 2023-05-03 22:16:39 +02:00
Jim Brännlund f2cf3b2c6b
Chore: Add eslint (#651) 2023-04-14 15:15:40 +02:00
Jim Brännlund 412f01bc7c
Fix: Support cells.pop() (#641) 2023-04-09 00:35:06 +02:00
Jim Brännlund 43175f1b1a
Fix: Order and layout of outcome summary (#629) 2023-04-08 19:58:09 +02:00
Jim Brännlund f8758f98c5
Fix: Initial sort and query param (#637) 2023-04-08 18:18:28 +02:00
Jim Brännlund 89746e3203
Fix: Add skip marker results to report (#636) 2023-04-08 18:18:10 +02:00
Jim Brännlund 5f580273a9
Fix: Color E(xecption) lines in the log red (#631) 2023-04-08 18:16:57 +02:00
Jim Brännlund 8350dda5eb
Fix: Handle appends on table hooks (#630) 2023-04-08 18:16:33 +02:00
Jim Brännlund 5e00bccbde Merge master with next-gen 2023-04-03 21:54:03 +02:00
Jim Brännlund 3aa553fb6a
fix: Use the same duration formatting as for the tests (#613) 2023-04-02 02:04:56 +02:00
Jim Brännlund 81dc8036e0
fix: Incorrect precedence render collapsed (#610) 2023-04-01 17:12:49 +02:00
Jim Brännlund 080780cf09
fix: Deprecate the Cells.pop function (#608) 2023-04-01 15:18:36 +02:00
Jim Brännlund 3306c1c09f
fix: Collapsed should support All and none (#605) 2023-04-01 11:55:50 +02:00
Jim Brännlund f381d082bc
tests: Add tests for stdout and sterr capture (#604) 2023-04-01 11:23:25 +02:00
Jim Brännlund 34ff60fbd4
fix: Missing logging in report (#603) 2023-03-25 23:11:46 +01:00
Jim Brännlund 40a80d535d
fix: Table hooks (#599) 2023-03-20 14:32:23 +01:00
Jim Brännlund 079681decc
fix: Report fails to render with pytest-xdist (#598) 2023-03-19 18:56:52 +01:00
Jim Brännlund d02dac0dda
update: duration_format renders deprecation warning (#589) 2023-03-19 16:15:16 +01:00
Jim Brännlund df894ec408
chore: Add unit test file (#590) 2023-03-18 23:08:36 +01:00
Jim Brännlund 6eff86d537
refactor: stop overwriting pytest data (#597) 2023-03-18 22:52:01 +01:00
Jim Brännlund 0408b0d504
Combined fe and be (#479)
* fix main.js conflicts

* fix js test

* fix resource (main.js) test

* revert change to report extra

* filters style

* css and dom brush up

* Buildable app

* always store data in html

* Always store data blob in file

* json dump test data

* read data from dom element

* manually initialize state

* minimalistic dataset

* simplify included files

* Handle report extras

* Handle python report hooks

* imgviewer

* present name in image viewer and open img on click

* setup linter for project

* conform to styles

* show video in imageviewer (#14)

* show video in imageviewer

* Chore: Pluralize extra (#15)

* Add extras.HTML

* Move outcome handling to backend (#18)

* Move outcome handling to backend

* Pass in text version of longrepr if present

* make collapse/expand all functional (#20)

* make collapse/expand all functional

* only create links for text, url and json (#22)

* make filter search case insensitive (#21)

* make filter search case insensitive

* use sessionStorage to prevent preferences to be reapplied on new reports

* avoid multiple event bindings + fix filter bug

* Collapse individual row

Co-authored-by: Jim Brännlund <jim.brannlund@gmail.com>

* add no log output captured string

* Query params (#25)

* Add query params

* adjust tests (#26)

* Duration format (#27)

* adjust tests

* build format handler

* remove dependency

---------

Co-authored-by: Jim Brännlund <jimbrannlund@fastmail.com>

* Beyondevil/cleanup (#28)

* chore: Cleanup branch before merge

* chore: Fix duration and CI

* Fix pre-commit issues

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Viktor Gustafsson <vikt.gust@gmail.com>
2023-03-05 16:18:52 +01:00
Jim Brännlund c2b4f58558
chore: Deactivate broken test for now (#557) 2022-10-25 14:00:58 +02:00
Jim Brännlund ea89db8e02
fix: upgrade pip before running tox (#522)
* fix: upgrade pip before running tox

* Use "-X utf8" to solve encoding issues on Windows

* Disable pypy3.8 on windows
2022-07-17 13:28:12 +02:00
Jim Brännlund aa85f41296 Merge branch 'master' into next-gen 2022-05-07 22:31:01 +02:00
Jim Brännlund e09ebfafac
bump pre-commit deps (#513)
* bump pre-commit deps

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-22 01:06:03 +02:00
Jim Brännlund ff7cc3280f
Update next-gen with recent changes to master (#494)
* remove phantomjs dependency (#424)

* properly classify all npm dependencies (#425)

* Move the changelog to read the docs (#423)

* split plugin.py into smaller files (#427)

* Implement the visible URL query parameter to control visibility of test results on page load. (#433)

* enable control of test result visability via query params

* Allow for redacting of environment table values (#431)

* Disable Codecov (#480)

* Disable Codecov

* Disable pypy3 on mac

* Add Tests.yml reusable workflow (#484)

* Use the tests reusable workflow (#486)

* Migrate to precommit.ci (#487)

* Separate Nightly workflow (#488)

Co-authored-by: Gleb Nikonorov <gleb.i.nikonorov@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-26 10:12:02 +01:00
Gleb Nikonorov 256688a167 Allow for redacting of environment table values (#431)
* Add untested change

* Add tests

* Add documentation

* Add the changelog entry

* remove debug code from test

* Change wording of documentation
2021-05-10 10:22:27 +02:00
Gleb Nikonorov d47c7cbff3 split plugin.py into smaller files (#427) 2021-05-10 10:21:59 +02:00