Skip to content

Commit cf1f8c5

Browse files
chore(internal): codegen related update
1 parent f1cb020 commit cf1f8c5

File tree

5 files changed

+34
-34
lines changed

5 files changed

+34
-34
lines changed

tests/api-resources/agent-profiles.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new BrowserUse({
88
});
99

1010
describe('resource agentProfiles', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('create: only required params', async () => {
1313
const responsePromise = client.agentProfiles.create({ name: 'x' });
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,7 +20,7 @@ describe('resource agentProfiles', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('create: required and optional params', async () => {
2525
const response = await client.agentProfiles.create({
2626
name: 'x',
@@ -35,7 +35,7 @@ describe('resource agentProfiles', () => {
3535
});
3636
});
3737

38-
// skipped: tests are disabled for the time being
38+
// Prism tests are disabled
3939
test.skip('retrieve', async () => {
4040
const responsePromise = client.agentProfiles.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
4141
const rawResponse = await responsePromise.asResponse();
@@ -47,7 +47,7 @@ describe('resource agentProfiles', () => {
4747
expect(dataAndResponse.response).toBe(rawResponse);
4848
});
4949

50-
// skipped: tests are disabled for the time being
50+
// Prism tests are disabled
5151
test.skip('update', async () => {
5252
const responsePromise = client.agentProfiles.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {});
5353
const rawResponse = await responsePromise.asResponse();
@@ -59,7 +59,7 @@ describe('resource agentProfiles', () => {
5959
expect(dataAndResponse.response).toBe(rawResponse);
6060
});
6161

62-
// skipped: tests are disabled for the time being
62+
// Prism tests are disabled
6363
test.skip('list', async () => {
6464
const responsePromise = client.agentProfiles.list();
6565
const rawResponse = await responsePromise.asResponse();
@@ -71,15 +71,15 @@ describe('resource agentProfiles', () => {
7171
expect(dataAndResponse.response).toBe(rawResponse);
7272
});
7373

74-
// skipped: tests are disabled for the time being
74+
// Prism tests are disabled
7575
test.skip('list: request options and params are passed correctly', async () => {
7676
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
7777
await expect(
7878
client.agentProfiles.list({ pageNumber: 1, pageSize: 1 }, { path: '/_stainless_unknown_path' }),
7979
).rejects.toThrow(BrowserUse.NotFoundError);
8080
});
8181

82-
// skipped: tests are disabled for the time being
82+
// Prism tests are disabled
8383
test.skip('delete', async () => {
8484
const responsePromise = client.agentProfiles.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
8585
const rawResponse = await responsePromise.asResponse();

tests/api-resources/browser-profiles.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new BrowserUse({
88
});
99

1010
describe('resource browserProfiles', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('create: only required params', async () => {
1313
const responsePromise = client.browserProfiles.create({ name: 'x' });
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,7 +20,7 @@ describe('resource browserProfiles', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('create: required and optional params', async () => {
2525
const response = await client.browserProfiles.create({
2626
name: 'x',
@@ -36,7 +36,7 @@ describe('resource browserProfiles', () => {
3636
});
3737
});
3838

39-
// skipped: tests are disabled for the time being
39+
// Prism tests are disabled
4040
test.skip('retrieve', async () => {
4141
const responsePromise = client.browserProfiles.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
4242
const rawResponse = await responsePromise.asResponse();
@@ -48,7 +48,7 @@ describe('resource browserProfiles', () => {
4848
expect(dataAndResponse.response).toBe(rawResponse);
4949
});
5050

51-
// skipped: tests are disabled for the time being
51+
// Prism tests are disabled
5252
test.skip('update', async () => {
5353
const responsePromise = client.browserProfiles.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {});
5454
const rawResponse = await responsePromise.asResponse();
@@ -60,7 +60,7 @@ describe('resource browserProfiles', () => {
6060
expect(dataAndResponse.response).toBe(rawResponse);
6161
});
6262

63-
// skipped: tests are disabled for the time being
63+
// Prism tests are disabled
6464
test.skip('list', async () => {
6565
const responsePromise = client.browserProfiles.list();
6666
const rawResponse = await responsePromise.asResponse();
@@ -72,15 +72,15 @@ describe('resource browserProfiles', () => {
7272
expect(dataAndResponse.response).toBe(rawResponse);
7373
});
7474

75-
// skipped: tests are disabled for the time being
75+
// Prism tests are disabled
7676
test.skip('list: request options and params are passed correctly', async () => {
7777
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
7878
await expect(
7979
client.browserProfiles.list({ pageNumber: 1, pageSize: 1 }, { path: '/_stainless_unknown_path' }),
8080
).rejects.toThrow(BrowserUse.NotFoundError);
8181
});
8282

83-
// skipped: tests are disabled for the time being
83+
// Prism tests are disabled
8484
test.skip('delete', async () => {
8585
const responsePromise = client.browserProfiles.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
8686
const rawResponse = await responsePromise.asResponse();

tests/api-resources/sessions/public-share.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new BrowserUse({
88
});
99

1010
describe('resource publicShare', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('create', async () => {
1313
const responsePromise = client.sessions.publicShare.create('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,7 +20,7 @@ describe('resource publicShare', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('retrieve', async () => {
2525
const responsePromise = client.sessions.publicShare.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
2626
const rawResponse = await responsePromise.asResponse();
@@ -32,7 +32,7 @@ describe('resource publicShare', () => {
3232
expect(dataAndResponse.response).toBe(rawResponse);
3333
});
3434

35-
// skipped: tests are disabled for the time being
35+
// Prism tests are disabled
3636
test.skip('delete', async () => {
3737
const responsePromise = client.sessions.publicShare.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
3838
const rawResponse = await responsePromise.asResponse();

tests/api-resources/sessions/sessions.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new BrowserUse({
88
});
99

1010
describe('resource sessions', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('retrieve', async () => {
1313
const responsePromise = client.sessions.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,7 +20,7 @@ describe('resource sessions', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('retrieve: request options and params are passed correctly', async () => {
2525
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
2626
await expect(
@@ -32,7 +32,7 @@ describe('resource sessions', () => {
3232
).rejects.toThrow(BrowserUse.NotFoundError);
3333
});
3434

35-
// skipped: tests are disabled for the time being
35+
// Prism tests are disabled
3636
test.skip('update: only required params', async () => {
3737
const responsePromise = client.sessions.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
3838
action: 'stop',
@@ -46,12 +46,12 @@ describe('resource sessions', () => {
4646
expect(dataAndResponse.response).toBe(rawResponse);
4747
});
4848

49-
// skipped: tests are disabled for the time being
49+
// Prism tests are disabled
5050
test.skip('update: required and optional params', async () => {
5151
const response = await client.sessions.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' });
5252
});
5353

54-
// skipped: tests are disabled for the time being
54+
// Prism tests are disabled
5555
test.skip('list', async () => {
5656
const responsePromise = client.sessions.list();
5757
const rawResponse = await responsePromise.asResponse();
@@ -63,7 +63,7 @@ describe('resource sessions', () => {
6363
expect(dataAndResponse.response).toBe(rawResponse);
6464
});
6565

66-
// skipped: tests are disabled for the time being
66+
// Prism tests are disabled
6767
test.skip('list: request options and params are passed correctly', async () => {
6868
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
6969
await expect(

tests/api-resources/tasks.test.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new BrowserUse({
88
});
99

1010
describe('resource tasks', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('create: only required params', async () => {
1313
const responsePromise = client.tasks.create({ task: 'x' });
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,7 +20,7 @@ describe('resource tasks', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('create: required and optional params', async () => {
2525
const response = await client.tasks.create({
2626
task: 'x',
@@ -37,7 +37,7 @@ describe('resource tasks', () => {
3737
});
3838
});
3939

40-
// skipped: tests are disabled for the time being
40+
// Prism tests are disabled
4141
test.skip('retrieve', async () => {
4242
const responsePromise = client.tasks.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
4343
const rawResponse = await responsePromise.asResponse();
@@ -49,7 +49,7 @@ describe('resource tasks', () => {
4949
expect(dataAndResponse.response).toBe(rawResponse);
5050
});
5151

52-
// skipped: tests are disabled for the time being
52+
// Prism tests are disabled
5353
test.skip('retrieve: request options and params are passed correctly', async () => {
5454
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
5555
await expect(
@@ -61,7 +61,7 @@ describe('resource tasks', () => {
6161
).rejects.toThrow(BrowserUse.NotFoundError);
6262
});
6363

64-
// skipped: tests are disabled for the time being
64+
// Prism tests are disabled
6565
test.skip('update: only required params', async () => {
6666
const responsePromise = client.tasks.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' });
6767
const rawResponse = await responsePromise.asResponse();
@@ -73,12 +73,12 @@ describe('resource tasks', () => {
7373
expect(dataAndResponse.response).toBe(rawResponse);
7474
});
7575

76-
// skipped: tests are disabled for the time being
76+
// Prism tests are disabled
7777
test.skip('update: required and optional params', async () => {
7878
const response = await client.tasks.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' });
7979
});
8080

81-
// skipped: tests are disabled for the time being
81+
// Prism tests are disabled
8282
test.skip('list', async () => {
8383
const responsePromise = client.tasks.list();
8484
const rawResponse = await responsePromise.asResponse();
@@ -90,7 +90,7 @@ describe('resource tasks', () => {
9090
expect(dataAndResponse.response).toBe(rawResponse);
9191
});
9292

93-
// skipped: tests are disabled for the time being
93+
// Prism tests are disabled
9494
test.skip('list: request options and params are passed correctly', async () => {
9595
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
9696
await expect(
@@ -107,7 +107,7 @@ describe('resource tasks', () => {
107107
).rejects.toThrow(BrowserUse.NotFoundError);
108108
});
109109

110-
// skipped: tests are disabled for the time being
110+
// Prism tests are disabled
111111
test.skip('retrieveLogs', async () => {
112112
const responsePromise = client.tasks.retrieveLogs('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
113113
const rawResponse = await responsePromise.asResponse();
@@ -119,7 +119,7 @@ describe('resource tasks', () => {
119119
expect(dataAndResponse.response).toBe(rawResponse);
120120
});
121121

122-
// skipped: tests are disabled for the time being
122+
// Prism tests are disabled
123123
test.skip('retrieveOutputFile: only required params', async () => {
124124
const responsePromise = client.tasks.retrieveOutputFile('file_name', {
125125
task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
@@ -133,7 +133,7 @@ describe('resource tasks', () => {
133133
expect(dataAndResponse.response).toBe(rawResponse);
134134
});
135135

136-
// skipped: tests are disabled for the time being
136+
// Prism tests are disabled
137137
test.skip('retrieveOutputFile: required and optional params', async () => {
138138
const response = await client.tasks.retrieveOutputFile('file_name', {
139139
task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',

0 commit comments

Comments
 (0)