mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	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
This commit is contained in:
		@@ -0,0 +1 @@
 | 
			
		||||
Initial commit
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
ref: refs/heads/branch1
 | 
			
		||||
@@ -0,0 +1,10 @@
 | 
			
		||||
[core]
 | 
			
		||||
	repositoryformatversion = 0
 | 
			
		||||
	filemode = false
 | 
			
		||||
	bare = false
 | 
			
		||||
	logallrefupdates = true
 | 
			
		||||
	symlinks = false
 | 
			
		||||
	ignorecase = true
 | 
			
		||||
[user]
 | 
			
		||||
	name = user2
 | 
			
		||||
	email = user2@example.com
 | 
			
		||||
@@ -0,0 +1,7 @@
 | 
			
		||||
[core]
 | 
			
		||||
	repositoryformatversion = 0
 | 
			
		||||
	filemode = false
 | 
			
		||||
	bare = false
 | 
			
		||||
	logallrefupdates = true
 | 
			
		||||
	symlinks = false
 | 
			
		||||
	ignorecase = true
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
Unnamed repository; edit this file 'description' to name the repository.
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
# git ls-files --others --exclude-from=.git/info/exclude
 | 
			
		||||
# Lines that start with '#' are comments.
 | 
			
		||||
# For a project mostly in C, the following would be a good set of
 | 
			
		||||
# exclude patterns (uncomment them if you want to use them):
 | 
			
		||||
# *.[oa]
 | 
			
		||||
# *~
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491734 +0100	commit (initial): Initial commit
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491742 +0100	checkout: moving from master to branch1
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491742 +0100	branch: Created from cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491734 +0100	commit (initial): Initial commit
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
x<01><>K
 | 
			
		||||
<EFBFBD>0@]<5D><14>$<24>ߴ <20><>cL<63>)#1<05>o<EFBFBD><13>z<EFBFBD><7A><EFBFBD>R<EFBFBD><52><0C><><0F><>@da<64>AB$"˓<>I<EFBFBD>Xc<58>
 | 
			
		||||
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>[<5B><>%<25><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>W9<57>V/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>F<EFBFBD><46>n<EFBFBD>Ր<EFBFBD>"u{<7B>Qx<51>_<EFBFBD>><3E>
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
Initial commit
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
ref: refs/heads/branch1
 | 
			
		||||
@@ -0,0 +1,10 @@
 | 
			
		||||
[core]
 | 
			
		||||
	repositoryformatversion = 0
 | 
			
		||||
	filemode = false
 | 
			
		||||
	bare = false
 | 
			
		||||
	logallrefupdates = true
 | 
			
		||||
	symlinks = false
 | 
			
		||||
	ignorecase = true
 | 
			
		||||
[user]
 | 
			
		||||
	name = user2
 | 
			
		||||
	email = user2@example.com
 | 
			
		||||
@@ -0,0 +1,7 @@
 | 
			
		||||
[core]
 | 
			
		||||
	repositoryformatversion = 0
 | 
			
		||||
	filemode = false
 | 
			
		||||
	bare = false
 | 
			
		||||
	logallrefupdates = true
 | 
			
		||||
	symlinks = false
 | 
			
		||||
	ignorecase = true
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
Unnamed repository; edit this file 'description' to name the repository.
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
# git ls-files --others --exclude-from=.git/info/exclude
 | 
			
		||||
# Lines that start with '#' are comments.
 | 
			
		||||
# For a project mostly in C, the following would be a good set of
 | 
			
		||||
# exclude patterns (uncomment them if you want to use them):
 | 
			
		||||
# *.[oa]
 | 
			
		||||
# *~
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491734 +0100	commit (initial): Initial commit
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491742 +0100	checkout: moving from master to branch1
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491742 +0100	branch: Created from cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491734 +0100	commit (initial): Initial commit
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
x<01><>K
 | 
			
		||||
<EFBFBD>0@]<5D><14>$<24>ߴ <20><>cL<63>)#1<05>o<EFBFBD><13>z<EFBFBD><7A><EFBFBD>R<EFBFBD><52><0C><><0F><>@da<64>AB$"˓<>I<EFBFBD>Xc<58>
 | 
			
		||||
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>[<5B><>%<25><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>W9<57>V/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>F<EFBFBD><46>n<EFBFBD>Ր<EFBFBD>"u{<7B>Qx<51>_<EFBFBD>><3E>
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
Initial commit
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
ref: refs/heads/branch1
 | 
			
		||||
@@ -0,0 +1,10 @@
 | 
			
		||||
[core]
 | 
			
		||||
	repositoryformatversion = 0
 | 
			
		||||
	filemode = false
 | 
			
		||||
	bare = false
 | 
			
		||||
	logallrefupdates = true
 | 
			
		||||
	symlinks = false
 | 
			
		||||
	ignorecase = true
 | 
			
		||||
[user]
 | 
			
		||||
	name = user2
 | 
			
		||||
	email = user2@example.com
 | 
			
		||||
@@ -0,0 +1,7 @@
 | 
			
		||||
[core]
 | 
			
		||||
	repositoryformatversion = 0
 | 
			
		||||
	filemode = false
 | 
			
		||||
	bare = false
 | 
			
		||||
	logallrefupdates = true
 | 
			
		||||
	symlinks = false
 | 
			
		||||
	ignorecase = true
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
Unnamed repository; edit this file 'description' to name the repository.
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
# git ls-files --others --exclude-from=.git/info/exclude
 | 
			
		||||
# Lines that start with '#' are comments.
 | 
			
		||||
# For a project mostly in C, the following would be a good set of
 | 
			
		||||
# exclude patterns (uncomment them if you want to use them):
 | 
			
		||||
# *.[oa]
 | 
			
		||||
# *~
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491734 +0100	commit (initial): Initial commit
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491742 +0100	checkout: moving from master to branch1
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491742 +0100	branch: Created from cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
0000000000000000000000000000000000000000 cdaca8cf1d36e1e4e508a940f6e157e239beccfa user2 <user2@example.com> 1575491734 +0100	commit (initial): Initial commit
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
x<01><>K
 | 
			
		||||
<EFBFBD>0@]<5D><14>$<24>ߴ <20><>cL<63>)#1<05>o<EFBFBD><13>z<EFBFBD><7A><EFBFBD>R<EFBFBD><52><0C><><0F><>@da<64>AB$"˓<>I<EFBFBD>Xc<58>
 | 
			
		||||
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>[<5B><>%<25><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>W9<57>V/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>F<EFBFBD><46>n<EFBFBD>Ր<EFBFBD>"u{<7B>Qx<51>_<EFBFBD>><3E>
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
cdaca8cf1d36e1e4e508a940f6e157e239beccfa
 | 
			
		||||
		Reference in New Issue
	
	Block a user