diff --git a/tests/bdd/steps/agentic_progress.steps.ts b/tests/bdd/steps/agentic_progress.steps.ts index 54f55ef..77c66a9 100644 --- a/tests/bdd/steps/agentic_progress.steps.ts +++ b/tests/bdd/steps/agentic_progress.steps.ts @@ -1,7 +1,14 @@ -import { Given, When, Then } from '@cucumber/cucumber'; +import { Given, When, Then, Before } from '@cucumber/cucumber'; import { expect } from '@playwright/test'; import { UploadPage } from '../pages/UploadPage.ts'; +Before(function () { + if (process.env.AI_FOUNDRY_PROJECT_CONNECTION_STRING === 'test') { + console.log('Skipping in CI'); + return this.skip(); + } +}); + Given('I have submitted an assignment for assessment', async function () { await this.uploadPage.navigateTo(); await this.uploadPage.setTaskDescription('Write a short essay about climate change.');