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]
251 questions
0
votes
0 answers
How to add Chrome to a container to over come the error 'Failed to launch chrome' in circleCI
I'm trying to run Codecept.js on circleCI but I keep running into the same issue where it says Failed to launch chrome.
I believe it is a problem with puppeteer but I cannot find the issue online.
I've tried adding the following to my…

Max Lynn
- 431
- 2
- 7
- 16
0
votes
3 answers
Codeceptjs swipe function
Im just working with codeceptjs and using appium driver for testing android application.
Now i have different issues with this framework. Im currently working for a test, where i have to use swipeLeft, but it isnt working, there is nothing happen…

Brainfail
- 196
- 1
- 2
- 11
0
votes
1 answer
Do I need to wait for stylesheet to load to use css selectors?
Intro: In my project we use CodeceptJS with Puppeteer driver, we also use the configuration waitForNavigation set to DOMContentLoaded which does not wait for external resources to be loaded, including stylesheets and images, to start interacting…

mvgiacomello
- 5
- 1
0
votes
2 answers
How to Load my unpacked chrome extension using codeceptJS
I am using codeceptJS with webdriverio Selenium standalone server. my problem is how do i load my unpacked chrome extension when i run tests. i’ve been searching for the solution from past 2 days but couldn’t find a solution. all i get is some java…

Coool
- 31
- 6
0
votes
1 answer
Polling a-sync REST service till result is true within CodeceptJS scenario
Looking for a solution to poll an a-sync REST call till result is FOUND with Codeception / codeceptJS e2e testing suite. Have no clue at all if this is possible at all. Polling will go on for max 1 to 2 minutes and every 10 seconds will be…

San Jay Falcon
- 993
- 1
- 9
- 20
0
votes
1 answer
Why the conditional code is not getting executed in CodeceptJS?
CodeceptJS - I need to check a checkbox, only if it's not checked already.
I created a helper method to check the condition, and it is returning the right value, but the code inside if statement is not getting executed.
Helper Class/method:
class…

Vaij
- 129
- 1
- 5
0
votes
0 answers
Im not able to perform action on read only elelments(Input field)either Click()or fillField() not working
on read only input field elements im not able to perform any action i have tried click()or fillfield()
Blockquote
0
votes
1 answer
How to click a link in menu? ' Execution context was destroyed, most likely because of a navigation'
I can't click on the link that is inside of the navigation.
I've tried locating link using class, xpath, css selector
let a = locate('a').withAttr({class:…

Marko Đurić
- 3
- 2
0
votes
2 answers
CodeCeptJs is it possible to parellel test with webdriver and appium?
So i am trying to simultaneously test both desktop and mobile in parallel is it possible with codeceptjs or would i need to run one after the other?
this is my codecept config file :-
tests: './*_test.js',
output: './output',
multiple: {
…

redoptics
- 65
- 6
0
votes
2 answers
How to identify field with id in Appium using CodeceptJS?
I am trying to use CodeceptJS (which uses Appium) to test a native Android app. I want use the method I.seeElement to see that a field is present, but the Appium server just seems to hang with no error message.
This step is to input a phone number…

Adam Wier
- 1
- 1
0
votes
1 answer
Using appium custom helper from docs, does not give access to appium functions, "is not a function" error occurs for most functions
What am I missing?
I'm trying to write a custom helper that checks for 4 elements, and then sends a different command based on which element is present.
In order to do this, we needed a custom helper per the codeceptjs documentation…
user6499789
0
votes
1 answer
Cannot get a valid selector to implement I.click()
I am trying to click a button that has these details when I F12

i_m_sanguine
- 23
- 6
0
votes
0 answers
Resemble helper does not output the mismatch percentage
I installed the resemble package required by CodeceptJS. When running the test it does not output the mismatch percentage and does not save the comparison image in the diff folder specified. It only outputs the tolerance level at the end of the…

Nicholas Cik
- 35
- 4
0
votes
1 answer
selector for a href with specific url
How would you select an a href element with specific url?
This is my element:
New issue
I tried I.click('New issue') and…

user7767909
- 23
- 4
0
votes
1 answer
Gherkin test using table fails with error "Cannot read property 'bold' of undefined"
Using codeceptJs 2.1.1 with Gherkin 5.1.0 french test I'm trying to check all the fields are present in a form using a datable to provide fields name.
Here is the Gherkin test:
@tabletest
Scénario: Les champs
Alors je vois les champs :
|…

svassr
- 5,538
- 5
- 44
- 63