cfpb / college-costs

⚠️ Deprecated: see note. ⚠️ A tool to help students weigh the costs and rewards of a college program.
https://www.consumerfinance.gov/paying-for-college2/understanding-your-financial-aid-offer/about-this-tool/
50 stars 27 forks source link

Fixes Functional Testing #330

Closed mistergone closed 6 years ago

mistergone commented 6 years ago

This pull request fixes functional tests in the repo. It also addresses style issues introduced by the upgrade to Capital Framework 7.

Additions

Changes

Testing

Review

Notes

Checklist

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling ba71685e34d746e23907d538554a9d6d6e17e4ed on functional-fixes into 1a239ddb80bb1ee9bd2807a3e76dcc7b65da7d70 on master.

schbetsy commented 6 years ago

I'm afraid something about my setup is wrong, because I'm getting failures when I try to run the tests on this branch.

Sometimes the output looks like this:

> protractor test/functional/conf.js
[09:55:14] I/launcher - Running 1 instances of WebDriver
[09:55:14] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
Started
.....F.................................F......FF......FFF.FFF.*...F......F.F.............

And other times it's like this:

.....F.................................F......FF..............*..........FA Jasmine spec timed out. Resetting the WebDriver Control Flow.
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
FA Jasmine spec timed out. Resetting the WebDriver Control Flow.
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
FA Jasmine spec timed out. Resetting the WebDriver Control Flow.
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
FA Jasmine spec timed out. Resetting the WebDriver Control Flow.
[then it starts taking forever so i ctrl-c to stop it]

For reference, ./standalone_setup.sh ran without errors, and the django server log doesn't show any errors.

In case it's relevant, here are some versions of things I have:

> node -v
v8.11.3

> npm -v
5.6.0

> webdriver-manager version
[10:05:25] I/version - webdriver-manager 12.1.0

Any idea what's going on there?