CodeceptJS is a modern end to end testing framework with a special BDD-style syntax. The test is written as a linear scenario of user's action on a site. The use of generator functions allows asynchronous tests to be written in synchronous way.
Questions tagged [codeceptjs]
191 questions
0
votes
2 answers
How to setup codecept e2e testing with angular2?
Im new to e2e testing. i'd like to give it a try with http://codecept.io/angular/
Since i started my app with https://github.com/AngularClass/angular2-webpack-starter Protractor/Jasmine is already working.
From what i've understand, codecept is…
![](../../users/profiles/4520350.webp)
sebap
- 1,369
- 2
- 18
- 32
0
votes
1 answer
codeceptJS / webdriverIO exits script with grab commands
I'm new to codeceptJS but best I can tell it simply does not work with yield.
'use strict';
Feature('Testing Begins');
Before((I) => {
I.resizeWindow(1500, 1000);
I.amOnPage('http://absolutenet.com');
});
Scenario('ANI testing', function*(I){
…
![](../../users/profiles/1163122.webp)
Tim Duncklee
- 1,352
- 17
- 31
-1
votes
1 answer
CodeceptJS, BDD, PageObjects, steps listed in output
I'm currently evaluating CodeceptJS as an alternative to our heavy Java/Selenium/Cucumber stack. I have organized the project like so:
BDD is used (everything starts with a feature file).
Step definitions exist for each of the steps in the feature…
![](../../users/profiles/3018629.webp)
Vanessa Deagan
- 387
- 4
- 13
-1
votes
1 answer
Volume name issue with docker-compose on windows
I'm trying to start a multi containers applications for codeceptjs using docker-compose. On linux the docker compose yml file works fine but on windows it fails complaining about "volume name is too short". Why docker compose complains on Windows…
![](../../users/profiles/3611522.webp)
user3611522
- 71
- 11
-1
votes
1 answer
How to access vuetify-component with codeceptjs
I'd like to write some tests witch codecept.js but I'm not able to access the vuetify components.
![](../../users/profiles/11254444.webp)
carl
- 17
- 4
-1
votes
1 answer
Why is this async function turning parameters passed to it, into Promise objects?
async scrape(locator) {
console.log("Locator passed in is" + locator);
}
Why is the console log showing [object Object] as the output of the parameter? Shouldn't it return a value of whatever was passed in?
Here is the code calling the…
user6499789
-1
votes
1 answer
Rest helper codeceptjs and docker
I am running REST Helper of Codeceptjs and Docker for API Testing but when I run it, it only show all passed and execution time is always 0ms
Output:
PS D:\work\testtt> docker-compose run --rm codeceptjs
CodeceptJS directory has been…
-1
votes
1 answer
How debug and use grabAttributeFrom in codeceptjs?
In my case all identifiers in a page is generated dynamically. So I can't use xpath.
I've found method in the documentation: grabAttributeFrom.
How I can see what's inside, when I using cmd in --debug mode?
Can I use grabAttributeFrom for…
![](../../users/profiles/4375658.webp)
Андрей Корниенко
- 21
- 3
-1
votes
1 answer
How to use Codecept with Puppeteer package on PhpStorm
I'm new to both PhpStorm and codecept. I need to test a website using Codecept with Puppeteer package on PhpStorm. Could you please guide??
![](../../users/profiles/10736963.webp)
SSharma
- 47
- 1
- 6
-1
votes
1 answer
Core differences between various automation and testing libraries
I am trying to understand the technical difference between the multiple tools available for testing JavaScript web applications.
You have CodeceptJS which is just a wrapper, which needs a framework like NightmareJS/Selenium.
Now is nightmare a…
![](../../users/profiles/153940.webp)
Kumar Manish
- 985
- 1
- 9
- 25
-1
votes
2 answers
How to find input values that are generated after website is loaded?
I built an app with meteor-blaze and now I am trying to test it with CodeceptJS. The problem is, all my input fields have no values in the DOM (F12 mode), but I see the values in the browser. In meteor I use template-helpers to read them from my…
![](../../users/profiles/7131113.webp)
Meteor Newbie
- 556
- 1
- 6
- 22