mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-12 18:43:49 +00:00
test(*): Skip tests relying on Azure AI in CI
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user