Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gha): add playwright tests & GHA workflow #36

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Conversation

arikkfir
Copy link
Owner

@arikkfir arikkfir commented Sep 1, 2023

No description provided.

@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 17:39 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 20:26 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 20:26 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 20:30 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 20:30 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 20:59 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 21:00 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 21:11 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 1, 2023 21:11 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 2, 2023 09:32 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 2, 2023 09:32 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 2, 2023 09:59 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 2, 2023 09:59 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 3, 2023 15:28 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 3, 2023 15:29 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 3, 2023 15:32 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 3, 2023 15:37 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 3, 2023 15:37 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 4, 2023 12:05 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 4, 2023 12:24 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 4, 2023 12:24 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 15:17 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 15:17 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 18:34 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 18:35 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 18:39 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 18:40 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 18:48 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 18:48 — with GitHub Actions Inactive
@arikkfir arikkfir temporarily deployed to add-e2e-testing September 5, 2023 21:11 — with GitHub Actions Inactive
@arikkfir arikkfir deployed to add-e2e-testing September 5, 2023 21:12 — with GitHub Actions Active
@github-actions
Copy link

github-actions bot commented Sep 8, 2023

End to end tests succeeded (click here for a full report)
Application URL: https://acme.add-e2e-testing.greenstar.kfirs.com


Total Tests in Suite: 1,
Total Tests Completed: 1,
Tests Passed: 1,
Tests Failed: 0,
Flaky Tests: 0,
Test Skipped: 0,
Test run was failure free? true,
Duration of CPU usage in ms: 2378,
Duration of entire test run in ms: 3263,
Average Test Duration in ms: 2378,
Test Suite Duration: 00:04 (mm:ss),
Average Test Duration: 00:03 (mm:ss),
Number of workers used for test run: 1

This change introduces end-to-end (e2e) testing to the project CI. The
following changes and additions were made:

1. Added the "e2e" module that contains a Playwright harness
2. Added example tests (real tests to follow in separate PRs)
3. PR deployment workflow runs the tests, and reports in PR comment
4. Report comment provides link to test results with trace information
@arikkfir arikkfir merged commit e4726be into main Sep 8, 2023
10 checks passed
@arikkfir arikkfir deleted the add-e2e-testing branch September 8, 2023 22:36
@arikkfir
Copy link
Owner Author

arikkfir commented Sep 10, 2023

Fixed #23

@arikkfir arikkfir linked an issue Sep 10, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Require successful end-to-end (e2e) tests as a requirement for PR merge
1 participant