Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using drag handle for test brakes it #48

Open
xploshioOn opened this issue Apr 27, 2020 · 1 comment
Open

using drag handle for test brakes it #48

xploshioOn opened this issue Apr 27, 2020 · 1 comment

Comments

@xploshioOn
Copy link

import { create } from 'ember-cli-page-object';
import dragSortList from 'my-app/tests/pages/components/drag-sort-list'

export default create({
  sortableList: dragSortList({}, '[draggable]'),
});

using this as page object for my tests it just doesn't run it and ignore it.

but just when using '[draggable]', when I just use sortableList: dragSortList, it doesn't break the test, but in my case isn't working because I use the handle for it and it shows me just one item on the list. I tried to check on the tests that are already on the repo to find some light but there is no test with the drag handle.

@lolmaus
Copy link
Owner

lolmaus commented Apr 28, 2020

Can you share your code in a runnable app? Or fork the addon and use the dummy app to add a test case that isn't working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants