-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(catalog): added created at column in the catalog page (#1257)
- Loading branch information
Showing
6 changed files
with
100 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { expect, Page, test } from '@playwright/test'; | ||
|
||
import { UIhelperPO } from '../support/pageObjects/global-obj'; | ||
import { UIhelper } from '../utils/UIhelper'; | ||
import { Common, setupBrowser } from '../utils/Common'; | ||
|
||
let page: Page; | ||
test.describe('Test timestamp column on Catalog', () => { | ||
let uiHelper: UIhelper; | ||
let common: Common; | ||
|
||
test.beforeAll(async ({ browser }, testInfo) => { | ||
page = (await setupBrowser(browser, testInfo)).page; | ||
|
||
common = new Common(page); | ||
uiHelper = new UIhelper(page); | ||
|
||
await common.loginAsGithubUser(); | ||
}); | ||
test('Verify `Created At` column in the Catalog Page', async () => { | ||
await uiHelper.openSidebar('Catalog'); | ||
await uiHelper.verifyHeading('My Org Catalog'); | ||
|
||
const column = page | ||
.locator(`${UIhelperPO.MuiTableHead}`) | ||
.getByText('Created At', { exact: true }); | ||
await expect(column).toBeVisible(); | ||
}); | ||
|
||
test.afterAll(async () => { | ||
await page.close(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters