Skip to content

Commit

Permalink
Corrected declaration for the Review Page
Browse files Browse the repository at this point in the history
Signed-off-by: sagar-1310 <[email protected]>
  • Loading branch information
sagaryadavs committed Nov 13, 2024
1 parent 4c2e439 commit b9f4e83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion playwright_test/Pages/stcs.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion playwright_test/Pages/vsam.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions playwright_test/Tests/Review.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})

Expand All @@ -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);
})

Expand Down

0 comments on commit b9f4e83

Please sign in to comment.