adhoc/Bug fixing the last-failed retries across jobs (#4086)
				
					
				
			* chore: adding Kurt's fix for electron in the new CI CD files. Adding a forced failure to test * chore: increasing max retry for electron to match the playwright browser retry count * fix: debugging ci cd for playwright last report * fix: changing the output dir for snapshot to a custom one to not overwrite the previous job runs failure * fix: found out hidden files are excluded automatically, was a breaking change :( * fix: output typo * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest) * A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest) * Delete test-results-snapshots/.last-run.json * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest) * A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest) * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest) * fix: cleanup * A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest) * Delete test-results-snapshots/.last-run.json * fix: removing this folder, should have been git ignored * fix: do not need these anymore since the hidden files is fixed * fix: removed hard coded failure for debugging --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/ci-cd-scripts/playwright-electron.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/ci-cd-scripts/playwright-electron.sh
									
									
									
									
										vendored
									
									
								
							@ -19,7 +19,7 @@ if [[ ! -f "test-results/.last-run.json" ]]; then
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
retry=1
 | 
			
		||||
max_retrys=2
 | 
			
		||||
max_retrys=4
 | 
			
		||||
 | 
			
		||||
# retry failed tests, doing our own retries because using inbuilt playwright retries causes connection issues
 | 
			
		||||
while [[ $retry -le $max_retrys ]]; do
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user