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

Erro Nenhum valor selecionado/Execução lenta #152

Closed
estivalet opened this issue Nov 22, 2013 · 5 comments
Closed

Erro Nenhum valor selecionado/Execução lenta #152

estivalet opened this issue Nov 22, 2013 · 5 comments
Labels
Milestone

Comments

@estivalet
Copy link
Contributor

Estou recebendo aleatoriamente o erro abaixo.

@juliancesar Talvez tenha alguma relação com a correção aplicada para issue #101 .

Noto que esse erro aparece quando preciso preencher um campo (combo ou textfield) logo após ter preenchido um campo anterior dependente de um evento ajax.

Como falei, o mesmo cenário às vezes passa outras vezes apresenta o erro abaixo.

Failed to run story stories/execucao/demandas/CadastrarDemandaPlanejada.storyConverted
br.gov.frameworkdemoiselle.behave.exception.BehaveException: Nenhum valor selecionado
at br.gov.frameworkdemoiselle.behave.internal.ui.UIProxy.invoke(UIProxy.java:50)
at $Proxy19.selectByVisibleText(Unknown Source)
at br.gov.frameworkdemoiselle.behave.parser.jbehave.CommonSteps.inform(CommonSteps.java:209)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jbehave.core.steps.StepCreator$ParameterisedStep.perform(StepCreator.java:550)
at org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:499)
at org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:479)
at org.jbehave.core.embedder.StoryRunner.runScenarioSteps(StoryRunner.java:443)
at org.jbehave.core.embedder.StoryRunner.runCancellable(StoryRunner.java:305)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:219)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:180)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:229)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:201)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Running story stories/configuracoes/seguranca/AutenticacaoLogin-Logout.storyConverted

@juliancesar
Copy link
Contributor

@estivalet você ainda esta com esse problema?

@estivalet
Copy link
Contributor Author

Sim. E estou achando que o framework está bem lento para rodar os testes, mesmo colocando um minWait bem baixo. Deve ser pelas validações adicionais que colocamos.

@estivalet
Copy link
Contributor Author

Resolvido com as últimas modificações do framework.

@rdinizz
Copy link

rdinizz commented Jan 29, 2014

Olá, estou com o mesmo problema(estou na versão 1.3.1), alguma sugestão?

@juliancesar
Copy link
Contributor

Tente utilizar a versão 1.3.2-SNAPSHOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants