by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Anton Svetin
    @hotantuna

    Hi, is this possible to run with WSL and puppetter. Current options set are

          url: 'https://global.id',
          show: true,
          chrome:{
            executablePath: '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe',
            userDataDir: 'mnt/c/tmp/puppeteer_dev_profile',
            args: ['--no-sandbox', '--disable-setuid-sandbox'],
            devtools: true
          }

    But I am getting error Error: [Wrapped Error] connect ECONNREFUSED 127.0.0.1:65113

    Martin Kroupa
    @CDJojn
    Hi guys, I currently adding my own internal helper. It is any possibility to use internal CLI logging tool? console.log() works but text is not formated, it is any chance to log into internal logger?
    I tried to use I.say() inside of helper method ("I" was argument of method) and its work but log inputs are on the end of log from one scenario
    Martin Kroupa
    @CDJojn
    SOLVED: this.debug(msg)
    Paul Dragoonis
    @dragoonis
    Hey! I'm wondering if there's a list of methods available to the "I" object? So I can see them all. I'm trying to get the current URL\
    I.getPageUrl is not a function
    I found: I.grabCurrentUrl now
    Paul Dragoonis
    @dragoonis

    Since my "hostname:port" is managed via codecept.conf.js url variable .. then I don't want to check this in my scenario.

    I wish to make sure the URI is exactly: "/login"

    Paul Dragoonis
    @dragoonis
    I.amOnPage() will do.
    Zhaopeng XUAN
    @xuanzhaopeng
    Hey Dear team, I got a quick question about parallel execution with Cucumber framework , since as I understand in webdriver-io, the cucumber parallelization is based on feature file level, so for CodeceptJS, how parallelization works with Cucumber Framework? is it also based on Feature file level? or it's based on scenario level? Thanks a lot
    asnaseer-resilient
    @asnaseer-resilient
    Hi - Does anyone here know if the order in which Scenarios are run in CodeceptJS is the same as the order in which they are defined within the file? Or is there some option somewhere to control the order in which the tests are run?
    BTW: I am using TestCafe as the helper.
    vishal
    @vishal22652004_twitter
    Any one help me how to implement page object in codeceptjs I am facing "Object of type login is not defined in container"
    xgene34
    @xgene34
    Hi Guys,
    Anyone knows how to execute .exe script and to make it run synchronously?
    I did like this:
    uploadSebRates:async function (err, data) {
    I.waitForVisible(this.locators.searchField,15);
    I.click('Upload');
    await exec('scripts/uploadSebRates.exe', function(){} );
    if (err) console.log(err);
    else
    console.log(data);
    }
    But this doesn't work really good and now with new update stopped working completely
    asnaseer-resilient
    @asnaseer-resilient
    Is it possible to access the "I" object from within a custom Helper?
    asnaseer-resilient
    @asnaseer-resilient
    What would be the feasibility of allowing the steps_file.js to be renamed to steps_file.ts so that the returned actor can contain custom functions written in Typescript?
    Patawee Boonsongsri
    @golfzaptw
    Hello Guys, I want to know how to set local storage in Playwright. Can u help me?
    Chen Osipov
    @obender
    Is there a plugin that allows running some npm script as bootstrap and then closing it in teardown?
    Peter Nguyen Tr
    @PeterNgTr
    What do you need for example?
    Chen Osipov
    @obender
    I want to run concept -> run npm task -> run tests -> terminate npm task
    Basically I want to test website on localhost and make it start and stop inside the test suite
    Chen Osipov
    @obender
    I think that I had found something simular
    https://www.npmjs.com/package/codecept.app-runner
    harvey
    @linjin-harvey
    I cannot using autologin plugin succesfully
    is there anyone has success experience?
    Peter Nguyen Tr
    @PeterNgTr
    what is the error?
    harvey
    @linjin-harvey
    Emitted | step.start (I set cookie [{"domain":"ehealth--uat.lightning.force.com","httpOnly":false,"name":"sid","path":"/","sameSite":"None","secure":true,"value":"00D230000000op3!ARMAQOESbXvASv...
    I set cookie [{"domain":"ehealth--uat.lightning.force.com","httpOnly":false,"name":"sid","path":"/","sameSite":"None","secure":true,"value":"00D230000000op3!ARMAQOESbXvASvqklRX1cqwGoiYr6Ms0XYfuCgZ...
    [1] <check login> Error | invalid cookie domain: invalid cookie domain
    (Session info: chrome=80.0.3987.149)
    The script try to log in salesforce
    yadwinds
    @yadwinds
    Hi folks , Any config available to run codeceptjs tests against remote grid ?
    Christian_AUT
    @Crojasf01
    hola chicos , una consulta alguien sabe porque al cargar mis feature sale de un solo color blanco , antes salia azul y blanco tambien rojo
    sandhya1605
    @sandhya1605
    Hello everyone, I have a question, I am trying to run BDD tests with cucumber codeceptjs webdriverio and useing selenium grid to run the test in chrome browser, when I run npx codeceptjs run -reporter mocha-junit-reporter the tests run for 5 mins and then stops saying timeout...
    It works with selenium-standalone, but fails with the grid
    Do you have any idea?
    Sabbir Ahmed
    @S4BB1R
    hello guys, when I went to install codecept with puppeteer, gets this(puppeteer/puppeteer#5656) error.how can I overcome it?
    Christian_AUT
    @Crojasf01
    chicos una consulta quiero escoger un checkpoint de acuerdo a un proyecto cualquier ¡¡¡¡ alguien sabe
    Javier
    @javiergarciacotado
    hello
    what is the correct way to use browserstack local through Webdriver?
    Renato O. Nunes
    @r0nunes

    Hi guys, i'm new with codeceptJS Mobile, and i have a quest about steps_definitions. How can I define more than one steps in the conf. I try with 'steps:

    "steps: ['./step_definitions/*.js']"

    But, i received this stacktrace: Could not include object Step Definition from ./step_definitions/*.js

    barkave
    @barkave
    How to loop through the bootstrap down and click the elements?
    barkave
    @barkave
    image.png
    image.png
    Hi Please correct me the below error..
    barkave
    @barkave
    image.png
    image.png
    lind-eduard
    @lind-eduard
    I'm trying to add an url to mochawesome testing report and did it in 2 places: _failed hook and on failed event:
    event.dispatcher.on(event.test.failed, async function (test) {
    const browser = WebDriver.browser;
    let url = await browser.getUrl();
    await addContext(this, 'Testing url: >>>>>>>>>>>' + url);
    });
    But I don't see anything in report. Maybe someone has any ideas why?
    Carlos Silva
    @CarlosSilv
    image.png
    Hy, Guys!! What Up?
    I am problem in my code, anyone for help?
    dorone
    @dorone
    Hi,
    When I want to debug my code for example I have I.click('selector') I don't see it happens in the browser, only after I move out from the function.
    Anyone knows how to solve it?
    OSMAN MOHAMMED
    @Osman-SoftwareEngineerInTest
    Hi Guys, Can anyone please help me out with how to debug codeceptjs tests in WebStorm. I tried this thing https://codecept.io/advanced/#debug
    Javier
    @javiergarciacotado
    I would request the same for vscode and typescript
    OSMAN MOHAMMED
    @Osman-SoftwareEngineerInTest

    I am getting the following error while running through vscode
    ReferenceError: Feature is not defined
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

    [Done] exited with code=1 in 0.732 seconds

    Juan Carlos Choque Quispe
    @juanccq
    HI there
    I'm new with codeceptjs, I have a question, how can I chain scenarios, i.e login scenario and edit profile scenario,
    I don't wan't to add login steps on edit profile scenario
    so I wan't to use the login scenario and then edit profile scenario