mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-07 05:47:03 +00:00
Fixup: bad copy in the text
This commit is contained in:
19
README.md
19
README.md
@@ -228,6 +228,25 @@ npx playwright codegen
|
||||
This will record your action and write the test code for you. Use the tool bar to test visibility, text content,
|
||||
clicking..
|
||||
|
||||
##### Investigate a failed test from the CI
|
||||
|
||||
In the failed action page, click on the failed job, then scroll down to the `upload-artifact` step.
|
||||
You will find a link to download the zip report, as per:
|
||||
|
||||
```
|
||||
Artifact playwright-report has been successfully uploaded! Final size is 1360358 bytes. Artifact ID is 2746265841
|
||||
Artifact download URL: https://github.com/element-hq/element-call/actions/runs/13837660687/artifacts/2746265841
|
||||
```
|
||||
|
||||
Unzip the report then use this command to open the report in your browser:
|
||||
|
||||
```shell
|
||||
npx playwright show-report ~/Downloads/playwright-report/
|
||||
```
|
||||
|
||||
Under the failed test there is a small icon looking like "3 columns" (next to test name file name),
|
||||
click on it to see the live screenshots/console output.
|
||||
|
||||
### Test Coverage
|
||||
|
||||
<img src="https://codecov.io/github/element-hq/element-call/graphs/tree.svg?token=O6CFVKK6I1"></img>
|
||||
|
||||
@@ -46,13 +46,9 @@ test("Start a new call then leave and show the feedback screen", async ({
|
||||
"John Doe, your call has ended. How did it go?",
|
||||
);
|
||||
await expect(page.getByRole("main")).toContainText(
|
||||
"We'd love to hear your feedback so we can improve your experience.",
|
||||
"Why not finish by setting up a password to keep your account?",
|
||||
);
|
||||
|
||||
// Strange that the submit button test-id is home_go
|
||||
await expect(page.getByTestId("home_go")).toBeVisible();
|
||||
await expect(page.getByTestId("home_go")).toContainText("Submit");
|
||||
|
||||
await expect(
|
||||
page.getByRole("link", { name: "Not now, return to home screen" }),
|
||||
).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user