Skip to content

Add javascript tests for the Vue objects#436

Merged
stefanoborini merged 18 commits into
switch_to_vuefrom
add_view_tests
May 11, 2017
Merged

Add javascript tests for the Vue objects#436
stefanoborini merged 18 commits into
switch_to_vuefrom
add_view_tests

Conversation

@martinRenou

Copy link
Copy Markdown
Member

No description provided.

@codecov-io

codecov-io commented May 10, 2017

Copy link
Copy Markdown

Codecov Report

Merging #436 into switch_to_vue will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           switch_to_vue     #436   +/-   ##
==============================================
  Coverage          95.33%   95.33%           
==============================================
  Files                 88       88           
  Lines               4077     4077           
  Branches             259      259           
==============================================
  Hits                3887     3887           
  Misses               138      138           
  Partials              52       52

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a628f23...68099ec. Read the comment docs.

@martinRenou martinRenou requested a review from stefanoborini May 10, 2017 14:06
@martinRenou martinRenou changed the title Add javascript tests for the Vue objects (user page) [WIP] Add javascript tests for the Vue objects (user page) May 10, 2017
// Simulate application running
model.app_list[0].status = 'RUNNING';
model.app_list[0].app_data.container = {};
model.app_list[0].app_data.container.url_id = 'blabla.com';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

127.0.0.1

@martinRenou martinRenou changed the title Add javascript tests for the Vue objects (user page) Add javascript tests for the Vue objects May 11, 2017
model.selected_index = 1;

Vue.nextTick(function() {
assert.equal(app_view.$el.children[0].tagName, 'DIV');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

search if there's a form somehow.

@stefanoborini stefanoborini merged commit a90d862 into switch_to_vue May 11, 2017
@stefanoborini stefanoborini deleted the add_view_tests branch May 11, 2017 13:01
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.

3 participants