Skip to content

fillField append new value to textarea and clearField doesn't clear the textarea #932

@suzuki11109

Description

@suzuki11109

What are you trying to achieve?

I want to set a value to textarea.

What do you get instead?

I use Vue. I use puppeteer.
I used fillField function to set value to textarea but it appears to append the value to the existing value instead of setting new one.
So I tried to use clearField before fillField but the value still exist in textarea.
I've tried to use other selector for textarea but the result is the same.
And there is no any error so I'm sure the selector is correct.

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

  • CodeceptJS version: 1.1.4
  • NodeJS Version: 8.9.4
  • Operating System: MacOS Sierra
  • Protractor || WebDriverIO || Nightmare version (if related) : Puppeteer version 1.0.0
  • Configuration file:
# paste suite config here
{
  "tests": "./e2e/**/*_test.js",
  "timeout": 10000,
  "output": "./output",
  "helpers": {
    "Puppeteer": {
      "url": "http://localhost:4000",
      "show": false,
      "waitForTimeout": 5000
    }
  },
  "include": {
    "I": "./e2e/steps_file.js"
  },
  "bootstrap": false,
  "mocha": {},
  "name": "seminar.saito"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions