And I wait to see ".cm-content"
features/step_definitions/steps.rb:160
And I verify progress in the header of the current page is "not_tried" for level 1
features/step_definitions/progress.rb:81
And I focus selector ".cm-content"
features/step_definitions/steps.rb:625
And I press keys "print('more code')\n"
features/step_definitions/steps.rb:1386
And I wait for 1 second
features/step_definitions/steps.rb:407
And I press "uitest-codebridge-run"
features/step_definitions/steps.rb:436
And I wait until "#uitest-codebridge-console" contains text "more code"
features/step_definitions/steps.rb:268
Then I verify progress in the header of the current page is "attempted" for level 1
features/step_definitions/progress.rb:81
And element "#instructions-continue-button" is visible
features/step_definitions/steps.rb:913
And element "#instructions-continue-button" contains text "Continue"
features/step_definitions/steps.rb:817
And I press "instructions-continue-button"
features/step_definitions/steps.rb:436
And I wait until current URL contains "http://studio.code.org/courses/allthethingscourse/units/1/lessons/50/levels/2"
features/step_definitions/steps.rb:379
Then I verify progress in the header of the current page is "perfect" for level 1
features/step_definitions/progress.rb:81
And I wait until element "#resource-panel-tab-validation" is visible
features/step_definitions/steps.rb:313
And I press "resource-panel-tab-validation"
features/step_definitions/steps.rb:436
stale element reference: element is not attached to the page document
(Session info: chrome=109.0.5414.75); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception (Selenium::WebDriver::Error::StaleElementReferenceError)
./utils/selenium_browser.rb:51:in `create_response'
./features/step_definitions/steps.rb:440:in `block (2 levels) in '
./features/step_definitions/steps.rb:68:in `page_load'
./features/step_definitions/steps.rb:440:in `/^I press "([^"]*)"(?: to load a new (page|tab))?$/'
./features/support/hooks.rb:28:in `block in '
features/code_tools/pythonlab/pythonlab_run.feature:38:in `And I press "resource-panel-tab-validation"'
49 # Replaces 'unexpected response' message with the actual parsed error from the JSON response, if provided.
50 def create_response(code, body, content_type)
51 super
52 rescue Selenium::WebDriver::Error::WebDriverError => exception
53 if (msg = exception.message.match(/unexpected response, code=(?\d+).*\n(?.*)/))
54
And I wait to see "#instructions-validate-button"
features/step_definitions/steps.rb:160
And I wait until "#instructions-validate-button" is not disabled
features/step_definitions/steps.rb:1007
And I press "instructions-validate-button"
features/step_definitions/steps.rb:436
And I wait until element "#instructions-continue-button" is visible
features/step_definitions/steps.rb:313
And element "#instructions-continue-button" contains text "Continue"
features/step_definitions/steps.rb:817
Then I verify progress in the header of the current page is "perfect" for level 2
features/step_definitions/progress.rb:81
Then I sign out
features/step_definitions/account_steps.rb:278