File tree Expand file tree Collapse file tree 7 files changed +324
-333
lines changed Expand file tree Collapse file tree 7 files changed +324
-333
lines changed Original file line number Diff line number Diff line change 44 build :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v3
7+ - uses : actions/checkout@v4
88 - uses : ruby/setup-ruby@v1
99 with :
10- ruby-version : 2.6
10+ ruby-version : 3.4
1111 bundler-cache : true
12- - uses : actions/cache@v3
12+ - uses : actions/cache@v4
1313 with :
1414 path : " ./vendor/bundle"
15- key : v1/${{ runner.os }}/ruby-2.6 /${{ hashFiles('**/Gemfile.lock') }}
16- restore-keys : v1/${{ runner.os }}/ruby-2.6 /
17- - uses : actions/setup-node@v1
15+ key : v1/${{ runner.os }}/ruby-3.4 /${{ hashFiles('**/Gemfile.lock') }}
16+ restore-keys : v1/${{ runner.os }}/ruby-3.4 /
17+ - uses : actions/setup-node@v4
1818 with :
19- node-version : 18
20- - uses : actions/cache@v3
19+ node-version : 20
20+ - uses : actions/cache@v4
2121 with :
2222 path : ~/.npm
23- key : v1/${{ runner.os }}/node-18 /${{ hashFiles('**/package-lock.lock ') }}
24- restore-keys : v1/${{ runner.os }}/node-18 /
23+ key : v1/${{ runner.os }}/node-20 /${{ hashFiles('**/package-lock.json ') }}
24+ restore-keys : v1/${{ runner.os }}/node-20 /
2525 - run : make test
2626 env :
2727 PERCY_TOKEN : ${{ secrets.PERCY_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ source "https://rubygems.org"
55git_source ( :github ) { |repo_name | "https://github.com/#{ repo_name } " }
66
77# gem "rails"
8- gem 'selenium-webdriver' , '~> 4.0.0.beta3 '
8+ gem 'selenium-webdriver' , '~> 4.36.0 '
99gem 'percy-selenium' , '~> 1.1.1'
10+ gem 'webrick'
11+ gem 'base64'
Original file line number Diff line number Diff line change 11GEM
22 remote: https://rubygems.org/
33 specs:
4- childprocess (4.0.0 )
4+ base64 (0.3.0 )
5+ json (2.13.2 )
6+ logger (1.7.0 )
57 percy-selenium (1.1.1 )
68 selenium-webdriver (>= 4.0.0.beta1 )
7- rexml (3.2.5 )
8- rubyzip (2.3.0 )
9- selenium-webdriver (4.0.0.beta3 )
10- childprocess (>= 0.5 , < 5.0 )
11- rexml (~> 3.2 )
12- rubyzip (>= 1.2.2 )
9+ prism (1.4.0 )
10+ rexml (3.4.4 )
11+ rubyzip (3.1.1 )
12+ selenium-webdriver (4.36.0 )
13+ base64 (~> 0.2 )
14+ json (<= 2.13.2 )
15+ logger (~> 1.4 )
16+ prism (~> 1.0 , < 1.5 )
17+ rexml (~> 3.2 , >= 3.2.5 )
18+ rubyzip (>= 1.2.2 , < 4.0 )
1319 websocket (~> 1.0 )
14- websocket (1.2.9 )
20+ webrick (1.9.1 )
21+ websocket (1.2.11 )
1522
1623PLATFORMS
24+ arm64-darwin-24
1725 ruby
1826
1927DEPENDENCIES
28+ base64
2029 percy-selenium (~> 1.1.1 )
21- selenium-webdriver (~> 4.0.0.beta3 )
30+ selenium-webdriver (~> 4.36.0 )
31+ webrick
2232
2333BUNDLED WITH
24- 1.17.2
34+ 2.7.1
Original file line number Diff line number Diff line change 55Example app showing integration of [ Percy] ( https://percy.io/ ) visual testing
66into Ruby Selenium tests.
77
8+ ## Versions used in this branch
9+
10+ - selenium-webdriver: 4.36.0
11+ - percy-selenium: 1.1.1
12+ - @percy/cli : 1.31.2
13+ - todomvc-app-css: 2.4.3
14+
815Based on the [ TodoMVC] ( https://github.com/tastejs/todomvc ) [ VanillaJS] ( https://github.com/tastejs/todomvc/tree/master/examples/vanillajs )
916app, forked at commit [ 4e301c7014093505dcf6678c8f97a5e8dee2d250] ( https://github.com/tastejs/todomvc/tree/4e301c7014093505dcf6678c8f97a5e8dee2d250 ) .
1017
You can’t perform that action at this time.
0 commit comments