grafana/irm tilt changes (#4964)

Related to https://github.com/grafana/irm/pull/62
This commit is contained in:
Joey Orlando 2024-08-30 12:26:22 -04:00 committed by GitHub
parent 7b74b65168
commit 90de23ccc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View file

@ -24,7 +24,7 @@
"test:e2e:watch": "yarn test:e2e --ui",
"test:e2e-expensive:watch": "yarn test:e2e-expensive --ui",
"test:e2e:gen": "yarn playwright codegen http://localhost:3000",
"e2e-show-report": "yarn playwright show-report",
"e2e-show-report": "yarn playwright show-report --port 31000",
"generate-types": "cd ./src/network/oncall-api/types-generator && yarn generate",
"watch": "NODE_ENV=development webpack -w -c ./webpack.config.ts --env development",
"sign": "npx --yes @grafana/sign-plugin@latest",

View file

@ -27,7 +27,16 @@ export default defineConfig({
/* Maximum time all the tests can run for. */
globalTimeout: 20 * 60 * 1_000, // 20 minutes
reporter: [['html', { open: IS_CI ? 'never' : 'always' }]],
reporter: [
[
'html',
{
open: IS_CI ? 'never' : 'always',
port: 31000, // explicitly specify a port for k8s port forwarding to avoid clashes with Incident and IRM
},
],
['list', { printSteps: true }],
],
/* Maximum time one test can run for. */
timeout: 60_000,