Problem/Motivation

There are multiple ways to upload files in a test, but using attachFileToField() is the easiest as it handles uploading the file to Selenium container so that Selenium can find it.

Let's add an example to the test so people can find it.

Issue fork dtt-3441266

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

slashrsm created an issue. See original summary.

slashrsm’s picture

Status: Needs work » Needs review

moshe weitzman made their first commit to this issue’s fork.

moshe weitzman’s picture

Status: Needs review » Fixed
moshe weitzman’s picture

Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.