Project

General

Profile

Actions

Bug #4641

closed

[Tests] A few projects related Workbench tests are failing in jenkins. Make them pass.

Added by Radhika Chippada over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Target version:
Story points:
0.5

Description

Looking at the fail-1.png, it appears that the page width used for the test is not wide enough and some of the buttons in project page (Add data, Run a pipeline, Add a subproject) are not visible. It might help to increase the page size for projects_test.rb.


Subtasks 1 (0 open1 closed)

Task #4648: Review branch: 4641-make-jenkins-tests-passResolvedRadhika Chippada11/21/2014Actions
Actions #1

Updated by Radhika Chippada over 9 years ago

  • Description updated (diff)
  • Assigned To set to Radhika Chippada
Actions #2

Updated by Tim Pierce over 9 years ago

  • Target version changed from Bug Triage to 2014-12-10 sprint
Actions #3

Updated by Radhika Chippada over 9 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Radhika Chippada over 9 years ago

What changed:

  • Use selenium driver in projects_test.rb
  • Set slightly bigger browser width
  • Update three tests that failed.
    • Add "wait_for_ajax" for test 'Check collection count for A Project in the tab pane titles'. On a side note, I suspect this actually never worked correctly earlier because the count must always have been 0.
    • Add confirm dialog OK button click for sharing tests upon Revoke action.
Actions #5

Updated by Brett Smith over 9 years ago

Reviewing 5b3a6fb

In current master, the projects integration tests all pass when run by themselves. This suggests that the problem is not the tests themselves, but that state is leaking between tests. I would prefer to see a solution that cleans up that state consistently, rather than patching over the projects tests. Otherwise, the leakage may cause surprising effects for other tests later.

The build started failing after #4592 was merged, which added a test that resizes the browser window. Perhaps Capybara doesn't reset the window back to its original state after that? But whatever state is leaking, plugging the leak would be a lot cleaner, I think.

Actions #6

Updated by Radhika Chippada over 9 years ago

Brett: no, #4592 did not add window sizing. The window sizing was added for #3117 and we had several successful runs since then.

Actions #7

Updated by Radhika Chippada over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:c9760bc4b644c0aa877fb4137d2f6eac585ed945.

Actions #8

Updated by Ward Vandewege over 9 years ago

  • Story points set to 0.5
Actions

Also available in: Atom PDF