Skip to content

Commit 8e9d87a

Browse files
committed
Fix OpenAI image tests
1 parent 4b651cb commit 8e9d87a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/cypress/integration/image-processing/image-processing-openai-chatgpt.test.js

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import { getChatGPTData } from '../../plugins/functions';
1919
cy.enableFeature();
2020
cy.selectProvider( provider );
2121
cy.get( `#${ provider }_api_key` ).clear().type( 'password' );
22+
cy.get(
23+
'.processing-mode-radio-control input[value="automatic"]'
24+
).check();
2225
cy.allowFeatureToAdmin();
2326
cy.get(
2427
'.classifai-settings__user-based-opt-out input'
@@ -264,6 +267,9 @@ describe( `OpenAI ChatGPT Image Tag and Text Generator Tests`, () => {
264267
cy.enableFeature();
265268
cy.selectProvider( 'openai_chatgpt' );
266269
cy.get( '#openai_chatgpt_api_key' ).clear().type( 'password' );
270+
cy.get(
271+
'.processing-mode-radio-control input[value="automatic"]'
272+
).check();
267273
cy.allowFeatureToAdmin();
268274
cy.get( '.classifai-settings__user-based-opt-out input' ).uncheck();
269275

0 commit comments

Comments
 (0)