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

Add assert API support ClientFunction as an argument in the expect function #1009

Closed
romanresh opened this issue Nov 30, 2016 · 1 comment
Closed
Assignees
Labels
API MODIFICATION LEVEL: non-breaking changes AREA: client AREA: server STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: API TYPE: enhancement The accepted proposal for future implementation.
Milestone

Comments

@romanresh
Copy link

I can pass the Selector object to the expect function, but when I pass ClientFunction I get the following error in the output:
AssertionError: expected [Function: __$$clientFunction$$] to deeply equal 2

@inikulin inikulin added AREA: client AREA: server SYSTEM: API TYPE: enhancement The accepted proposal for future implementation. labels Dec 14, 2016
@inikulin inikulin added this to the Sprint #3 milestone Dec 14, 2016
@inikulin inikulin self-assigned this Jan 2, 2017
@AlexanderMoskovkin AlexanderMoskovkin changed the title New assert API doesn't support ClientFunction as an argument in the expect function Add assert API support ClientFunction as an argument in the expect function Jan 12, 2017
@lock
Copy link

lock bot commented Mar 29, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API MODIFICATION LEVEL: non-breaking changes AREA: client AREA: server STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: API TYPE: enhancement The accepted proposal for future implementation.
Projects
None yet
Development

No branches or pull requests

3 participants