mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
Enable disabled performance test
This commit is contained in:
parent
e2b6086ba8
commit
8179a56f63
@ -12,7 +12,6 @@ const config = {
|
|||||||
retries: 2, //Retries 2 times for a total of 3 runs. When running sharded and with maxFailures = 5, this should ensure that flake is managed without failing the full suite
|
retries: 2, //Retries 2 times for a total of 3 runs. When running sharded and with maxFailures = 5, this should ensure that flake is managed without failing the full suite
|
||||||
testDir: 'tests',
|
testDir: 'tests',
|
||||||
testIgnore: '**/*.perf.spec.js', //Ignore performance tests and define in playwright-perfromance.config.js
|
testIgnore: '**/*.perf.spec.js', //Ignore performance tests and define in playwright-perfromance.config.js
|
||||||
timeout: 60 * 1000,
|
|
||||||
webServer: {
|
webServer: {
|
||||||
command: 'npm run start:coverage',
|
command: 'npm run start:coverage',
|
||||||
url: 'http://localhost:8080/#',
|
url: 'http://localhost:8080/#',
|
||||||
|
@ -37,7 +37,7 @@ const { test, expect } = require('@playwright/test');
|
|||||||
const filePath = 'e2e/test-data/PerformanceDisplayLayout.json';
|
const filePath = 'e2e/test-data/PerformanceDisplayLayout.json';
|
||||||
|
|
||||||
// eslint-disable-next-line playwright/no-skipped-test
|
// eslint-disable-next-line playwright/no-skipped-test
|
||||||
test.describe.skip('Memory Performance tests', () => {
|
test.describe('Memory Performance tests', () => {
|
||||||
test.beforeEach(async ({ page, browser }, testInfo) => {
|
test.beforeEach(async ({ page, browser }, testInfo) => {
|
||||||
// Go to baseURL
|
// Go to baseURL
|
||||||
await page.goto('./', { waitUntil: 'networkidle' });
|
await page.goto('./', { waitUntil: 'networkidle' });
|
||||||
|
Loading…
Reference in New Issue
Block a user