Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jarrrule
    @jarrrule
    Happy Friday people. Having come from cucumber/gherkin projects this is a refreshing change. How could I read in table data similar to that of feature file table syntax? Can anyone help?
    Kevin Gu
    @junguchina
    guys,I have q question about the API pressKey().I used pressKey('Backspace'),but it can not recognize the key value,it just input the "Backspace" in to the field.
    Andrew
    @andrewleith
    Can I feed in a URL to codecept from the command line, rather than in the JS itselfÉ
    @junguchina @DavertMik asked you a question in your github issue, he thought perhaps it was the helper that didnt support the key. Which are you using
    Andrew
    @andrewleith
    Where is the full command reference for Codecept? I may be blind....
    Oh.... it varies by helper in the docs? Isnt the point of codecept that its the same API for all helpers? Perhaps the API reference should be on its own page? ;)
    Andrew
    @andrewleith
    Can i screen cap the entire page instead of just the visible area?
    Sabri M.
    @smuti
    hi all
    I have a question
    when i run codeceptjs run . command if there is a step which throws an error on before function it shows error on CLI
    but exit status of command is "0"
    when i put the same step in scenario function it throws an error and it shows error on CLI
    but exit status is different from "0"
    do you have any idea about that?
    Can adding a line process.exit(1) to catch block in run.js solve this problem?
    magimenon
    @magimenon
    From my landing page, I click on a button to open a overlay popup. I'm not able to detect the elements on the popup as i'm not able to switch my control to the new window. The control is still on the main landing page window.
    Kevin Gu
    @junguchina
    Hi guys, is there a way to specified the test file paths in the tests of codecept.json?
    I want to run the spcified test files instead of the default config,like below
    "tests": "./*_test.js",
    Sabri M.
    @smuti
    @junguchina you can use codecept.conf.js instead of codecept.json
    by this way you can change on the fly

    `exports.config = {
    tests: process.env.testPath || './tests/*/-test.js',
    output: './output',
    data: './data/',
    helpers: {
    WebDriverIO: {
    url: process.env.testUrl || 'https://www.abc.com',
    browser: 'chrome',
    host: 'localhost',
    waitForTimeout: process.env.testTimeout || 9000,
    windowSize: 'maximize',
    port: 4444
    }
    },
    include: {

    },
    bootstrap: false,
    mocha: {},
    name: 'e2e'

    };`

    Kevin Gu
    @junguchina
    @smuti yeah,I know this config js file,but I means that,maybe like
    tests: {
      login: './login/login_test.js',
      register: './register/register_test.js'
    }
    Kevin Gu
    @junguchina
    Now it can only recognize the one paramter of test files,can not recognize several paramters from different folder path.
    magimenon
    @magimenon
    I'm trying to select an option from the dropdown. Name of my is "search" and I select a value "new". I get a below error: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to execute 'iterateNext' on 'XPathResult': The document has mutated since the result was returned. One thing to be noted here is when I select the first dropdown there are other dropdown gets populated (ajax). I googled and couldn't figure out what's going wrong here?
    harkinj
    @harkinj
    Hi Guys, I am trying to setup a test case which is async. by reading the documentation, I hope i can do this by creating a helper. has anyone done this? Would be good to see an example :smile:
    Abdelhakim Bachar
    @abachar
    Hi Guys, i'd like to know what is the requirements in order to merge my pull-request Codeception/CodeceptJS#303 ? Should i do something ?
    Thanks a lot
    Adrian Lynch
    @adrianblynch

    Is anyone successfully running Codecept on CircleCI were you spin-up your application, start selenium and then run the tests?

    Would love to see your circle.yaml and package.json files!

    Alex Vallejo
    @alxvallejo
    Hi all
    Is it possible to run CodeceptJS tests from a Codeception Cest test? That way, you could do your backend setup before testing front-end
    Ryan Graff
    @resistdesign
    Anyone tried using wdio with codecept? Does it work right?
    Chase Noel
    @chasen
    Would anyone know why when trying to hook up codeceptjs tests to SauceLabs using WebDriverIO i get the error "Couldn't connect to selenium server" Im using the config suggested here: https://github.com/Codeception/CodeceptJS/issues/27#issuecomment-177273824
    André Kirchner
    @SharkeyO
    Hey everyone
    When you have an element, that has a onclick-Method --> how can you access it using: I.click() ?? click is only searching for clickables right?
    Leo Ribeiro
    @leordev
    hey everybody... does this tool suitable for webscraping?
    Max Hellwig
    @Ichag
    Where the configuration switches --config and --override have been removed?
    Max Hellwig
    @Ichag
    ok, i have found it, i had v. 0.4.7 in my path and was not using 0.5.0...
    Mitko Tschimev
    @MitkoTschimev
    Hi there anybody has problems with browserstack local?
    I have the "browserstack.local": "true" property but it is not using it
    Mitko Tschimev
    @MitkoTschimev
    Ok found the problem ;)
    Kesav Kolla
    @kesavkolla
    How to run login scenario before all other tests? I want all my tests independent of login. When I run the codecept run I want to perform login and also setup some config object. So all other features don't have to repeat the login process. Is it possible to achieve this?
    Tu Huynh
    @TuHuynhVan
    Just a newbie question, anyone can help me to set up Code Completion for codeceptjs with WebStorm?
    sivnz
    @sivnz
    Hello Everyone!
    Im developing some e2e tests for our company using CodeceptJs as a proof of concept but i had some issues during the process.
    Whenever i require a helper, i cant access any built-in functions like I.amOnPage.
    Does anybody ever seen this?

    With this code, i cant access any built-in functions.

    {
      "tests": "./*_test.js",
      "timeout": 10000,
      "output": "./output",
      "helpers": {
        "Nightmare": {
          "switches": {
            "ignore-certificate-errors": true
          },
           "require": "./nightmare_helper.js"
        }
      },
      "include": {},
      "bootstrap": false,
      "mocha": {},
      "name": "codeceptJs",
      "translation": "pt-BR"
    }

    If i use like this

    {
      "tests": "./*_test.js",
      "timeout": 10000,
      "output": "./output",
      "helpers": {
        "Nightmare": {
          "switches": {
            "ignore-certificate-errors": true
          }
        }
      },
      "include": {},
      "bootstrap": false,
      "mocha": {},
      "name": "codeceptJs",
      "translation": "pt-BR"
    }

    It works perfectly

    Kris Thomsen
    @kristho91

    Hello! I'm trying to use Codecept with Protracter and I'm having some problems with testing non-angular stuff:

    I.amOutsideAngularApp();
    I.amOnPage("/");
    I.seeInTitle("Login");

    It throws error "window.angular is undefined", this is a bit unsuspected?

    Shamus Harkin
    @shamusharkin
    Hi Guys, I want to add "client side" code coverage to my acceptance tests (codeceptjs), what tools are you using for this? Thanks
    Kris Thomsen
    @kristho91
    Hello, I get a "SyntaxError: Unexpected Token" when I run codecept. I think it MAYBE is a encoding problem of my config file. Because it works fine when it's newly generated, but when I edit and save in Visual Studio it "borks" the file. Should the config be in a specific encoding?
    Harsh1857
    @Harsh1857
    Hii, can anyone suggest me how to setup selenium server in bootstrap phase
    Kris Thomsen
    @kristho91
    Can I do "hover" on stuff with Codecept (with Protractor helper)? :)