Skip to content

Commit

Permalink
LPD-27921 Fix poshi test: we need to be sure that dall-e option is en…
Browse files Browse the repository at this point in the history
…abled
  • Loading branch information
marcogalluzzi authored and brianchandotcom committed Jun 7, 2024
1 parent 84dcd7a commit 8c89eb4
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ definition {
@description = "This test asserts that users can not create AI image without API key."
@priority = 4
test CannotCreateAIImageWithoutAPIKey {
property test.liferay.virtual.instance = "false";
property test.run.type = "single";

DMNavigator.openToConfigureOpenAI();

FormFields.enableCheckbox(fieldName = "Enable DALL-E to Create Images");

PortletEntry.save();

DMNavigator.openDocumentsAndMediaAdmin(siteURLKey = "guest");

DMDocument.createAIImage(createAIImageWithoutKey = "true");
Expand Down

0 comments on commit 8c89eb4

Please sign in to comment.