tests: Pull in older version on chromium
To work around https://bugs.chromium.org/p/chromium/issues/detail?id=1170634
This commit is contained in:
		
							parent
							
								
									18a7b9c999
								
							
						
					
					
						commit
						168e0397aa
					
				| @ -9,12 +9,19 @@ mkdir -p "$LOGS" | |||||||
| chmod a+w "$LOGS" | chmod a+w "$LOGS" | ||||||
| 
 | 
 | ||||||
| # install browser; on RHEL, use chromium from epel | # install browser; on RHEL, use chromium from epel | ||||||
| if ! rpm -q chromium-headless; then | # HACK: chromium 88 crashes with some keyDown commands: https://bugs.chromium.org/p/chromium/issues/detail?id=1170634 | ||||||
|     if grep -q 'ID=.*rhel' /etc/os-release; then | if rpm -q chromium-headless; then | ||||||
|         dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm |     dnf remove -y chromium-headless | ||||||
|         dnf config-manager --enable epel | fi | ||||||
|     fi | 
 | ||||||
|     dnf install -y chromium-headless | if grep -q 'ID=.*rhel' /etc/os-release; then | ||||||
|  |     dnf install -y \ | ||||||
|  |     https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.el8/x86_64/chromium-common-87.0.4280.141-1.el8.x86_64.rpm \ | ||||||
|  |     https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.el8/x86_64/chromium-headless-87.0.4280.141-1.el8.x86_64.rpm | ||||||
|  | else | ||||||
|  |     dnf install -y \ | ||||||
|  |     https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.fc33/x86_64/chromium-common-87.0.4280.141-1.fc33.x86_64.rpm \ | ||||||
|  |     https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.fc33/x86_64/chromium-headless-87.0.4280.141-1.fc33.x86_64.rpm | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| # make libpwquality less aggressive, so that our "foobar" password works | # make libpwquality less aggressive, so that our "foobar" password works | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user