Skip to content

[Draft] 🎀 Add login on demand depending on user permission 🎀 #3320

[Draft] 🎀 Add login on demand depending on user permission 🎀

[Draft] 🎀 Add login on demand depending on user permission 🎀 #3320

Triggered via pull request September 30, 2024 20:25
Status Failure
Total duration 12m 31s
Artifacts 2

pr-automation.yml

on: pull_request
initialize-cloud
43s
initialize-cloud
deploy-dashboard
2m 49s
deploy-dashboard
Matrix: run-tests
merge-reports
58s
merge-reports
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 5 warnings, and 9 notices
initialize-cloud
Process completed with exit code 1.
[e2e] › staffMembers.spec.ts:77:1 › TC: SALEOR_137 Admin User should be able to deactivate other user @e2e @staff-members: playwright/tests/staffMembers.spec.ts#L89
1) [e2e] › staffMembers.spec.ts:77:1 › TC: SALEOR_137 Admin User should be able to deactivate other user @e2e @staff-members Error: expect(received).rejects.toThrow(expected) Expected substring: "Login failed: Account inactive" Received message: "Login failed: Logging has been suspended till 2024-09-30 20:35:41.908347+00:00 due to too many logging attempts originating from the same IP address." 76 | .join(", "); 77 | > 78 | throw new Error(`Login failed: ${errorMessages}`); | ^ 79 | } 80 | 81 | return loginResponseJson as ApiResponse<TokenCreateResponse>; at BasicApiService.logInUserViaApi (playwright/api/basics.ts:78:15) at playwright/tests/staffMembers.spec.ts:84:3 at node_modules/playwright/lib/worker/workerMain.js:345:9 at TestInfoImpl._runAndFailOnError (node_modules/playwright/lib/worker/testInfo.js:182:7) at node_modules/playwright/lib/worker/workerMain.js:341:21 at TimeoutRunner.run (node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14) at TimeoutManager.runWithTimeout (node_modules/playwright/lib/worker/timeoutManager.js:74:7) at TestInfoImpl._runWithTimeout (node_modules/playwright/lib/worker/testInfo.js:169:26) at WorkerMain._runTest (node_modules/playwright/lib/worker/workerMain.js:280:5) at WorkerMain.runTestGroup (node_modules/playwright/lib/worker/workerMain.js:204:11) at process.<anonymous> (node_modules/playwright/lib/common/process.js:91:22) 87 | password: process.env.E2E_PERMISSIONS_USERS_PASSWORD!, 88 | }), > 89 | ).rejects.toThrow("Login failed: Account inactive"); | ^ 90 | }); 91 | 92 | test("TC: SALEOR_38 Admin User should be able to activate other user @e2e @staff-members", async () => { at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/staffMembers.spec.ts:89:13
run-tests (2/2)
Process completed with exit code 1.
deploy-dashboard
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3, actions/cache@v3, aws-actions/configure-aws-credentials@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-tests (2/2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-tests (1/2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
merge-reports
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports", "html-report--attempt-1". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
BASE_URL
https://pr-5176.dashboard.saleor.rocks
API_URL
https://pr-5176.staging.saleor.cloud/graphql/
POOL_NAME
pr-5176
POOL_INSTANCE
https://pr-5176.staging.saleor.cloud
BACKUP_NAMESPACE
snapshot-automation-tests
SNAPSHOT
backup_id=D1NNDqSW, version=3.21.0a0, name=snapshot-automation-tests
SALEOR_CLOUD_SERVICE
saleor-master-staging
🎭 Playwright Run Summary
1 failed [e2e] › staffMembers.spec.ts:77:1 › TC: SALEOR_137 Admin User should be able to deactivate other user @e2e @staff-members 102 passed (5.3m)
🎭 Playwright Run Summary
103 passed (5.4m)

Artifacts

Produced during runtime
Name Size
all-blob-reports
2.45 MB
html-report--attempt-1
3.78 MB