Skip to content

Conversation

mbland
Copy link
Owner

@mbland mbland commented Jul 24, 2017

Required returning a Promise from urlp.loadApp, since we're fetching the user ID asynchronously. If network overhead is ever an issue, we can consider rendering index.html as a template, or sending back the logged-in user in an HTTP header.

Also, while experimenting with new end-to-end test cases, I realized that calling driver.close() would actually end the Chrome session, so the second commit removes that call from afterEach.

mbland added 2 commits July 24, 2017 16:51
Required returning a Promise from `urlp.loadApp`, since we're fetching
the user ID asynchronously. If network overhead is ever an issue, we can
consider rendering index.html as a template, or sending back the
logged-in user in an HTTP header.
While experimenting with new end-to-end test cases, I realized that
calling `driver.close()` would actually end the Chrome session.
@mbland mbland self-assigned this Jul 24, 2017
@coveralls
Copy link

coveralls commented Jul 24, 2017

Coverage Status

Coverage increased (+0.6%) to 98.42% when pulling aa6d1ad on login-logout into e66ca60 on master.

Forgot that PhantomJS can't parse them.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 97.823% when pulling 062a6d2 on login-logout into e66ca60 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 97.823% when pulling 062a6d2 on login-logout into e66ca60 on master.

@mbland
Copy link
Owner Author

mbland commented Jul 24, 2017

Not really sure why it's reporting less coverage. Merging.

@mbland mbland merged commit 9a30af0 into master Jul 24, 2017
@mbland mbland deleted the login-logout branch July 24, 2017 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants