We're updating the issue view to help you get more done.Learn more

Dreamwidth importing test fails due to a change in the image URL

Running cucumber features/importing/work_import_dw.feature:102 # Scenario: Creating a new work from an DW story that is posted to a community fails with

(::) failed steps (::)
expected to find xpath "//img[@src='http://www.rbreu.de/fan/stanwood_title_400.png']" but there were no matches (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/generic_steps.rb:94:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/generic_steps.rb:93:in `/^I should see the image "([^"]*)" text "([^"]*)"(?: within "([^"]*)")?$/'
features/importing/work_import_dw.feature:120:in `And I should see the image "src" text "http://www.rbreu.de/fan/stanwood_title_400.png"'
Failing Scenarios:
cucumber features/importing/work_import_dw.feature:102 # Scenario: Creating a new work from an DW story that is posted to a community

It fails because the URL for the image in the post has changed.

While we could just update the URL in the test, we should ideally use our own Dreamwidth account and community for this test anyway so we can avoid surprises like this in the future.

Status

Assignee

Ariana

Reporter

Sarken