Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 20 17:29
    alikhanm86 commented #1822
  • Oct 20 12:15
    aurelien-reeves commented #1822
  • Oct 20 12:10
    aurelien-reeves closed #1822
  • Oct 20 12:10
    aurelien-reeves commented #1822
  • Oct 20 12:09
    aurelien-reeves unlabeled #1822
  • Oct 20 12:09
    aurelien-reeves labeled #1822
  • Oct 20 12:09
    aurelien-reeves commented #1822
  • Oct 20 11:58
    davidjgoss closed #1823
  • Oct 20 11:54
    aurelien-reeves commented #1822
  • Oct 20 11:33
    aurelien-reeves commented #1544
  • Oct 20 10:40
    alikhanm86 commented #1822
  • Oct 20 10:09
    mohitpubnub commented #1544
  • Oct 20 09:54
    aurelien-reeves commented #1823
  • Oct 20 09:53
    TheLudd commented #1823
  • Oct 20 09:51
    davidjgoss commented #1823
  • Oct 20 09:46
    TheLudd opened #1823
  • Oct 20 08:18
    aurelien-reeves commented #1822
  • Oct 20 08:14
    aurelien-reeves labeled #1822
  • Oct 20 06:20
    alikhanm86 edited #1822
  • Oct 20 06:19
    alikhanm86 opened #1822
vputtaraju1010
@vputtaraju1010
@danielcb29 , did you get solution for your issue "Error: function uses multiple asynchronous interfaces: callback and promise."
we have same issue with our cucumberjs step defination where we are using Fetch request with setInterval for polling response from que system
umamaheswaripolisetti
@umamaheswaripolisetti
protractor-cucumber testcases are working fine in my local-jenkins pipeline.but the scripts are failing in remote server jenkins pipeline.can some one help me on this?any tips?
Amr Salem
@Amrkamel1

Hye there,

Is there any way to use before and AfterAll hooks explicitly for certain feature files?

Krishna Kumar Singh
@kwishna
I am putting 'setDefaultTimeout(60000)' in 'onPrepare' function inside 'protractor.conf.js'. Still, the getting timeout after 5000ms in async/await execution. Where should I put 'setDefaultTimeout'??
Ian Harrigan
@ianharrigan
Hi all, any thoughts on why i might be getting:
import { Vars }             from "./lib/Vars";
       ^

SyntaxError: Unexpected token {
when using my lib as a node module via npm install, but when i use the same lib from a symlink it all works fine?
this is using ts-node/register, but i really cant understand what the differences between the two setups could be
Krishna Kumar Singh
@kwishna
Ilja Pavlovs
@iljapavlovs
Hi all! So I am trying to switch from Cucumber JVM to Cucumber JS, and have a question - is it possible to convert Data Tables into JSON objects automatically in Cucumber JS, as you can convert Data Tables into Java Model seamlessly in Cucumber JVM?
1 reply
Clive Galway
@evilC
Does anyone know how to fix SonarQube not liking this cucumber syntax?
Basically it does not like the comma after Given
Both of these errors are caused by having Given, When(...)
ie notice that the When step at the top of the screenshot is basically doing the exact same thing but no errors
Rafael
@rsantosr
Hi guys, I have a question... How to use external data for feature files?
LeanPro CukeTest
@cuketest
One comment on external data support, Cucumber in CukeTest does support external csv data file, check out http://cuketest.com/en/features/examples.html
bala465
@bala465
Pls let me know If there is any possibility to get scenario name in stepdefination
Bill Warner
@TD-4242
I was looking for a way of doing this as well
Bill Warner
@TD-4242
@bala465 looks like you have to do it in the before function
Christian
@christian-hawk

Hello everybody. I need to assert an error is thrown I did some research but couldn't find anything so far.

 Scenario: Try to get data from an unparsable XML file

    Given "src/testdata/shibIdpMetadata.xml" exists in local file system
        And XML data is invalid
    When client call getFromFile with the valid file path
    Then It should throw a specific Error

Would you have any idea how is the best approach to achieve it?

Hoan Nguyen
@hoancmg
Hello everybody. What’s the best way for setup and teardown test data in a complex project?
noamSchwarz42
@noamSchwarz42
hello! I'm having trouble getting a Before hook to run only on one scenario. tried using tags but it doesn't work, the hook is applied to other scenarios as well.
here is the question on stackoverflow. thanks!
https://stackoverflow.com/questions/68428573/cucumber-js-before-hook-not-working-on-tagged-scenario
yoursmunnisha
@yoursmunnisha
Hii...! I am trying to generate allure reports in cucumber but I am unable to create them can anyone please help me with this
viktor-silakov
@viktor-silakov
Is it possible use defineParameterType with docstring?
JuanaRodriguez
@JuanaRodriguez
image.png
2 replies
hi guys, currently I'm having a problem to run the tests in the gitlab pipeline, it seems to be related with cucumber, I was using cucumber like as dependency, but today I updated it to @cucumber/cucumber, in the local machine it is working fine, but it fails in the pipeline, maybe somebody knows why it is happening? please pleaseee
Matías J. Magni
@matiasmagni
Hi all, I'm working with cypress-cucumber-preprocessor and I'm trying to get the scenario name on the step definitions. How can I do that?