mirror of
https://github.com/penpot/penpotqa.git
synced 2024-07-06 04:51:46 +00:00
test fix
This commit is contained in:
parent
a98dd6b7ee
commit
ebe70b3958
Binary file not shown.
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.9 KiB |
|
@ -337,11 +337,14 @@ mainTest(qase(1749,'PENPOT-1749 Change group shadow color'),
|
|||
const mainPage = new MainPage(page);
|
||||
const designPanelPage = new DesignPanelPage(page);
|
||||
const colorPalettePage = new ColorPalettePage(page);
|
||||
const layersPanelPage = new LayersPanelPage(page);
|
||||
await mainPage.createDefaultRectangleByCoordinates(200, 200);
|
||||
await mainPage.createComponentViaRightClick();
|
||||
await mainPage.waitForChangeIsSaved();
|
||||
await mainPage.groupLayerViaRightClick();
|
||||
await mainPage.waitForChangeIsSaved();
|
||||
await mainPage.clickViewportOnce();
|
||||
await layersPanelPage.clickLayerOnLayersTab('Group');
|
||||
await designPanelPage.clickAddGroupShadowButton();
|
||||
await mainPage.waitForChangeIsSaved();
|
||||
await designPanelPage.clickFirstColorIcon();
|
||||
|
|
|
@ -901,7 +901,8 @@ test.describe(() => {
|
|||
|
||||
mainTest(
|
||||
qase(1187,'DA-101 Team. Members - change role via admin(admin to editor)'),
|
||||
async ({ page }) => {
|
||||
async ({ page }, testInfo) => {
|
||||
await testInfo.setTimeout(testInfo.timeout + 60000);
|
||||
const firstAdmin = random().concat('autotest');
|
||||
const secondAdmin = random().concat('autotest');
|
||||
const firstEmail = `${process.env.GMAIL_NAME}+${firstAdmin}@gmail.com`;
|
||||
|
@ -998,7 +999,8 @@ test.describe(() => {
|
|||
|
||||
mainTest(
|
||||
qase(1197,'DA-111 Team. Members - leave team (as admin)'),
|
||||
async ({ page }) => {
|
||||
async ({ page }, testInfo) => {
|
||||
await testInfo.setTimeout(testInfo.timeout + 60000);
|
||||
const firstAdmin = random().concat('autotest');
|
||||
const firstEmail = `${process.env.GMAIL_NAME}+${firstAdmin}@gmail.com`;
|
||||
const profilePage = new ProfilePage(page);
|
||||
|
@ -1045,7 +1047,8 @@ test.describe(() => {
|
|||
|
||||
mainTest(
|
||||
qase(1198,'DA-112 Team. Members - leave team (as editor)'),
|
||||
async ({ page }) => {
|
||||
async ({ page },testInfo) => {
|
||||
await testInfo.setTimeout(testInfo.timeout + 60000);
|
||||
const firstAdmin = random().concat('autotest');
|
||||
const firstEmail = `${process.env.GMAIL_NAME}+${firstAdmin}@gmail.com`;
|
||||
const profilePage = new ProfilePage(page);
|
||||
|
|
Loading…
Reference in New Issue
Block a user