tastejs / todomvc

Helping you select an MV* framework - Todo apps for React.js, Ember.js, Angular, and many more
http://todomvc.com
Other
28.59k stars 13.78k forks source link

Fix cypress test for dojo #1928

Open gj262 opened 6 years ago

gj262 commented 6 years ago

Re #1866

The Dojo example fails all cypress tests relating to edit i.e.:

As far as I can tell in Todo.js - saveEdits() - newTitle does not reflect the value of the input. Note: it will pass the test every now and then 😢

Editing works fine in this example when performed manually.

@'ing the credited authors: @jthomas @edchat @asudoh

asudoh commented 6 years ago

@kitsonk @dylans Are either of you interested in introducing Dojo2 example of TodoMVC (or is there one already)? Thanks!

dylans commented 6 years ago

@asudoh there’s a Dojo 2+ todomvc example at https://github.com/dojo/examples/tree/master/todo-mvc

asudoh commented 6 years ago

@dylans Great to hear! Do you guys want to contribute the code here? Thanks!

dylans commented 6 years ago

@dylans Great to hear! Do you guys want to contribute the code here? Thanks!

The main reason we haven't is that with our examples repo, we're able to quickly iterate all of our examples with each new release in one place. That said, we're open to contributing the same code here if that's useful.

FadySamirSadek commented 6 years ago

@dylans I think having the example in the TodoMVC Repo and on the website will be very useful to people who want to compare how Dojo works relative to other libraries/frameworks. Also, It may introduce new people to Dojo which is a good thing. WDYT ?

dylans commented 6 years ago

That's fine, though with the HNPWA demos, aren't you linking out to other repos/websites instead of maintaining your own copy? Mostly I'm just concerned with it getting stale... when it's in our examples repo, we keep it current, but when it's external we're more likely to forget about it as we introduce new releases.