python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
setValue() / addValue() type into adress bar instead of selected element
I'm using WebdriverIO + devtools:puppeteer + cucumber + Firefox Nightly.
When using setValue() / addValue(), the first letter of my input is typed into address bar, instead of selected element. The is...
antiq
Votes: 0
Answers: 1
Can not access some url with jest-cucumber
I am using some simple code to implement e2e testes with jest-cucumber.
export const givenOpenUrl = (given) => {
given(/^I open "(.*)"$/, async (arg0) => {
await page.goto(`${arg...
marian.vladoi
Votes: 0
Answers: 0
CucumberJS - how to use world object "this" outside of the given, when and then architecture
I was working on cucumber testing and met the issue that I don't know how to get the world object "this" outside of cucumber architecture
For example,
function verifyFunction(){
expect(thi...
JeffChen
Votes: 0
Answers: 2
javascript pass multipart/form-data with pdf file
I am trying to pass a multipart/form-data for cucumber testing of a rest post api. I need to pass a pdf file. I am referring to https://www.npmjs.com/package/form-data. Here is my code:
let form = new...
MVB
Votes: 0
Answers: 0