[IRM]: updates to e2e tests (#5001)

# What this PR does

Needed for https://github.com/grafana/irm/pull/76
This commit is contained in:
Joey Orlando 2024-09-10 03:23:12 -04:00 committed by GitHub
parent 6dad8a0377
commit f25314df1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 22 deletions

View file

@ -1,7 +0,0 @@
GRAFANA_VIEWER_USERNAME=viewer
GRAFANA_VIEWER_PASSWORD=viewer
GRAFANA_EDITOR_USERNAME=editor
GRAFANA_EDITOR_PASSWORD=editor
GRAFANA_ADMIN_USERNAME=oncall
GRAFANA_ADMIN_PASSWORD=oncall
IS_OPEN_SOURCE=True

View file

@ -85,7 +85,6 @@
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"dompurify": "^2.3.12",
"dotenv": "^16.4.0",
"eslint": "^8.25.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-jsdoc": "^44.2.4",

View file

@ -1,11 +1,6 @@
import { PlaywrightTestProject, defineConfig, devices } from '@playwright/test';
import path from 'path';
/**
* Read environment variables from file.
* https://github.com/motdotla/dotenv
*/
require('dotenv').config({ path: path.resolve(process.cwd(), 'e2e-tests/.env') });
export const VIEWER_USER_STORAGE_STATE = path.join(process.cwd(), 'e2e-tests/.auth/viewer.json');
export const EDITOR_USER_STORAGE_STATE = path.join(process.cwd(), 'e2e-tests/.auth/editor.json');

View file

@ -253,9 +253,6 @@ importers:
dompurify:
specifier: ^2.3.12
version: 2.5.6
dotenv:
specifier: ^16.4.0
version: 16.4.5
eslint:
specifier: ^8.25.0
version: 8.57.0
@ -2718,10 +2715,6 @@ packages:
dot-case@3.0.4:
resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}
dotenv@16.4.5:
resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}
engines: {node: '>=12'}
downshift@9.0.8:
resolution: {integrity: sha512-59BWD7+hSUQIM1DeNPLirNNnZIO9qMdIK5GQ/Uo8q34gT4B78RBlb9dhzgnh0HfQTJj4T/JKYD8KoLAlMWnTsA==}
peerDependencies:
@ -9324,8 +9317,6 @@ snapshots:
no-case: 3.0.4
tslib: 2.5.3
dotenv@16.4.5: {}
downshift@9.0.8(react@18.2.0):
dependencies:
'@babel/runtime': 7.25.6