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

form.field.Select: update the component tests #5342

Open
tobiu opened this issue Mar 15, 2024 · 0 comments
Open

form.field.Select: update the component tests #5342

tobiu opened this issue Mar 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tobiu
Copy link
Collaborator

tobiu commented Mar 15, 2024

Some of the current tests make no longer sense from an UX perspective.

Example:

        await t.waitForSelector('.neo-list-item.neo-navigator-active-item:contains("Wyoming")');

        await t.type(null, '[ENTER]');

        await t.waitForSelectorNotFound('.neo-picker-container:visible');

        await t.waitFor(100);

        t.is(inputField.value, 'Wyoming');

        await t.type(null, '[DOWN]');

        // Picker Must show with Wyoming activated
        await t.waitForSelector('.neo-list-item.neo-navigator-active-item:contains("Wyoming")');

        await t.type(null, '[UP]');

        await t.waitForSelector('.neo-list-item.neo-navigator-active-item:contains("Wisconsin")');

input value changes will open the picker and filter the related list.

navigating to an item (Wyoming) and then hitting ENTER will drop this name into the input field and then the list gets filtered down to only contain this item. so, navigating up to an item which does not match the filter (Wisconsin) can not work.

@ExtAnimal

@tobiu tobiu added the enhancement New feature or request label Mar 15, 2024
@tobiu tobiu self-assigned this Mar 15, 2024
@tobiu tobiu added this to To do in Client related tickets via automation Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant