forked from getdokan/dokan
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
33 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
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,30 @@ | ||
import { test, Page } from '@playwright/test'; | ||
import { NoticeAndPromotionPage } from '@pages/noticeAndPromotionPage'; | ||
import { data } from '@utils/testData'; | ||
|
||
test.describe('Dokan pro feature promo test', () => { | ||
let admin: NoticeAndPromotionPage; | ||
let aPage: Page; | ||
|
||
test.beforeAll(async ({ browser }) => { | ||
const adminContext = await browser.newContext(data.auth.adminAuth); | ||
aPage = await adminContext.newPage(); | ||
admin = new NoticeAndPromotionPage(aPage); | ||
}); | ||
|
||
test.afterAll(async () => { | ||
await aPage.close(); | ||
}); | ||
|
||
test('dokan notice is rendering properly @lite @exp @a', async () => { | ||
await admin.dokanNoticeRenderProperly(); | ||
}); | ||
|
||
test('dokan promotion is rendering properly @lite @exp @a', async () => { | ||
await admin.dokanPromotionRenderProperly(); | ||
}); | ||
|
||
test('dokan pro features promotions are rendering properly @liteOnly @exp @a', async () => { | ||
await admin.dokanProPromotionRenderProperly(); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.