* As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** (2 minutes, 0.19 seconds)
* As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** (2 minutes, 0.007 seconds)
* As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** (2 minutes, 0.002 seconds)
* As IT, when PM approve a request successfully @it: **I should reject success** (1 minute, 19.766 seconds)
* As IT, when PM approve a request successfully @it: **I should approve success** (1 minute, 18.426 seconds)
33 tests across 10 suites
14 minutes, 32 seconds
c7e851c
Failed tests
chromium › e2e/changeOfficeRequest.spec.ts › As user, I want to see a Change Office Request after PM, GDVP1, GDVP2 approved › As user, when PM, Current/Destination HoO approve successfully @user › I should see the request with approve status on my tasks
chromium › e2e/deviceRequest.spec.ts › As user, When I create a new request @user › I should see the request on my requests
chromium › e2e/deviceRequest.spec.ts › As pm, I want to received a Device Request from my project › As pm, when user in my project create a new request @pm › I should see the request on my tasks
chromium › e2e/deviceRequest.spec.ts › As pm, I want to received a Device Request from my project › As pm, when user in my project create a new request @pm › I should approve success
chromium › e2e/deviceRequest.spec.ts › As pm, I want to received a Device Request from my project › As pm, when user in my project create a new request @pm › I should reject success
chromium › e2e/deviceRequest.spec.ts › As IT, I want to received a Device Request after PM approved › As IT, when PM approve a request successfully @it › I should see the request on my tasks
chromium › e2e/deviceRequest.spec.ts › As IT, I want to received a Device Request after PM approved › As IT, when PM approve a request successfully @it › I should approve success
chromium › e2e/deviceRequest.spec.ts › As IT, I want to received a Device Request after PM approved › As IT, when PM approve a request successfully @it › I should reject success
chromium › e2e/login.spec.ts › As user, I want to login to w2 @user › should login success
chromium › e2e/login.spec.ts › As user, I want to logout @user › should logout success
Flaky tests
chromium › e2e/changeOfficeRequest.spec.ts › As gdvp, I want to received a Change Office Request if anyone come to my office › As gdvp, when user in my office create a new request @gdvp › I should reject success
Skipped tests
chromium › accessibility/axe.spec.ts › Accessibility Scans › login page a11y
chromium › lighthouse/lighthouse.spec.ts › home @lighthouse
chromium › visual/login/visual.spec.ts › login page › snapshot
chromium › visual/requestTemplate/visual.spec.ts › as user, request template page › snapshot
chromium › visual/requestTemplate/visual.spec.ts › as admin, request template page › snapshot
Linux
X64
#### 🔴 As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** > [31mTest timeout of 120000ms exceeded while running "beforeEach" hook.[39m ```diff ################[ Steps ]################ Before Hooks 120005ms beforeEach hook 120003ms browser.newContext 85ms browserContext.newPage 66ms page.goto(/request-templates) 1185ms expect.toHaveURL 56ms locator.getByRole('row', { name: 'Change Office Request' }).getByLabel('Popup modal').click 433ms locator.click(body >> internal:testid=[data-testid="CurrentOffice"s]) 240ms locator.click(body >> internal:testid=[data-testid="CurrentOffice"s] >> internal:text="Đà Nẵng"s) 182ms locator.click(body >> internal:testid=[data-testid="DestinationOffice"s]) 93ms locator.click(body >> internal:testid=[data-testid="DestinationOffice"s] >> internal:text="Vinh"s) 92ms locator.fill(body >> internal:testid=[data-testid="Content"s] >> textarea) 68ms locator.fill(body >> internal:testid=[data-testid="StartDate"s] >> input) 175ms locator.click(body >> internal:testid=[data-testid="StartDate"s] >> [aria-selected="true"]) 136ms locator.fill(body >> internal:testid=[data-testid="EndDate"s] >> input) 79ms locator.click(body >> internal:testid=[data-testid="EndDate"s] >> [aria-selected="true"]) 160ms locator.click(body >> internal:role=button[name="Save"i]) 158ms page.waitForResponse 7627ms browserContext.close 7ms browser.newContext 78ms browserContext.newPage 45ms page.goto(/tasks) 1555ms locator.click(body >> internal:testid=[data-testid="board-item-title"s] >> internal:has-text="Change office from ĐN to V"i >> nth=0) 19464ms locator.click(body >> internal:role=button[name="Approve"i]) 1865ms locator.click(body >> internal:role=button[name="Confirm"i]) 550ms page.waitForResponse 1311ms locator.waitFor(body) 160ms locator.count(.chakra-skeleton) 7ms locator.waitFor(.chakra-skeleton >> nth=0) 63ms locator.waitFor(.chakra-skeleton >> nth=0) 24366ms page.waitForTimeout 249ms expect.toContainText 57ms expect.toContainText 43ms expect.toContainText 35ms browserContext.close 6ms browser.newContext 85ms browserContext.newPage 80ms page.goto(/tasks) 1612ms locator.click(body >> internal:testid=[data-testid="board-item-title"s] >> internal:has-text="Change office from ĐN to V"i >> nth=0) 17912ms locator.click(body >> internal:role=button[name="Approve"i]) 527ms locator.click(body >> internal:role=button[name="Confirm"i]) 341ms page.waitForResponse 353ms locator.waitFor(body) 133ms locator.count(.chakra-skeleton) 4ms locator.waitFor(.chakra-skeleton >> nth=0) 28ms locator.waitFor(.chakra-skeleton >> nth=0) 12016ms page.waitForTimeout 230ms expect.toContainText 31ms expect.toContainText 40ms expect.toContainText 32ms browserContext.close 8ms browser.newContext 94ms browserContext.newPage 75ms page.goto(/tasks) 1782ms locator.click(body >> internal:testid=[data-testid="board-item-title"s] >> internal:has-text="Change office from ĐN to V"i >> nth=0) 19823ms locator.click(body >> internal:role=button[name="Approve"i]) 660ms locator.click(body >> internal:role=button[name="Confirm"i]) 381ms page.waitForResponse -1ms After Hooks 379ms Worker Cleanup 59ms fixture: browser 57ms ################[ Failure ]################ Test timeout of 120000ms exceeded while running "beforeEach" hook. 54 |}); 55 | 56 |test.describe("As user, I want to see a Change Office Request after PM, GDVP1, GDVP2 approved", () => { 57 | let dataNewRequest: ChangeOfficeRequestForm; 58 | test.use({ storageState: authUserFile }); // main context auth > 59 | test.beforeEach(async ({ browser }) => { 60 | await BrowserControl.withAuth(browser, authUserFile, async ({ PageObjects }) => { 61 | dataNewRequest = await userCreateChangeOfficeRequestSteps(PageObjects); 62 | }); 63 | // PM approve 64 | await BrowserControl.withAuth(browser, authPmFile, async ({ PageObjects }) => { at🟥 Failures (3)
* As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** (2 minutes, 0.19 seconds) * As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** (2 minutes, 0.007 seconds) * As user, when PM, Current/Destination HoO approve successfully @user: **I should see the request with approve status on my tasks** (2 minutes, 0.002 seconds) * As IT, when PM approve a request successfully @it: **I should reject success** (1 minute, 19.766 seconds) * As IT, when PM approve a request successfully @it: **I should approve success** (1 minute, 18.426 seconds)🐢 Slowest Tests