Skip to content

Commit 6d68360

Browse files
docs: Update Playwright test documentation to reflect new scenarios and add a deflake prompt. (#25544)
1 parent 33dc0c5 commit 6d68360

File tree

8 files changed

+1624
-965
lines changed

8 files changed

+1624
-965
lines changed

.github/workflows/playwright-postgresql-e2e-skip.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ on:
2222
- synchronize
2323
- reopened
2424
paths:
25-
- '.github/**'
26-
- 'openmetadata-dist/**'
27-
- 'docker/**'
28-
- '!docker/development/docker-compose.yml'
29-
- '!docker/development/docker-compose-postgres.yml'
25+
- ".github/**"
26+
- "openmetadata-dist/**"
27+
- "docker/**"
28+
- "!docker/development/docker-compose.yml"
29+
- "!docker/development/docker-compose-postgres.yml"
30+
- "OpenMetadata/openmetadata-ui/src/main/resources/ui/playwright/doc-generator/**"
31+
- "OpenMetadata/openmetadata-ui/src/main/resources/ui/playwright/docs/**"
3032

3133
jobs:
3234
playwright-ci-postgresql:

.github/workflows/playwright-postgresql-e2e.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ on:
2323
- reopened
2424
- ready_for_review
2525
paths-ignore:
26-
- '.github/**'
27-
- 'openmetadata-dist/**'
28-
- 'docker/**'
29-
- '!docker/development/docker-compose.yml'
30-
- '!docker/development/docker-compose-postgres.yml'
26+
- ".github/**"
27+
- "openmetadata-dist/**"
28+
- "docker/**"
29+
- "!docker/development/docker-compose.yml"
30+
- "!docker/development/docker-compose-postgres.yml"
31+
- "OpenMetadata/openmetadata-ui/src/main/resources/ui/playwright/doc-generator/**"
32+
- "OpenMetadata/openmetadata-ui/src/main/resources/ui/playwright/docs/**"
3133

3234
permissions:
3335
contents: read
@@ -99,7 +101,7 @@ jobs:
99101
- name: Setup Node.js
100102
uses: actions/setup-node@v4
101103
with:
102-
node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc'
104+
node-version-file: "openmetadata-ui/src/main/resources/ui/.nvmrc"
103105

104106
- name: Install dependencies
105107
working-directory: openmetadata-ui/src/main/resources/ui/

openmetadata-ui/src/main/resources/ui/playwright/docs/Discovery.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Discovery
44

5-
> **7 Components** | **26 Files** | **368 Tests** | **380 Scenarios** 🚀
5+
> **7 Components** | **27 Files** | **369 Tests** | **384 Scenarios** 🚀
66
77
## Table of Contents
88
- [Feed](#feed)
@@ -303,11 +303,8 @@
303303
| # | Test Case | Description |
304304
|---|-----------|-------------|
305305
| 1 | **Data Asset Rules Disabled Bulk Edit Actions** - Database service | Database service |
306-
| |*Perform bulk edit action* | |
307306
| 2 | **Data Asset Rules Disabled Bulk Edit Actions** - Database | Database |
308-
| |*Perform bulk edit action* | |
309307
| 3 | **Data Asset Rules Disabled Bulk Edit Actions** - Database Schema | Database Schema |
310-
| |*Perform bulk edit action* | |
311308

312309
### GlossaryTerm Domain Entity Rules Disabled
313310

@@ -493,7 +490,7 @@
493490
</details>
494491

495492
<details open>
496-
<summary>📄 <b>SchemaTable.spec.ts</b> (5 tests, 6 scenarios)</summary>
493+
<summary>📄 <b>SchemaTable.spec.ts</b> (5 tests, 5 scenarios)</summary>
497494

498495
> Source: [`src/main/resources/ui/playwright/e2e/Flow/SchemaTable.spec.ts`](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/SchemaTable.spec.ts)
499496
@@ -502,8 +499,6 @@
502499
| # | Test Case | Description |
503500
|---|-----------|-------------|
504501
| 1 | schema table test | Schema table test |
505-
| |*set owner* | |
506-
| |*set the description* | |
507502
| 2 | Schema Table Pagination should work Properly | Schema Table Pagination should work Properly |
508503
| 3 | Copy column link button should copy the column URL to clipboard | Copy column link button should copy the column URL to clipboard |
509504
| 4 | Copy column link should have valid URL format | Copy column link should have valid URL format |
@@ -587,6 +582,24 @@
587582

588583
</details>
589584

585+
<details open>
586+
<summary>📄 <b>PipelineExecution.spec.ts</b> (1 tests, 5 scenarios)</summary>
587+
588+
> Source: [`src/main/resources/ui/playwright/e2e/Pages/PipelineExecution.spec.ts`](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/PipelineExecution.spec.ts)
589+
590+
### Pipeline Execution Tab
591+
592+
| # | Test Case | Description |
593+
|---|-----------|-------------|
594+
| 1 | **Pipeline Execution Tab** - Execution tab should display start time, end time, and duration columns | Execution tab should display start time, end time, and duration columns |
595+
| |*Navigate to pipeline entity page* | |
596+
| |*Navigate to Executions tab* | |
597+
| |*Verify ListView displays timing columns* | |
598+
| |*Verify execution data rows are present* | |
599+
| |*Verify duration is 10 minutes for both tasks* | |
600+
601+
</details>
602+
590603
<details open>
591604
<summary>📄 <b>TableVersionPage.spec.ts</b> (1 tests, 2 scenarios)</summary>
592605

openmetadata-ui/src/main/resources/ui/playwright/docs/Governance.md

Lines changed: 682 additions & 604 deletions
Large diffs are not rendered by default.

openmetadata-ui/src/main/resources/ui/playwright/docs/Integration.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Integration
44

5-
> **1 Components** | **6 Files** | **53 Tests** | **57 Scenarios** 🚀
5+
> **1 Components** | **7 Files** | **59 Tests** | **63 Scenarios** 🚀
66
77
## Table of Contents
88
- [Connectors](#connectors)
@@ -125,6 +125,24 @@
125125

126126
</details>
127127

128+
<details open>
129+
<summary>📄 <b>ServiceCreationPermissions.spec.ts</b> (6 tests, 6 scenarios)</summary>
130+
131+
> Source: [`src/main/resources/ui/playwright/e2e/Flow/ServiceCreationPermissions.spec.ts`](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ServiceCreationPermissions.spec.ts)
132+
133+
### Service Creation with isOwner() Permissions
134+
135+
| # | Test Case | Description |
136+
|---|-----------|-------------|
137+
| 1 | **Service Creation with isOwner() Permissions** - User with service creation permission can create a new database service | User with service creation permission can create a new database service |
138+
| 2 | **Service Creation with isOwner() Permissions** - User can view but cannot modify services they do not own | User can view but cannot modify services they do not own |
139+
| 3 | **Service Creation with isOwner() Permissions** - User can update connection details of their own service | User can update connection details of their own service |
140+
| 4 | **Service Creation with isOwner() Permissions** - Different user can view but cannot modify service owned by another user | Different user can view but cannot modify service owned by another user |
141+
| 5 | **Service Creation with isOwner() Permissions** - Owner can delete their own service | Owner can delete their own service |
142+
| 6 | **Service Creation with isOwner() Permissions** - Owner can update description of their service | Owner can update description of their service |
143+
144+
</details>
145+
128146
<details open>
129147
<summary>📄 <b>ServiceForm.spec.ts</b> (4 tests, 4 scenarios)</summary>
130148

0 commit comments

Comments
 (0)