Quentin BETTOUM and Earl Warren
676fb7e0a7
chore: fix a few typos in the documentation ( #9134 )
...
Hello, just a few typos
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9134
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org >
Reviewed-by: Beowulf <beowulf@beocode.eu >
Co-authored-by: Quentin BETTOUM <quentin@bettoum.fr >
Co-committed-by: Quentin BETTOUM <quentin@bettoum.fr >
2025-09-04 01:53:40 +02:00
0ko and Beowulf
7086e7a9ac
feat(ui): redesign user profile actions layout ( #7906 )
...
Related: https://codeberg.org/forgejo/forgejo/pulls/3950#issue-785253 , https://codeberg.org/forgejo/forgejo/pulls/3950#issuecomment-1998551 .
## Links in dropdown
* move _admin only_ User details link here, give it always-visible text
* add new _self only_ Edit profile link here
* move RSS feed link here
* add new Atom feed link here, previously unadvertised
* add new SSH keys link here (`.keys`), previously unadvertised
* add new GPG keys link here (`.gpg`), previously unadvertised
* move Block/Unblock button here
* move Report abuse link here
If primary action is available (Follow/Unfollow), dropdown with more actions goes after it. If not, it is in line with followers, in place where RSS feed button used to be.
## New dropdown
Related: https://codeberg.org/forgejo/design/issues/23 , https://codeberg.org/forgejo/forgejo/issues/3853 , https://codeberg.org/0ko/forgejo/issues/2 .
Implemented a new dropdown: noJS-usable, JS-enhanced for better keyboard navigation and a11y.
Styling is mostly same as the existing ones have, but row density depends on `@media` pointer type.
My choice of CSS properties have been influenced of these:
* https://github.com/picocss/pico/commit/72a3adb16b2f3248b456da823502f166510720a0
* https://github.com/picocss/pico/commit/51dd2293cab8d77cf13fc2c32b6053ffa654bc56
Inspired-by: KiranMantha <kiranv.mantha@gmail.com >
Inspired-by: Lucas Larroche <lucas@larroche.com >
Co-authored-by: Beowulf <beowulf@beocode.eu >
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7906
Reviewed-by: Otto <otto@codeberg.org >
Reviewed-by: Beowulf <beowulf@beocode.eu >
Co-authored-by: 0ko <0ko@noreply.codeberg.org >
Co-committed-by: 0ko <0ko@noreply.codeberg.org >
2025-06-24 14:16:51 +02:00
Julian Schlarb and Gusted
68d690b6b9
chore(e2e): simplify authentication setup ( #6400 )
...
Replaced manual login and context loading across tests with Playwright's `test.use` configuration for user authentication. This simplifies test setup, improves readability, and reduces repetition.
For #6362
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6400
Reviewed-by: Gusted <gusted@noreply.codeberg.org >
Co-authored-by: Julian Schlarb <julian.schlarb@denktmit.de >
Co-committed-by: Julian Schlarb <julian.schlarb@denktmit.de >
2025-01-05 05:17:04 +00:00
Otto Richter
5929b330e4
tests(e2e): Prepare for visual regression testing
...
- fix some configuration issues
- mask or replace dynamic content from screenshots
- explain the behaviour in the e2e README
readme
2024-12-10 18:12:36 +01:00
FermeLeLundi
af8edb4ff3
Update tests/e2e/README.md
...
Typo
2024-11-28 10:48:04 +00:00
Otto Richter
40551de313
tests(e2e): Refactor various tests
...
Goals:
- speedup
- less flakiness
- best practices and more use
- documentation
config:
- sync ports in Makefile and playwright config
(otherwise, some tests fail locally because they assert the full URL including the (wrong) port)
- even more generous timeouts
- limit workers to one again (because I finally understand how
Playwright works)
- allow nested functions to group them together with the related test
all:
- deprecate waitForLoadState('networkidle')
- it is discouraged as per https://playwright.dev/docs/api/class-page#page-wait-for-load-state
- I could not find a usage that seems to require it actually (see
added documentation in README)
- adding an exception should be made explicitly
- it does not do what you might expect anyway in most cases
- only log in when necessary
webauthn:
- verify that login is possible after disabling key
- otherwise, the cleanup was not necessary after the previous refactor to create a fresh user each
issue-sidebar / WIP toggle:
- split into smaller chunks
- restore original state first
- add missed assertion to fix race condition (not waiting
before state was reached)
- explicitly toggle the state to detect mismatch earlier
issue-sidebar / labels:
- restore original state first
- better waiting for background request
2024-11-13 13:15:37 +01:00
Otto
9e929bd709
Merge branch 'forgejo' into ts-test
2024-11-11 14:23:11 +00:00
Gusted
f352d6db81
chore: improve database docker instructions
...
- Do not require minio for mariadb docker.
- Do not require elasticsearch for mysql.
- Fix postgress password parameter.
- Add the multistatement query for mysql (this is not optimal but adding
Makefile code doesn't seem to work really well either)
2024-11-10 19:41:04 +01:00
Anbraten
3a3416c069
Migrate playwright to typescript
2024-11-08 09:55:54 +01:00
Otto Richter
88f653b583
docs(e2e): Update e2e test instructions for changed file patterns
...
chore: let fnetx review e2e tests
2024-10-04 15:15:10 +02:00
Otto Richter
0f3ba99ff0
Add detailed instructions for e2e testing
...
- rewrite parts of and improve README
- simplify repo declaration
- list coverage in workflow path filter
2024-09-09 14:06:10 +02:00
Earl Warren
5fc3916fff
docs(e2e): explain how to use VSCodium or VSCode
...
Imported from the docs to keep them in one place.
2024-07-16 17:22:39 +02:00
Otto Richter and Earl Warren
fafc4f6ad9
test: issue sidebar testing using playwright ( #4319 )
...
Conclusion of https://codeberg.org/forgejo/forgejo/issues/3499
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4319
Co-authored-by: Otto Richter <git@otto.splvs.net >
Co-committed-by: Otto Richter <git@otto.splvs.net >
2024-07-05 05:03:45 +00:00
Gusted
2d9afd0c21
[CHORE] Remove Microsoft SQL Server Support
...
- Per https://codeberg.org/forgejo/discussions/issues/122
2024-04-05 23:37:36 +02:00
e94f9fcafd
Require MySQL 8.0, PostgreSQL 12, MSSQL 2012 ( #27337 )
...
- MySQL 5.7 support and testing is dropped
- MySQL tests now execute against 8.1, up from 5.7 and 8.0
- PostgreSQL 10 and 11 support ist dropped
- PostgreSQL tests now execute against 16, up from 15
- MSSQL 2008 support is dropped
- MSSQL tests now run against locked 2022 version
Fixes: https://github.com/go-gitea/gitea/issues/25657
Ref: https://endoflife.date/mysql
Ref: https://endoflife.date/postgresql
Ref: https://endoflife.date/mssqlserver
## ⚠️ BREAKING ⚠️
Support for MySQL 5.7, PostgreSQL 10 and 11, and MSSQL 2008 is dropped.
You are encouraged to upgrade to supported versions.
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
2023-10-03 13:27:57 -04:00
a1012112796 and GitHub
25d4f95df2
replace drone exec to act_runner exec in test README.md ( #24791 )
2023-05-18 19:48:47 +00:00
Steve Russo and GitHub
80765aab8c
Fix broken link in tests/e2e/README ( #24576 )
2023-05-08 00:52:11 +00:00
Kyle D and GitHub
c8ded77680
Kd/ci playwright go test ( #20123 )
...
* Add initial playwright config
* Simplify Makefile
* Simplify Makefile
* Use correct config files
* Update playwright settings
* Fix package-lock file
* Don't use test logger for e2e tests
* fix frontend lint
* Allow passing TEST_LOGGER variable
* Init postgres database
* use standard gitea env variables
* Update playwright
* update drone
* Move empty env var to commands
* Cleanup
* Move integrations to subfolder
* tests integrations to tests integraton
* Run e2e tests with go test
* Fix linting
* install CI deps
* Add files to ESlint
* Fix drone typo
* Don't log to console in CI
* Use go test http server
* Add build step before tests
* Move shared init function to common package
* fix drone
* Clean up tests
* Fix linting
* Better mocking for page + version string
* Cleanup test generation
* Remove dependency on gitea binary
* Fix linting
* add initial support for running specific tests
* Add ACCEPT_VISUAL variable
* don't require git-lfs
* Add initial documentation
* Review feedback
* Add logged in session test
* Attempt fixing drone race
* Cleanup and bump version
* Bump deps
* Review feedback
* simplify installation
* Fix ci
* Update install docs
2022-09-02 15:18:23 -04:00