Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
obs-server
obs-server-2.7.1-0028-ci-Fix-test-suite-failure...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-server-2.7.1-0028-ci-Fix-test-suite-failures-during-OBS-rpm-build-Webu.patch of Package obs-server
From 768a1f06ff2ae2a296ef369b1c46c29f4b309a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Geuken?= <bgeuken@suse.de> Date: Wed, 8 Jun 2016 11:20:28 +0200 Subject: [PATCH 28/29] [ci] Fix test suite failures during OBS rpm build (Webui::DownloadOnDemandControllerTest) ==== [ 1352s] Webui::DownloadOnDemandControllerTest [ 1352s] test_adding_download_on_demand ERROR (8.39s) [ 1352s] Capybara::ElementNotFound: Capybara::ElementNotFound: Unable to find xpath "//a[@href='/project/repository_state/home:user5/My%20DoD%20repository']" [ 1352s] capybara (2.5.0) lib/capybara/node/finders.rb:43:in `block in find' [ 1352s] capybara (2.5.0) lib/capybara/node/base.rb:84:in `synchronize' [ 1352s] capybara (2.5.0) lib/capybara/node/finders.rb:32:in `find' [ 1352s] capybara (2.5.0) lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>' [ 1352s] capybara (2.5.0) lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>' [ 1352s] test/functional/webui/download_on_demand_controller_test.rb:70:in `block in test_adding_download_on_demand' --- .../functional/webui/download_on_demand_controller_test.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/api/test/functional/webui/download_on_demand_controller_test.rb b/src/api/test/functional/webui/download_on_demand_controller_test.rb index cb860a4..10b58da 100644 --- a/src/api/test/functional/webui/download_on_demand_controller_test.rb +++ b/src/api/test/functional/webui/download_on_demand_controller_test.rb @@ -66,14 +66,12 @@ class Webui::DownloadOnDemandControllerTest < Webui::IntegrationTest fill_in('Public Key', with: 'JLKSDJFSJ83U4902RKLJSDFLJF2J9IJ23OJFKJFSDF') click_button('Save') - within "#repository-list" do - find(:xpath, "//a[@href='/project/repository_state/home:user5/My%20DoD%20repository']").must_have_text("My DoD repository") - find_link('Add') - find(".edit-dod-repository-link-container").must_have_link('Edit') - find(".edit-dod-repository-link-container").must_have_link('Delete') - page.must_have_link 'http://somerandomurl.es' - page.must_have_text 'rpmmd' - end + find_link("My DoD repository") + find_link('Add') + find(".edit-dod-repository-link-container").must_have_link('Edit') + find(".edit-dod-repository-link-container").must_have_link('Delete') + page.must_have_link 'http://somerandomurl.es' + page.must_have_text 'rpmmd' click_link("Repositories") click_link("Add") -- 2.7.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor