Implement Playwright tests to ensure calls persist across room switches #13206
Annotations
2 errors and 1 notice
|
Run Playwright tests:
playwright/e2e/widgets/permissions-dialog.spec.ts#L92
2) [Chrome] › playwright/e2e/widgets/permissions-dialog.spec.ts:49:9 › Widger permissions dialog › should be updated if user is re-invited into the room with updated state event @screenshot
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 368
- Array []
+ Array [
+ Object {
+ "description": "Ensure aria-hidden elements are not focusable nor contain focusable elements",
+ "help": "ARIA hidden element must not be focusable or contain focusable elements",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-hidden-focus?application=playwright",
+ "id": "aria-hidden-focus",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [
+ Object {
+ "data": null,
+ "id": "focusable-disabled",
+ "impact": "serious",
+ "message": "Focusable content should be disabled or be removed from the DOM",
+ "relatedNodes": Array [
+ Object {
+ "html": "<button class=\"_button_vczzf_8\" role=\"button\" tabindex=\"0\" data-size=\"sm\" data-kind=\"secondary\">Dismiss</button>",
+ "target": Array [
+ ".mx_Toast_buttons > ._button_vczzf_8[data-size=\"sm\"][data-kind=\"secondary\"]",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_button_vczzf_8\" role=\"button\" tabindex=\"0\" data-size=\"sm\" data-kind=\"primary\">Enable</button>",
+ "target": Array [
+ "._button_vczzf_8[data-size=\"sm\"][data-kind=\"primary\"]",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_icon-button_1pz9o_8 mx_ThreadsActivityCentreButton\" role=\"button\" tabindex=\"0\" aria-disabled=\"false\" aria-label=\"Threads\" type=\"button\" id=\"radix-_r_c_\" aria-haspopup=\"menu\" aria-expanded=\"false\" data-state=\"closed\" aria-labelledby=\"_r_e_\" data-kind=\"primary\" style=\"--cpd-icon-button-size: 32px;\">",
+ "target": Array [
+ "#radix-_r_c_",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_icon-button_1pz9o_8 mx_QuickSettingsButton\" role=\"button\" tabindex=\"0\" aria-label=\"Quick settings\" title=\"Quick settings\" aria-expanded=\"false\" aria-labelledby=\"_r_n_\" data-kind=\"primary\" style=\"--cpd-icon-button-size: 32px;\">",
+ "target": Array [
+ ".mx_QuickSettingsButton",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_button_vczzf_8 mx_RoomListSearch_search _has-icon_vczzf_57\" role=\"button\" tabindex=\"0\" data-size=\"sm\" data-kind=\"secondary\">",
+ "target": Array [
+ ".mx_RoomListSearch_search",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50\" role=\"button\" tabindex=\"0\" aria-label=\"Explore rooms\" data-size=\"sm\" data-kind=\"secondary\">",
+ "target": Array [
+ "._icon-only_vczzf_50",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_icon-button_1pz9o_8\" role=\"button\" tabindex=\"0\" aria-disabled=\"false\" aria-label=\"Room Options\" type=\"button\" id=\"radix-_r_10_\" aria-haspopup=\"menu\" aria-expanded=\"false\" data-state=\"closed\" aria-labelledby=\"_r_12_\" data-kind=\"primary\" style=\"--cpd-icon-button-size: 32px;\">",
+ "target": Array [
+ "#radix-_r_10_",
+ ],
+ },
+ Object {
+ "ht
|
|
Run Playwright tests:
playwright/e2e/oidc/oidc-native.spec.ts#L134
1) [Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:110:9 › OIDC Native › can log in to an existing MAS account @no-firefox @no-webkit @screenshot
Error: expect(locator).toBeVisible() failed
Locator: getByText('Confirm your identity')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText('Confirm your identity')
132 |
133 | // We should be in
> 134 | await expect(page.getByText("Confirm your identity")).toBeVisible();
| ^
135 | });
136 |
137 | test.describe("with force_verification on", () => {
at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:134:63
|
|
Run Playwright tests
2 flaky
[Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:110:9 › OIDC Native › can log in to an existing MAS account @no-firefox @no-webkit @screenshot
[Chrome] › playwright/e2e/widgets/permissions-dialog.spec.ts:49:9 › Widger permissions dialog › should be updated if user is re-invited into the room with updated state event @screenshot
69 passed (9.2m)
|
Loading