diff --git a/playwright_test/Pages/stcs.page.ts b/playwright_test/Pages/stcs.page.ts index c450e81..9c8f450 100644 --- a/playwright_test/Pages/stcs.page.ts +++ b/playwright_test/Pages/stcs.page.ts @@ -14,7 +14,7 @@ class StcsPage{ previous_step_button = Locator; skip_button = Locator; editor_title_element = Locator; - STCS_TITLE = Locator; + STCS_TITLE : Locator; continueToComponentInstallation = Locator; view_yaml = Locator; viewAndSubmitJob = Locator; diff --git a/playwright_test/Pages/vsam.page.ts b/playwright_test/Pages/vsam.page.ts index 66a5b8c..8037a8f 100644 --- a/playwright_test/Pages/vsam.page.ts +++ b/playwright_test/Pages/vsam.page.ts @@ -8,7 +8,7 @@ class VsamPage{ previous_step_button = Locator; skip_button = Locator; editor_title_element = Locator; - VSAM_TITLE = Locator; + VSAM_TITLE : Locator; continueToComponentInstallation = Locator; view_yaml = Locator; viewAndSubmitJob = Locator; diff --git a/playwright_test/Tests/Review.spec.ts b/playwright_test/Tests/Review.spec.ts index 7d197bb..2de649c 100644 --- a/playwright_test/Tests/Review.spec.ts +++ b/playwright_test/Tests/Review.spec.ts @@ -155,7 +155,7 @@ test.describe('ReviewTab', () => { test('Test Navigation to Stcs page', async ({ page }) => { reviewPage.clickStcsTab(); await page.waitForTimeout(1000); - const stcs_title = await stcsPage.getStcsPageTitle(); + const stcs_title = await stcsPage.returnTitleOfStcsPage(); expect(stcs_title).toBe(STCS_PAGE_TITLE); }) @@ -169,7 +169,7 @@ test.describe('ReviewTab', () => { test('Test Navigation to Caching Service page', async ({ page }) => { reviewPage.clickCachingServiceTab(); await page.waitForTimeout(1000); - const cachingService_title = await vsamPage.getVsamPageTitle(); + const cachingService_title = await vsamPage.returnTitleOfVsamPage(); expect(cachingService_title).toBe(CACHING_SERVICE_PAGE_TITLE); })