Skip to content

Commit

Permalink
Merge branch 'main' into ssna-default
Browse files Browse the repository at this point in the history
  • Loading branch information
hensmi-amazon authored May 3, 2024
2 parents dd2c3ac + d1f502d commit 45cd1ef
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .github/script/send-test-report.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
// Send test report is a minimal script that makes a HTTP POST call to a webhook to send a slack message.
// For example, this script passes results of the browser compatibility report to the webhook so that the amazon-chime-js-sdk team can be notified of the results.

const axios = require('axios');

var myArgs = process.argv.slice(2);

axios.post(myArgs[0], {
'github_workflow_url': myArgs[1],
'browser_compatibility_tests_status': myArgs[2].toUpperCase()
}, res => {
console.log(res);
}, err => {
console.log(err);
});
// Disabled until a kind soul fixes these tests

// const axios = require('axios');

// var myArgs = process.argv.slice(2);

// if (myArgs[2].toUpperCase() !== 'SUCCESS') {
// axios.post(myArgs[0], {
// 'github_workflow_url': myArgs[1],
// 'browser_compatibility_tests_status': myArgs[2].toUpperCase()
// }).then(res => {
// console.log(res.data);
// }).catch(err => {
// console.log(err);
// });
// }
2 changes: 1 addition & 1 deletion integration/js/checks/RosterCheckConfig.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

class RosterCheckConfig {
constructor(checkCount = 10, waitTimeMs = 1000){
constructor(checkCount = 10, waitTimeMs = 2000){
this.checkCount = checkCount;
this.waitTimeMs = waitTimeMs;
}
Expand Down

0 comments on commit 45cd1ef

Please sign in to comment.