diff options
author | delvh <leon@kske.dev> | 2022-09-21 19:02:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 01:02:56 +0800 |
commit | acee32ca09ea8573687759ec039a8d480da97127 (patch) | |
tree | dbb8a46b4ac0dee8b3d2c39c6239f28d9a0f3bc5 /tests | |
parent | 0a9a86b94307fe95661060cdfe36026e296dc69e (diff) | |
download | gitea-acee32ca09ea8573687759ec039a8d480da97127.tar.gz gitea-acee32ca09ea8573687759ec039a8d480da97127.zip |
Prevent invalid behavior for file reviewing when loading more files (#21230)
The problem was that many PR review components loaded by `Show more`
received the same ID as previous batches, which confuses browsers (when
clicked). All such occurrences should now be fixed.
Additionally improved the background of the `viewed` checkbox.
Lastly, the `go-licenses.json` was automatically updated.
Fixes #21228.
Fixes #20681.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/e2e/e2e_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index c77c071181..eb2b1d70f8 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -72,8 +72,8 @@ func TestMain(m *testing.M) { os.Exit(exitVal) } -// This should be the only test e2e necessary. It will collect all "*.test.e2e.js" -// files in this directory and build a test for each. +// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" +// files in this directory and build a test for each. func TestE2e(t *testing.T) { // Find the paths of all e2e test files in test test directory. searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js") |