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

timeout error after waiting for 300 sec with version 3.0-beta-01 #368

Closed
borncodeguru opened this issue Sep 23, 2020 · 2 comments
Closed

Comments

@borncodeguru
Copy link

borncodeguru commented Sep 23, 2020

I am trying to write unit test for java script code. This is using JQuery as also. I am using jasmine-maven-plugin version 3.0-beta-01. When I run command "mvn clean test", it print below.

[INFO] Executing Jasmine Specs ChromeDriver was started successfully. Sep 22, 2020 11:16:21 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C [WARNING] Attempted to wait for your specs to finish processing over the course of 300 seconds, but it still appears to be running. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE

Why it keeps waiting? should it not run spec and exit? Just to ensure that there is no problem with spec I kept spec very simple and added only test as below

_**describe("User", function() {
describe("UserBadges", function() {

    it("test to get badges table columns", function() {
        expect(2).toBe(2);
    });
});

});**_

Can someone please help on this? Am I missing any configuration?

@klieber
Copy link
Collaborator

klieber commented Sep 28, 2020

Can you please provide a full example in a git repo demonstrating the problem? Hard for me to say what the problem is without it.

@borncodeguru
Copy link
Author

I realized that a similar issue already exists #348. so closing this thread.

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