Skip to content

Commit d651a9f

Browse files
authored
Merge branch 'main' into chore/update-actions-checkout-v6
2 parents eafafdd + cd5c4fc commit d651a9f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

dialogflow-cx/test/detect-intent-sentiment-analysis-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('detect intent with sentiment analysis', () => {
2929

3030
it('should detect negative sentiment score of user query', async () => {
3131
const output = exec(
32-
`${cmd} ${projectId} ${location} ${agentId} 'I am not happy' ${languageCode}`
32+
`${cmd} ${projectId} ${location} ${agentId} 'I had an accident and I lost my new car' ${languageCode}`
3333
);
3434
assert.include(output, 'negative');
3535
});

dialogflow-cx/test/list_testcase-results.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ describe('Test filtering results', async () => {
2929
const projectId =
3030
process.env.AGENT_PROJECT_ID || (await agentClient.getProjectId());
3131

32-
it('should return filtered test results', async () => {
32+
it('should return filtered test results', function () {
33+
if (!agentId || !testId) {
34+
this.skip();
35+
}
3336
const output = exec(`${cmd} ${projectId} ${agentId} ${testId} ${location}`);
3437
assert.include(output, testId);
3538
});

0 commit comments

Comments
 (0)