mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	infra(channel): add edge stable bot (#5825)
This commit is contained in:
		
							parent
							
								
									95affe9387
								
							
						
					
					
						commit
						ea32ad2b09
					
				
							
								
								
									
										29
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										29
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @ -294,3 +294,32 @@ jobs: | |||||||
|       with: |       with: | ||||||
|         name: chrome-stable-test-results |         name: chrome-stable-test-results | ||||||
|         path: test-results |         path: test-results | ||||||
|  | 
 | ||||||
|  |   edge_stable: | ||||||
|  |     name: "Edge Stable (Win)" | ||||||
|  |     runs-on: windows-latest | ||||||
|  |     steps: | ||||||
|  |     - name: Install Media Pack | ||||||
|  |       shell: powershell | ||||||
|  |       run: Install-WindowsFeature Server-Media-Foundation | ||||||
|  |     - uses: actions/checkout@v2 | ||||||
|  |     - uses: actions/setup-node@v1 | ||||||
|  |       with: | ||||||
|  |         node-version: 10 | ||||||
|  |     - run: npm ci | ||||||
|  |       env: | ||||||
|  |         PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | ||||||
|  |     - run: npm run build | ||||||
|  |     # This only created problems, should we move ffmpeg back into npm? | ||||||
|  |     - run: node lib/cli/cli install ffmpeg | ||||||
|  |     - run: npx folio test/ --workers=1 --forbid-only --global-timeout=5400000 --retries=3 --reporter=dot,json | ||||||
|  |       shell: bash | ||||||
|  |       env: | ||||||
|  |         BROWSER: "chromium" | ||||||
|  |         PW_CHROMIUM_CHANNEL: "msedge" | ||||||
|  |         FOLIO_JSON_OUTPUT_NAME: "test-results/report.json" | ||||||
|  |     - uses: actions/upload-artifact@v1 | ||||||
|  |       if: ${{ always() }} | ||||||
|  |       with: | ||||||
|  |         name: edge-stable-test-results | ||||||
|  |         path: test-results | ||||||
|  | |||||||
| @ -178,7 +178,7 @@ export abstract class BrowserType extends SdkObject { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (!executable) { |     if (!executable) { | ||||||
|       // We can only validate dependencies for bundled browsers.
 |       // Only validate dependencies for bundled browsers.
 | ||||||
|       await validateHostRequirements(this._registry, this._name); |       await validateHostRequirements(this._registry, this._name); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -50,7 +50,6 @@ fixtures.persistentDownloadsContext.init(async ({ server, launchPersistent, test | |||||||
|       { |       { | ||||||
|         downloadsPath: testInfo.outputPath(''), |         downloadsPath: testInfo.outputPath(''), | ||||||
|         acceptDownloads: true, |         acceptDownloads: true, | ||||||
|         channel: browserChannel, |  | ||||||
|       } |       } | ||||||
|   ); |   ); | ||||||
|   logOnCI('--- setting content for the page ---'); |   logOnCI('--- setting content for the page ---'); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pavel Feldman
						Pavel Feldman