Skip to content

Commit

Permalink
more testing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 20, 2024
1 parent a0ce8e5 commit ff4a15e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
- ${MAILCATCHER_HTTP:-4084}:1080

chrome:
image: selenium/standalone-chrome:96.0
image: selenium/standalone-chrome:nightly
ports:
- ${VNC_HTTP:-7904}:7900

2 changes: 1 addition & 1 deletion test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup

super

current_window.resize_to(1400, 1400)
current_window.resize_to(1920, 4000)

user = FactoryGirl.create(:user)
login_as(user, role: User::STAFF)
Expand Down
6 changes: 2 additions & 4 deletions test/system/theses_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,8 @@ class ThesesTest < ApplicationSystemTestCase
assert has_link?(remove1)
assert has_link?(remove2)

pp find_link(remove1).rect

click_link(remove1)

click_link_or_button(remove1)

assert_no_selector 'span', text: 'l1, f1'
assert_no_link(remove1)

Expand Down

0 comments on commit ff4a15e

Please sign in to comment.