Change trigger('focus') -> click
This commit is contained in:
parent
50701b58bf
commit
4b5483321a
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue