ifrnead / dorothy

Assistente Moodle-SUAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Erro no migrate

everton-almeida opened this issue · comments

Ao executar o migrate apareceu o seguinte erro:

Executing MIGRATE command...
Traceback (most recent call last):
17: from bin/grades:26:in <main>' 16: from /Users/everton/dorothy/lib/commands/migrate.rb:17:in execute'
15: from /Users/everton/dorothy/lib/models/grades_page.rb:16:in fill' 14: from /Users/everton/dorothy/lib/models/grades_page.rb:16:in each'
13: from /Users/everton/dorothy/lib/models/grades_page.rb:17:in block in fill' 12: from /Users/everton/dorothy/lib/models/grader.rb:13:in fill'
11: from /Users/everton/dorothy/lib/models/grader.rb:48:in check_grade' 10: from /Users/everton/dorothy/lib/util/webdriver/browser.rb:26:in find'
9: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/common/search_context.rb:62:in find_element' 8: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/oss/bridge.rb:549:in find_element_by'
7: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/oss/bridge.rb:579:in execute' 6: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/bridge.rb:170:in execute'
5: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/http/common.rb:61:in call' 4: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/http/default.rb:107:in request'
3: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/http/common.rb:83:in create_response' 2: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/http/common.rb:83:in new'
1: from /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/response.rb:32:in initialize' /usr/local/lib/ruby/gems/2.5.0/gems/selenium-webdriver-3.4.3/lib/selenium/webdriver/remote/response.rb:69:in assert_ok': invalid selector: Unable to locate an element with the xpath expression //a[@href='/edu/aluno//'][1]/../../../../td[]/table[@Class='info'][1]/tbody/tr/td/label[@data-hint='soma das atividades U1']/../following-sibling::td[1]/input because of the following error: (Selenium::WebDriver::Error::InvalidSelectorError)
SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//a[@href='/edu/aluno//'][1]/../../../../td[]/table[@Class='info'][1]/tbody/tr/td/label[@data-hint='soma das atividades U1']/../following-sibling::td[1]/input' is not a valid XPath expression.
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.37.544337 (8c0344a12e552148c185f7d5117db1f28d6c9e85),platform=Mac OS X 10.11.6 x86_64)

=)
Abraços, meu coordenador.
Everton