public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-selenium-webdriver] rawhide: Testsuite: apply upstream change to use Pixel 10 emulation
@ 2026-10-30  2:46 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-10-30  2:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rubygem-selenium-webdriver
Branch : rawhide
Commit : 64371ddf2b86a4f5bffd9486ff151ae691c4747e
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-10-30T11:46:29+09:00
Stats  : +50/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rubygem-selenium-webdriver/c/64371ddf2b86a4f5bffd9486ff151ae691c4747e?branch=rawhide

Log:
Testsuite: apply upstream change to use Pixel 10 emulation

---
diff --git a/rubygem-selenium-webdriver-rb-c42910d-testsuite-emulate-pixel10.patch b/rubygem-selenium-webdriver-rb-c42910d-testsuite-emulate-pixel10.patch
new file mode 100644
index 0000000..ff523ab
--- /dev/null
+++ b/rubygem-selenium-webdriver-rb-c42910d-testsuite-emulate-pixel10.patch
@@ -0,0 +1,42 @@
+From c42910d08f7942801ad57849dc506a444da997b3 Mon Sep 17 00:00:00 2001
+From: Titus Fortner <titus.fortner@gmail.com>
+Date: Wed, 26 Aug 2026 14:22:02 -0500
+Subject: [PATCH] [rb] emulate Pixel 10 instead of the delisted Nexus 5
+
+---
+ rb/spec/integration/selenium/webdriver/chrome/options_spec.rb | 4 ++--
+ rb/spec/integration/selenium/webdriver/edge/options_spec.rb   | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/rb/spec/integration/selenium/webdriver/chrome/options_spec.rb b/rb/spec/integration/selenium/webdriver/chrome/options_spec.rb
+index 148c5555c02c9..93c06ca1dfcc8 100644
+--- a/rb/spec/integration/selenium/webdriver/chrome/options_spec.rb
++++ b/rb/spec/integration/selenium/webdriver/chrome/options_spec.rb
+@@ -24,9 +24,9 @@ module WebDriver
+     module Chrome
+       describe Options, exclusive: [{bidi: false, reason: 'Not yet implemented with BiDi'}, {browser: :chrome}] do
+         it 'passes emulated device correctly' do
+-          reset_driver!(emulation: {device_name: 'Nexus 5'}) do |driver|
++          reset_driver!(emulation: {device_name: 'Pixel 10'}) do |driver|
+             ua = driver.execute_script 'return window.navigator.userAgent'
+-            expect(ua).to include('Nexus 5')
++            expect(ua).to include('Pixel 10')
+           end
+         end
+ 
+diff --git a/rb/spec/integration/selenium/webdriver/edge/options_spec.rb b/rb/spec/integration/selenium/webdriver/edge/options_spec.rb
+index 6e347638906a7..64dba692ac464 100644
+--- a/rb/spec/integration/selenium/webdriver/edge/options_spec.rb
++++ b/rb/spec/integration/selenium/webdriver/edge/options_spec.rb
+@@ -24,9 +24,9 @@ module WebDriver
+     module Edge
+       describe Options, exclusive: [{bidi: false, reason: 'Not yet implemented with BiDi'}, {browser: :edge}] do
+         it 'passes emulated device correctly' do
+-          reset_driver!(emulation: {device_name: 'Nexus 5'}) do |driver|
++          reset_driver!(emulation: {device_name: 'Pixel 10'}) do |driver|
+             ua = driver.execute_script 'return window.navigator.userAgent'
+-            expect(ua).to include('Nexus 5')
++            expect(ua).to include('Pixel 10')
+           end
+         end
+ 

diff --git a/rubygem-selenium-webdriver.spec b/rubygem-selenium-webdriver.spec
index 0bdd94c..d7acf92 100644
--- a/rubygem-selenium-webdriver.spec
+++ b/rubygem-selenium-webdriver.spec
@@ -4,7 +4,7 @@
 
 Name: rubygem-%{gem_name}
 Version: 4.34.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 Summary: Selenium is a browser automation tool for automated testing of webapps and more
 License: Apache-2.0
 URL: https://selenium.dev
@@ -21,6 +21,9 @@ Patch0: rubygem-selenium-webdriver-4.34.0-Use-Rack-Files-for-Rack-3-compatibilit
 # Enable compatibility with rubyzip v3.
 # https://github.com/SeleniumHQ/selenium/pull/16108/commits/b91463c4eb2059da2cbdced3e65f1a7aa2708829
 Patch1: rubygem-selenium-webdriver-4.35.0-rb-Allow-to-use-rubyzip-v3.patch
+# Testsuite: emulate Pixel 10 instead of the delisted Nexus 5
+# https://github.com/SeleniumHQ/selenium/commit/c42910d08f7942801ad57849dc506a444da997b3
+Patch2: rubygem-selenium-webdriver-rb-c42910d-testsuite-emulate-pixel10.patch
 
 # There is no other driver in Fedora, therefore suggest what we have. This also
 # reflescts the `selenium-manager` stub above.
@@ -73,6 +76,7 @@ Documentation for %{name}.
 (
 cd %{builddir}
 %patch 0 -p1
+%patch 2 -p1
 )
 
 %patch 1 -p2
@@ -166,6 +170,9 @@ HEADLESS=true SE_CHROMEDRIVER=chromedriver rspec spec/integration
 %{gem_instdir}/selenium-webdriver.gemspec
 
 %changelog
+* Fri Oct 30 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.34.0-5
+- Testsuite: apply upstream change to use Pixel 10 emulation
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.34.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-30  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30  2:46 [rpms/rubygem-selenium-webdriver] rawhide: Testsuite: apply upstream change to use Pixel 10 emulation Mamoru TASAKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox