8000 improve todo-mvc example by RoelVanderPaal · Pull Request #354 · armanbilge/calico · GitHub
[go: up one dir, main page]

Skip to content

improve todo-mvc example - #354

Merged
armanbilge merged 6 commits into
armanbilge:mainfrom
RoelVanderPaal:improve_todomvc
Feb 29, 2024
Merged

armanbilge merged 6 commits into
armanbilge:mainfrom
RoelVanderPaal:improve_todomvc

Conversation

@RoelVanderPaal
Copy link
Copy Markdown
Contributor

- implement full app specification: https://github.com/tastejs/todomvc/blob/master/app-spec.md
  - toggle-all button
  - editing:
    - trim text
    - remove when empty
    - undo on escape key
  - clear-completed button
Co-authored-by: Arman Bilge <armanbilge@gmail.com>
@RoelVanderPaal
Copy link
Copy Markdown
Contributor Author

@armanbilge
Copy link
Copy Markdown
Owner

FYI, I tested with https://github.com/RoelVanderPaal/playwright/tree/main/examples/todomvc

Cool! Does Playwright have a Java API? Would be cool to have those tests integrated into our test suite. Actually, at least a couple other Scala.js UI frameworks could share them as well :)

@armanbilge armanbilge left a comment
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

thanks for your work on this!! looks great :)

@armanbilge
armanbilge merged commit 5d4c10f into armanbilge:main Feb 29, 2024
@RoelVanderPaal
Copy link
Copy Markdown
Contributor Author

FYI, I tested with https://github.com/RoelVanderPaal/playwright/tree/main/examples/todomvc

Cool! Does Playwright have a Java API? Would be cool to have those tests integrated into our test suite. Actually, at least a couple other Scala.js UI frameworks could share them as well :)

It does indeed. Porting the tests from Javascript to Java is probably not a lot of work.
Running the tests automatically is a bit more complicated since the tested application must be served over HTTP.

@armanbilge
Copy link
Copy Markdown
Owner

Running the tests automatically is a bit more complicated since the tested application must be served over HTTP.

A bit more complicated but also doable! If you decide to port the tests from JS to Scala/Java I would love to make it part of the test suite here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 4B9B h3 class="discussion-sidebar-heading text-bold"> Labels
None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0