File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ import type { AgentCreateResult } from '../../src/commands/agent/create.js';
3131
3232/* eslint-disable no-console */
3333
34+ /**
35+ * Returns it.skip if the current date is before the specified date, otherwise returns it.
36+ * Used to conditionally enable tests after a specific date.
37+ */
38+ const itAfter = ( date : Date ) => ( new Date ( ) >= date ? it : it . skip ) ;
39+
3440let session : TestSession ;
3541
3642describe ( 'plugin-agent NUTs' , ( ) => {
@@ -254,7 +260,8 @@ describe('plugin-agent NUTs', () => {
254260 expect ( fileStat . size ) . to . be . greaterThan ( 0 ) ;
255261 } ) ;
256262
257- it ( 'should create new agent in org' , async ( ) => {
263+ // skip until 12/16 - should be fixed in server-side release then
264+ itAfter ( new Date ( '2025-12-16' ) ) ( 'should create new agent in org' , async ( ) => {
258265 const expectedFilePath = join ( session . project . dir , 'specs' , specFileName ) ;
259266 const name = 'Plugin Agent Test' ;
260267 const apiName = 'Plugin_Agent_Test' ;
You can’t perform that action at this time.
0 commit comments