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

epic: integration tests (v5+) #2127

Merged
merged 34 commits into from
Feb 16, 2024
Merged

epic: integration tests (v5+) #2127

merged 34 commits into from
Feb 16, 2024

Conversation

ala-n
Copy link
Collaborator

@ala-n ala-n commented Dec 19, 2023

This is just an early draft of setting up visual screenshot testing.

In the scope of that epic created inner submodule with:

  • jest-puppeteer environment
  • jest-image-snapshot image matching tool (TODO: to consider faster alternatives if required)
  • An environment uses TypeScript and global test linting rules
  • The puppeteer environment bootstrapped to launch tests in headless (new version) of Chrome with the local server auto start on port 3005 (TODO: to change in case of conflicts)
  • Added Gherkin spec declaration support

There is a sample test created to check the homepage screen of the upper area on SM screen breakpoint
TODO: create more relevant test samples

@ala-n ala-n self-assigned this Dec 19, 2023
e2e/setup/scenarios.env.ts Show resolved Hide resolved
e2e/setup/scenarios.env.ts Show resolved Hide resolved
@ala-n ala-n added the needs review The PR is waiting for review label Feb 6, 2024
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 10263 lines exceeds the maximum allowed for the inline comments feature.

@ala-n ala-n changed the base branch from main to main-beta February 8, 2024 12:50
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 10301 lines exceeds the maximum allowed for the inline comments feature.

@ala-n ala-n requested review from abarmina, a team, julia-murashko and NastaLeo and removed request for a team February 8, 2024 12:56
@ala-n ala-n force-pushed the epic/integration-tests branch 2 times, most recently from 9301e55 to ed2ecf3 Compare February 12, 2024 19:05
e2e/reporters/printers.js Outdated Show resolved Hide resolved
e2e/reporters/reporter.js Outdated Show resolved Hide resolved
e2e/setup/scenarios.screenshot.ts Outdated Show resolved Hide resolved
@ala-n ala-n changed the base branch from main-beta to main February 15, 2024 15:59
ala-n and others added 2 commits February 15, 2024 17:19
Co-authored-by: NastaLeo <alesun@exadel.com>
Co-authored-by: Dmitry Shovchko <dshovchko@exadel.com>
docs(e2e): root `e2e` submodule README created with the module instructions
.github/workflows/e2e.yml Outdated Show resolved Hide resolved
.github/workflows/e2e.yml Outdated Show resolved Hide resolved
.github/workflows/e2e.yml Outdated Show resolved Hide resolved
e2e/jest.config.js Outdated Show resolved Hide resolved
e2e/reporters/printers.js Show resolved Hide resolved
e2e/reporters/reporter.js Outdated Show resolved Hide resolved
e2e/README.md Outdated Show resolved Hide resolved
e2e/README.md Outdated Show resolved Hide resolved
e2e/README.md Outdated Show resolved Hide resolved
Co-authored-by: Dmytro Shovchko <d.shovchko@gmail.com>
Co-authored-by: fshovchko <60318924+fshovchko@users.noreply.github.com>
Copy link

codeclimate bot commented Feb 16, 2024

Code Climate has analyzed commit e0111cb and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 64.6% (0.0% change).

View more on Code Climate.

@ala-n ala-n merged commit c186fa9 into main Feb 16, 2024
12 of 13 checks passed
@ala-n ala-n deleted the epic/integration-tests branch February 16, 2024 11:49
@github-actions github-actions bot locked and limited conversation to collaborators Feb 16, 2024
@ala-n
Copy link
Collaborator Author

ala-n commented Mar 1, 2024

🎉 This PR is included in version 5.0.0-beta.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ala-n
Copy link
Collaborator Author

ala-n commented Apr 5, 2024

🎉 This PR is included in version 4.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ala-n ala-n added the released label Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants