Commit 4b548332 authored by Stan Hu's avatar Stan Hu

Change trigger('focus') -> click

parent 50701b58
......@@ -24,7 +24,7 @@ describe 'Admin > Users > Impersonation Tokens', js: true do
fill_in "Name", with: name
# Set date to 1st of next month
find_field("Expires at").trigger('focus')
find_field("Expires at").click
find(".pika-next").click
click_on "1"
......
......@@ -34,7 +34,7 @@ describe 'Profile > Personal Access Tokens', js: true do
fill_in "Name", with: name
# Set date to 1st of next month
find_field("Expires at").trigger('focus')
find_field("Expires at").click
find(".pika-next").click
click_on "1"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment