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

Test case name is being truncated #256

Open
brentleyjones opened this issue Dec 6, 2016 · 0 comments
Open

Test case name is being truncated #256

brentleyjones opened this issue Dec 6, 2016 · 0 comments

Comments

@brentleyjones
Copy link

brentleyjones commented Dec 6, 2016

I have a test case name that is Login Username Login screen has the correct elements in the test suite CCI Username Login. This is a generated test case with Cucumberish. In the command line output I get something like this:

CCI Login Method Selection
    ✓ 1 (44.598 seconds)
    ✓ 2 (6.125 seconds)
    ✓ Selection (6.736 seconds)
    ✓ Selection (1.397 seconds)
    ✓ Selection (2.085 seconds)
CCI Organization Selection
    ✓ login (5.415 seconds)
    ✓ login (6.659 seconds)
    ✓ selection (7.734 seconds)
    ✓ 1 (6.751 seconds)
    ✓ 2 (7.755 seconds)
    ✓ error (6.560 seconds)
    ✓ screen (2.348 seconds)
CCI SSO Login
    ✓ elements (7.192 seconds)
    ✓ screen (14.069 seconds)
CCI Username Login
    ✗ elements, UI Testing Failure - No matches found for "nav menu icon" Button
    ✓ screen (16.902 seconds)
    ✓ error (7.878 seconds)
    ✓ screen (2.541 seconds)
    ✗ login, UI Testing Failure - No matches found for Switch

You can see it only displays the last word of the test case name, instead of the full name.

The raw output is:
Test Case '-[CCI Username Login Username Login screen has the correct elements]' failed (13.532 seconds).

I get that the normal format is -[Class method_name_here]. Is there a way to change the matcher such that if there is more than two words it takes all of them? Or, if it knows the test suite (from when it output it before) could it use that to match the test suite and the rest is the test case?

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

1 participant