Skip to content

Commit 42491ad

Browse files
fix: resolve TypeScript e2e test name and header expectations (#4394)
1 parent 2748848 commit 42491ad

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cypress-e2e/fixtures/commonTestData.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { getRandomTextString } from '../helpers/base-helper';
22
import { Constants } from './constants';
33
import { baseSelectors, selectors } from '../common/selectors';
44

5+
const typescriptHeader =
6+
Constants.commonConstantsData.typeScript.charAt(0).toUpperCase() +
7+
Constants.commonConstantsData.typeScript.slice(1);
8+
59
export class CommonTestData {
610
public static readonly multipleSizeStringsArray = [
711
getRandomTextString(10),
@@ -44,12 +48,12 @@ export class CommonTestData {
4448
public static readonly commonTypeScriptAppsData = [
4549
{
4650
host: 3001,
47-
header: Constants.commonConstantsData.typeScript.charAt(0).toUpperCase(),
51+
header: typescriptHeader,
4852
appName: Constants.commonConstantsData.commonCountAppNames.app1,
4953
},
5054
{
5155
host: 3002,
52-
header: Constants.commonConstantsData.typeScript.charAt(0).toUpperCase(),
56+
header: typescriptHeader,
5357
appName: Constants.commonConstantsData.commonCountAppNames.app2,
5458
},
5559
];

0 commit comments

Comments
 (0)