Questions tagged [codeceptjs]

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.

251 questions
0
votes
3 answers

Blank Allure Report - CodeceptJS

I am getting blank report with NaN%, screenshot attached in CodeceptJs. --- codecept.config.js --- plugins: { wdio: { enabled: true, services: ['selenium-standalone'] }, allure: { enabled: true, outputDir: "./output" }, screenshotOnFail: { enabled:…
Sanjay
  • 1
0
votes
2 answers

Test meta data with CodeceptJs + Puppeteer

I can't seem to find anything about this in the official documents or anywhere, I would like to test if my website have all the right meta tags and OG data in the header. Is this possible with CodeceptJs and Puppeteer?
Benny
  • 677
  • 1
  • 6
  • 22
0
votes
1 answer

Running codecept using jenkins

Can we change helper configuration options on the fly from a test? I saw the Dynamic configuration settings, gave the below command npx codeceptjs run --override '{ "helpers": {"Protractor": {"browser": "firefox"}}}' but when i run at i get the…
0
votes
1 answer

unable to click on button using codeceptjs with protractor

I tried to debug with verbose command and here is the output I see element "//span[contains(text(),'Save')]//ancestor::button" Emitted | step.passed (I see element "//span[contains(text(),'Save')]//ancestor::button") Emitted | step.finish (I…
0
votes
1 answer

What are the performance of every selector's types?

In CodeceptJs, you have different way to select elements and manipulate them for e2e testing : CSS selector Xpath selector Semantic locator Locator builder But I have some questions about their performance. Which are the best locator type ? What…
Kurolounet
  • 81
  • 5
0
votes
1 answer

Catch axios request and provide mock in e2e test

I'm testing external website with separate server. I know that server send api request with axios, like this: GET https://website.com/api/getData Is there a way to catch this request and provide mock data for testing purpose? I don't want to change…
0
votes
1 answer

Automation testing for dynamic coordinates appearing in map using TestCafe or codeceptjs or cypress

I would like to automate the testing using testcafe or codeceptjs for a test case in which an item is displayed on correct address in map after clicking on it. expected behavior for test case: User is taken to correct address on map after clicking…
0
votes
1 answer

Codeceptjs doesn't load most elements, waitForNavigation() just causes it to freeze forever

I am having an issue testing with codeceptjs. I am attempting testing apps on the Atlassian cloud but codeceptjs/puppeteer cannot interact with any of the elements on the page. When I enable screenshots I see it is on the right page but codeceptjs…
amnmustafa15
  • 121
  • 1
  • 14
0
votes
1 answer

Mochawesome Report Visualize. (CodeceptJS and Puppeteer was used) I was able to create a report, but unable to view it properly

The report has these data. but not able to visualize These are the generated report and JSON data.
Arun Prasad E S
  • 9,489
  • 8
  • 74
  • 87
0
votes
1 answer

How to view in full screen when codeceptjs pressKey fails?

I am opening a PDF file in browser and I need to switch the view to Full Screen before proceeding. I have tried I.pressKey('F11') and even I.pressKey(['Control','+']) but nothing seems to work. Are there any updated fixes for this? Or any other way…
0
votes
1 answer

Conceptjs: Run several scenarios in one browser instead of opening a new browser for each scenario

I have 2 scenarios (Codeceptjs and I am using webdriverIO helper) at the moment. After running the 1st scenario the browser closes. A new browser opens for the 2nd scenario. Using pause() did not solve the problem because after the pause the 1st…
0
votes
1 answer

Any feedback on using CodeceptJS with Sencha ExtJS for testing Automation

Hi I need to automate testing of an app made with Sencha ExtJS. Is codeceptJS a viable options. I am concerned how i could work with buttons which are icons. Also ids are dynamically generated in Sencha.
Asha Bhawnani
  • 27
  • 1
  • 7
0
votes
1 answer

CodeceptJs. Is there a way to add Datatable source for Feature?

As I saw on official site we can add Data(table).Scenario("TestName", async (I, current) => {..}); Is there a way to add parameters to Feature instead of scenario?
0
votes
1 answer

How to use soft assertion in CodeceptJS

I would like to use soft assertion in CodeceptJS as like in TestNG. Because currently I am using I.dontSeeInTitle(“Page missing”) and I.dontSee("") Whenever my page encounters issue my execution stopped in the middle, but I need to continue my…
Shyam
  • 57
  • 1
  • 5
0
votes
2 answers

Can't connect to WebDriver. Error: connect ECONNREFUSED 127.0.0.1:4444 (codeceptjs )

I've done configuration by using https://codecept.io/quickstart this tutorial and try to run npx codeceptjs run --steps this command , and then I get this issue . I use for this ubuntu wsl system on windows 10 . Why do this happens ? If you need…
Andrey Radkevich
  • 3,012
  • 5
  • 25
  • 57