philipfong / free-agent-sleeper

Automate adding of free agents in fantasy football leagues
77 stars 29 forks source link

Yahoo: expected to find css ".First.Last" 1 time but there were no matches #14

Open TNT-c opened 4 years ago

TNT-c commented 4 years ago

Unable to add player:

RSpec::Repeat: 1st try error in ./spec/yahoo/add_free_agent.rb:49: expected to find css ".First.Last" 1 time but there were no matches RSpec::Repeat: 2nd try error in ./spec/yahoo/add_free_agent.rb:49: expected to find css ".First.Last" 1 time but there were no matches RSpec::Repeat: 3rd try error in ./spec/yahoo/add_free_agent.rb:49: expected to find css ".First.Last" 1 time but there were no matches F

Failures:

1) Add free agents to Fantasy Football league Log in and add/drop player Failure/Error: page.should have_css('.First.Last', :count => 1) expected to find css ".First.Last" 1 time but there were no matches

./spec/yahoo/add_free_agent.rb:21:in `add_drop'

 # ./spec/yahoo/add_free_agent.rb:50:in `block (2 levels) in <top (required)>'
 # ./spec/spec_helper.rb:26:in `block (2 levels) in <top (required)>'

Finished in 3 minutes 4 seconds (files took 13.67 seconds to load) 1 example, 1 failure

Failed examples:

rspec ./spec/yahoo/add_free_agent.rb:49 # Add free agents to Fantasy Football league Log in and add/drop player

superflysocal commented 4 years ago

I am having the same issue. is this currently still working?

superflysocal commented 4 years ago

Unable to add player:

RSpec::Repeat: 1st try error in ./spec/yahoo/add_free_agent.rb:49: expected to find css ".First.Last" 1 time but there were no matches RSpec::Repeat: 2nd try error in ./spec/yahoo/add_free_agent.rb:49: expected to find css ".First.Last" 1 time but there were no matches RSpec::Repeat: 3rd try error in ./spec/yahoo/add_free_agent.rb:49: expected to find css ".First.Last" 1 time but there were no matches F

Failures:

  1. Add free agents to Fantasy Football league Log in and add/drop player Failure/Error: page.should have_css('.First.Last', :count => 1) expected to find css ".First.Last" 1 time but there were no matches

    ./spec/yahoo/add_free_agent.rb:21:in `add_drop'

    ./spec/yahoo/add_free_agent.rb:50:in `block (2 levels) in <top (required)>'

    ./spec/spec_helper.rb:26:in `block (2 levels) in <top (required)>'

Finished in 3 minutes 4 seconds (files took 13.67 seconds to load) 1 example, 1 failure

Failed examples:

rspec ./spec/yahoo/add_free_agent.rb:49 # Add free agents to Fantasy Football league Log in and add/drop player

I am having the same issue. Is this script still working?

superflysocal commented 4 years ago

Still can't get this to work. From running it realtime, it seems that the click_button('Search') command is not working. It doesn't pull up the page with the selected player is on.

sudo-a9 commented 3 years ago

Same issue with me. Would love it if the Dev, or someone, could resolve this!

dannychran commented 3 years ago

@philipfong any chance you regained some passion for this project?

sudo-a9 commented 3 years ago

I'm keeping my fingers crossed that this project isn't dead. I've tried finding Philip elsewhere to ask him about this project but without any luck.

kuroshhashemi commented 3 years ago

Hi I created the following PR: https://github.com/philipfong/free-agent-sleeper/pull/18. It's working for me. Please review and merge. However fair warning, I'm not really a programmer (esp not a Ruby one), so I'm not sure if my approach is right