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

Web API Support Proposals #2684

Closed
AndreyBelym opened this issue Aug 1, 2018 · 7 comments
Closed

Web API Support Proposals #2684

AndreyBelym opened this issue Aug 1, 2018 · 7 comments

Comments

@AndreyBelym
Copy link
Contributor

AndreyBelym commented Aug 1, 2018

This is a list of issues that prevent TestCafe from testing pages based on specific Web APIs. It means that TestCafe must implement a mock or a sandbox for such API to make pages work correctly in the testing environment.

Please, help the TestCafe team decide which features should be implemented in the next releases! If you like a feature described in any of the comments below, click the comment's header to visit the issue page and add the 👍 reaction to it.

If you want to see a different feature in this list, just create a new issue and it will be added to the list.

@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Aug 1, 2018

Allow to use HTML5 Clipboard API in tests

Browser prevent access to the HTML5 Clipboard API (document.execCommand('copy')) when it is invoked not from a user-generated event. It means, that the Clipboard API enabled code don't work under the TestCafe testing environment.

@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Aug 1, 2018

Support iframes with Data URI sources

TestCafe can't handle <iframe>s that have the src attribute set to a Data URI

@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Aug 1, 2018

Enable handling of window.print() dialog with t.setNativeDialogHandler

Dialogs created with window.print() are not handled by the handler installed with the t.setNativeDialogHandler method.

@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Aug 1, 2018

Make t.pressKey to work for elements that are descendants of Shadow DOM roots

Currently TestCafe can't emulate keyboard events if the target element is inside a Shadow DOM root.

@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Aug 1, 2018

Emulate HTML 5 Validation API

The checkValidity function always return true even when an element fails constraint validation.

@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Aug 1, 2018

Support pages that open additional windows

TestCafe can't test pages that create new windows using the window.open API, hyperlinks and forms with the target="_blank" attribute.

@AndreyBelym AndreyBelym changed the title List of requested Web API mocks and sandboxes List of missing Web API mocks and sandboxes Aug 1, 2018
@DevExpress DevExpress locked and limited conversation to collaborators Aug 1, 2018
@VasilyStrelyaev VasilyStrelyaev changed the title List of missing Web API mocks and sandboxes Web API Support Proposals Aug 1, 2018
@DevExpress DevExpress unlocked this conversation Aug 10, 2018
@DevExpress DevExpress locked and limited conversation to collaborators Aug 10, 2018
@AndreyBelym
Copy link
Contributor Author

AndreyBelym commented Sep 10, 2018

Add possibilty to use CSS pseudoclasses and pseudoelements in Selectors

Currently you can't create a Selector like Selector(':active') or Selector('.seekbar__knob::before'), or use pseudoclasses and pseudoelements to specify the target element of an action.

@AndreyBelym AndreyBelym pinned this issue Dec 19, 2018
@miherlosev miherlosev unpinned this issue Jun 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants