Experience - Generate Description using AI (CC-00001)
Test Case
Sometimes it's hard to target the "click". In these cases you can try to mimic as if the users is using the keyboard to navigate to the target button. Focus can be changed by "tabbing" and the final click is "enter".
login
open url "https://orgfarm-138793ce45-dev-ed.develop.lightning.force.com/lightning/o/Experience__c/new"
generate from template "Spectacular Space Exploration to planet Mars - %%% %%% %%% %%% " and enter into "Experience Name" and save as "generated_Experience_Name"
select "Medium" in "Activity Level"
enter "Cape Canaveral in Florida, USA. Planet Mars." into "Location"
enter "1234" into "Price"
select "Adventure Activities" in "Type"
enter "13" into "Duration (Hours)"
enter "42" into "Capacity"
click "Save"
click "Edit Description"
type tab
type enter // Let Einstein's help in creating this field value
wait up to 10 seconds until page contains "Here is what I came up with"
type tab
type tab
type tab
type tab
type enter // click "Use"
check that "Description" is not blank
click "Save"