mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix(e2e): port for docker
This commit is contained in:
		
							parent
							
								
									6c886fe3b9
								
							
						
					
					
						commit
						2fa5955bd5
					
				
							
								
								
									
										2
									
								
								.github/workflows/main-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/main-docker.yml
									
									
									
									
										vendored
									
									
								
							| @ -72,7 +72,7 @@ jobs: | ||||
|        | ||||
|       - name: Validate container run output | ||||
|         run: | | ||||
|           CONTAINER_ID=$(docker run -d --log-driver=journald --rm --network=host --volume ./integration-tests/db:/home/node/trilium-data --name trilium_local ${{ env.TEST_TAG }}) | ||||
|           CONTAINER_ID=$(docker run -d --log-driver=journald --rm --network=host -e TRILIUM_PORT=8082 --volume ./integration-tests/db:/home/node/trilium-data --name trilium_local ${{ env.TEST_TAG }}) | ||||
|           echo "Container ID: $CONTAINER_ID" | ||||
|        | ||||
|       - name: Wait for the healthchecks to pass | ||||
|  | ||||
| @ -28,7 +28,7 @@ export default defineConfig({ | ||||
|   /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ | ||||
|   use: { | ||||
|     /* Base URL to use in actions like `await page.goto('/')`. */ | ||||
|     baseURL: (!process.env.TRILIUM_DOCKER ? SERVER_URL : "http://127.0.0.1:8080"), | ||||
|     baseURL: SERVER_URL, | ||||
| 
 | ||||
|     /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ | ||||
|     trace: 'on-first-retry', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran