Closed (fixed)
Project:
Drupal Test Traits
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Apr 2024 at 11:15 UTC
Updated:
22 May 2024 at 11:34 UTC
Jump to comment: Most recent
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.
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
Comment #3
slashrsm commentedComment #6
moshe weitzman commentedComment #7
moshe weitzman commentedThank you.